···187 </listitem>
188 <listitem>
189 <para>
000000000000000000000000190 <package>btc1</package> has been abandoned upstream, and removed.
191 </para>
192 </listitem>
···533 <para>
534 The GNOME desktop manager once again installs <package>gnome3.epiphany</package> by default.
535 </para>
000000536 </listitem>
537 </itemizedlist>
538 </section>
···187 </listitem>
188 <listitem>
189 <para>
190+ The uWSGI server is now built with POSIX capabilities. As a consequence,
191+ root is no longer required in emperor mode and the service defaults to
192+ running as the unprivileged <literal>uwsgi</literal> user. Any additional
193+ capability can be added via the new option
194+ <xref linkend="opt-services.uwsgi.capabilities"/>.
195+ The previous behaviour can be restored by setting:
196+<programlisting>
197+ <xref linkend="opt-services.uwsgi.user"/> = "root";
198+ <xref linkend="opt-services.uwsgi.group"/> = "root";
199+ <xref linkend="opt-services.uwsgi.instance"/> =
200+ {
201+ uid = "uwsgi";
202+ gid = "uwsgi";
203+ };
204+</programlisting>
205+ </para>
206+ <para>
207+ Another incompatibility from the previous release is that vassals running under a
208+ different user or group need to use <literal>immediate-{uid,gid}</literal>
209+ instead of the usual <literal>uid,gid</literal> options.
210+ </para>
211+ </listitem>
212+ <listitem>
213+ <para>
214 <package>btc1</package> has been abandoned upstream, and removed.
215 </para>
216 </listitem>
···557 <para>
558 The GNOME desktop manager once again installs <package>gnome3.epiphany</package> by default.
559 </para>
560+ </listitem>
561+ <listitem>
562+ <para>
563+ NixOS now generates empty <literal>/etc/netgroup</literal>.
564+ <literal>/etc/netgroup</literal> defines network-wide groups and may affect to setups using NIS.
565+ </para>
566 </listitem>
567 </itemizedlist>
568 </section>
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "3proxy";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ misuzu ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "3proxy";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ misuzu ];
5 };
6
+1-1
nixos/tests/agda.nix
···9in
10{
11 name = "agda";
12- meta = with pkgs.stdenv.lib.maintainers; {
13 maintainers = [ alexarice turion ];
14 };
15
···9in
10{
11 name = "agda";
12+ meta = with pkgs.lib.maintainers; {
13 maintainers = [ alexarice turion ];
14 };
15
+1-1
nixos/tests/ammonite.nix
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "ammonite";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ nequissimus ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "ammonite";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ nequissimus ];
5 };
6
+1-1
nixos/tests/atd.nix
···23{
4 name = "atd";
5- meta = with pkgs.stdenv.lib.maintainers; {
6 maintainers = [ bjornfor ];
7 };
8
···23{
4 name = "atd";
5+ meta = with pkgs.lib.maintainers; {
6 maintainers = [ bjornfor ];
7 };
8
+1-1
nixos/tests/avahi.nix
···8# Test whether `avahi-daemon' and `libnss-mdns' work as expected.
9import ./make-test-python.nix {
10 name = "avahi";
11- meta = with pkgs.stdenv.lib.maintainers; {
12 maintainers = [ eelco ];
13 };
14
···8# Test whether `avahi-daemon' and `libnss-mdns' work as expected.
9import ./make-test-python.nix {
10 name = "avahi";
11+ meta = with pkgs.lib.maintainers; {
12 maintainers = [ eelco ];
13 };
14
+1-1
nixos/tests/awscli.nix
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "awscli";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ nequissimus ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "awscli";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ nequissimus ];
5 };
6
+1-1
nixos/tests/babeld.nix
···12import ./make-test-python.nix ({ pkgs, lib, ...} : {
3 name = "babeld";
4- meta = with pkgs.stdenv.lib.maintainers; {
5 maintainers = [ hexa ];
6 };
7
···12import ./make-test-python.nix ({ pkgs, lib, ...} : {
3 name = "babeld";
4+ meta = with pkgs.lib.maintainers; {
5 maintainers = [ hexa ];
6 };
7
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "emacs-daemon";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "emacs-daemon";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ ];
5 };
6
+1-1
nixos/tests/engelsystem.nix
···2 { pkgs, lib, ... }:
3 {
4 name = "engelsystem";
5- meta = with pkgs.stdenv.lib.maintainers; {
6 maintainers = [ talyz ];
7 };
8
···2 { pkgs, lib, ... }:
3 {
4 name = "engelsystem";
5+ meta = with pkgs.lib.maintainers; {
6 maintainers = [ talyz ];
7 };
8
+1-1
nixos/tests/enlightenment.nix
···2{
3 name = "enlightenment";
45- meta = with pkgs.stdenv.lib.maintainers; {
6 maintainers = [ romildo ];
7 };
8
···2{
3 name = "enlightenment";
45+ meta = with pkgs.lib.maintainers; {
6 maintainers = [ romildo ];
7 };
8
+1-1
nixos/tests/env.nix
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "environment";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ nequissimus ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "environment";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ nequissimus ];
5 };
6
+1-1
nixos/tests/ergo.nix
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "ergo";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ mmahut ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "ergo";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ mmahut ];
5 };
6
+1-1
nixos/tests/etcd-cluster.nix
···97in {
98 name = "etcd";
99100- meta = with pkgs.stdenv.lib.maintainers; {
101 maintainers = [ offline ];
102 };
103
···97in {
98 name = "etcd";
99100+ meta = with pkgs.lib.maintainers; {
101 maintainers = [ offline ];
102 };
103
+1-1
nixos/tests/etcd.nix
···3import ./make-test-python.nix ({ pkgs, ... } : {
4 name = "etcd";
56- meta = with pkgs.stdenv.lib.maintainers; {
7 maintainers = [ offline ];
8 };
9
···3import ./make-test-python.nix ({ pkgs, ... } : {
4 name = "etcd";
56+ meta = with pkgs.lib.maintainers; {
7 maintainers = [ offline ];
8 };
9
+1-1
nixos/tests/etesync-dav.nix
···1import ./make-test-python.nix ({ pkgs, ... }: {
23 name = "etesync-dav";
4- meta = with pkgs.stdenv.lib.maintainers; {
5 maintainers = [ _3699n ];
6 };
7
···1import ./make-test-python.nix ({ pkgs, ... }: {
23 name = "etesync-dav";
4+ meta = with pkgs.lib.maintainers; {
5 maintainers = [ _3699n ];
6 };
7
+1-1
nixos/tests/fenics.nix
···29{
30 name = "fenics";
31 meta = {
32- maintainers = with pkgs.stdenv.lib.maintainers; [ knedlsepp ];
33 };
3435 nodes = {
···29{
30 name = "fenics";
31 meta = {
32+ maintainers = with pkgs.lib.maintainers; [ knedlsepp ];
33 };
3435 nodes = {
+1-1
nixos/tests/ferm.nix
···12import ./make-test-python.nix ({ pkgs, ...} : {
3 name = "ferm";
4- meta = with pkgs.stdenv.lib.maintainers; {
5 maintainers = [ mic92 ];
6 };
7
···12import ./make-test-python.nix ({ pkgs, ...} : {
3 name = "ferm";
4+ meta = with pkgs.lib.maintainers; {
5 maintainers = [ mic92 ];
6 };
7
+1-1
nixos/tests/firefox.nix
···1import ./make-test-python.nix ({ pkgs, esr ? false, ... }: {
2 name = "firefox";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ eelco shlevy ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, esr ? false, ... }: {
2 name = "firefox";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ eelco shlevy ];
5 };
6
+1-1
nixos/tests/firejail.nix
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "firejail";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ sgo ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "firejail";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ sgo ];
5 };
6
+1-1
nixos/tests/firewall.nix
···23import ./make-test-python.nix ( { pkgs, ... } : {
4 name = "firewall";
5- meta = with pkgs.stdenv.lib.maintainers; {
6 maintainers = [ eelco ];
7 };
8
···23import ./make-test-python.nix ( { pkgs, ... } : {
4 name = "firewall";
5+ meta = with pkgs.lib.maintainers; {
6 maintainers = [ eelco ];
7 };
8
+1-1
nixos/tests/freeswitch.nix
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "freeswitch";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ misuzu ];
5 };
6 nodes = {
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "freeswitch";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ misuzu ];
5 };
6 nodes = {
+1-1
nixos/tests/gerrit.nix
···9in {
10 name = "gerrit";
1112- meta = with pkgs.stdenv.lib.maintainers; {
13 maintainers = [ flokli zimbatm ];
14 };
15
···9in {
10 name = "gerrit";
1112+ meta = with pkgs.lib.maintainers; {
13 maintainers = [ flokli zimbatm ];
14 };
15
+1-1
nixos/tests/git/hub.nix
···1import ../make-test-python.nix ({ pkgs, ...} : {
2 name = "hub";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ nequissimus ];
5 };
6
···1import ../make-test-python.nix ({ pkgs, ...} : {
2 name = "hub";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ nequissimus ];
5 };
6
+1-1
nixos/tests/gitdaemon.nix
···7in {
8 name = "gitdaemon";
910- meta = with pkgs.stdenv.lib.maintainers; {
11 maintainers = [ tilpner ];
12 };
13
···7in {
8 name = "gitdaemon";
910+ meta = with pkgs.lib.maintainers; {
11 maintainers = [ tilpner ];
12 };
13
+1-1
nixos/tests/gitlab.nix
···5in
6import ./make-test-python.nix ({ pkgs, lib, ...} : with lib; {
7 name = "gitlab";
8- meta = with pkgs.stdenv.lib.maintainers; {
9 maintainers = [ globin ];
10 };
11
···5in
6import ./make-test-python.nix ({ pkgs, lib, ...} : with lib; {
7 name = "gitlab";
8+ meta = with pkgs.lib.maintainers; {
9 maintainers = [ globin ];
10 };
11
+1-1
nixos/tests/gitolite-fcgiwrap.nix
···13 {
14 name = "gitolite-fcgiwrap";
1516- meta = with pkgs.stdenv.lib.maintainers; {
17 maintainers = [ bbigras ];
18 };
19
···13 {
14 name = "gitolite-fcgiwrap";
1516+ meta = with pkgs.lib.maintainers; {
17 maintainers = [ bbigras ];
18 };
19
+1-1
nixos/tests/gitolite.nix
···51{
52 name = "gitolite";
5354- meta = with pkgs.stdenv.lib.maintainers; {
55 maintainers = [ bjornfor ];
56 };
57
···51{
52 name = "gitolite";
5354+ meta = with pkgs.lib.maintainers; {
55 maintainers = [ bjornfor ];
56 };
57
+1-1
nixos/tests/go-neb.nix
···1import ./make-test-python.nix ({ pkgs, ... }:
2{
3 name = "go-neb";
4- meta = with pkgs.stdenv.lib.maintainers; {
5 maintainers = [ hexa maralorn ];
6 };
7
···1import ./make-test-python.nix ({ pkgs, ... }:
2{
3 name = "go-neb";
4+ meta = with pkgs.lib.maintainers; {
5 maintainers = [ hexa maralorn ];
6 };
7
+1-1
nixos/tests/gocd-agent.nix
···1112import ./make-test-python.nix ({ pkgs, ...} : {
13 name = "gocd-agent";
14- meta = with pkgs.stdenv.lib.maintainers; {
15 maintainers = [ grahamc swarren83 ];
1617 # gocd agent needs to register with the autoregister key created on first server startup,
···1112import ./make-test-python.nix ({ pkgs, ...} : {
13 name = "gocd-agent";
14+ meta = with pkgs.lib.maintainers; {
15 maintainers = [ grahamc swarren83 ];
1617 # gocd agent needs to register with the autoregister key created on first server startup,
+1-1
nixos/tests/gocd-server.nix
···67{
8 name = "gocd-server";
9- meta = with pkgs.stdenv.lib.maintainers; {
10 maintainers = [ swarren83 ];
11 };
12
···67{
8 name = "gocd-server";
9+ meta = with pkgs.lib.maintainers; {
10 maintainers = [ swarren83 ];
11 };
12
+1-1
nixos/tests/google-oslogin/default.nix
···11 '';
12in {
13 name = "google-oslogin";
14- meta = with pkgs.stdenv.lib.maintainers; {
15 maintainers = [ adisbladis flokli ];
16 };
17
···11 '';
12in {
13 name = "google-oslogin";
14+ meta = with pkgs.lib.maintainers; {
15 maintainers = [ adisbladis flokli ];
16 };
17
+1-1
nixos/tests/gotify-server.nix
···1import ./make-test-python.nix ({ pkgs, lib, ...} : {
2 name = "gotify-server";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ ma27 ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, lib, ...} : {
2 name = "gotify-server";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ ma27 ];
5 };
6
+1-1
nixos/tests/grocy.nix
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "grocy";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ ma27 ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "grocy";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ ma27 ];
5 };
6
+1-1
nixos/tests/gvisor.nix
···23import ./make-test-python.nix ({ pkgs, ...} : {
4 name = "gvisor";
5- meta = with pkgs.stdenv.lib.maintainers; {
6 maintainers = [ andrew-d ];
7 };
8
···23import ./make-test-python.nix ({ pkgs, ...} : {
4 name = "gvisor";
5+ meta = with pkgs.lib.maintainers; {
6 maintainers = [ andrew-d ];
7 };
8
+1-1
nixos/tests/haka.nix
···23import ./make-test-python.nix ({ pkgs, ...} : {
4 name = "haka";
5- meta = with pkgs.stdenv.lib.maintainers; {
6 maintainers = [ tvestelind ];
7 };
8
···23import ./make-test-python.nix ({ pkgs, ...} : {
4 name = "haka";
5+ meta = with pkgs.lib.maintainers; {
6 maintainers = [ tvestelind ];
7 };
8
+1-1
nixos/tests/handbrake.nix
···9 name = "handbrake";
1011 meta = {
12- maintainers = with pkgs.stdenv.lib.maintainers; [ danieldk ];
13 };
1415 machine = { pkgs, ... }: {
···9 name = "handbrake";
1011 meta = {
12+ maintainers = with pkgs.lib.maintainers; [ danieldk ];
13 };
1415 machine = { pkgs, ... }: {
+1-1
nixos/tests/hardened.nix
···1import ./make-test-python.nix ({ pkgs, latestKernel ? false, ... } : {
2 name = "hardened";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ joachifm ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, latestKernel ? false, ... } : {
2 name = "hardened";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ joachifm ];
5 };
6
···270 makeTest {
271 inherit enableOCR;
272 name = "installer-" + name;
273- meta = with pkgs.stdenv.lib.maintainers; {
274 # put global maintainers here, individuals go into makeInstallerTest fkt call
275 maintainers = (meta.maintainers or []);
276 };
···270 makeTest {
271 inherit enableOCR;
272 name = "installer-" + name;
273+ meta = with pkgs.lib.maintainers; {
274 # put global maintainers here, individuals go into makeInstallerTest fkt call
275 maintainers = (meta.maintainers or []);
276 };
+1-1
nixos/tests/ipfs.nix
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "ipfs";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ mguentner ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "ipfs";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ mguentner ];
5 };
6
+1-1
nixos/tests/ipv6.nix
···34import ./make-test-python.nix ({ pkgs, lib, ...} : {
5 name = "ipv6";
6- meta = with pkgs.stdenv.lib.maintainers; {
7 maintainers = [ eelco ];
8 };
9
···34import ./make-test-python.nix ({ pkgs, lib, ...} : {
5 name = "ipv6";
6+ meta = with pkgs.lib.maintainers; {
7 maintainers = [ eelco ];
8 };
9
+1-1
nixos/tests/jenkins.nix
···56import ./make-test-python.nix ({ pkgs, ...} : {
7 name = "jenkins";
8- meta = with pkgs.stdenv.lib.maintainers; {
9 maintainers = [ bjornfor coconnor domenkozar eelco ];
10 };
11
···56import ./make-test-python.nix ({ pkgs, ...} : {
7 name = "jenkins";
8+ meta = with pkgs.lib.maintainers; {
9 maintainers = [ bjornfor coconnor domenkozar eelco ];
10 };
11
+1-1
nixos/tests/jitsi-meet.nix
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "jitsi-meet";
3- meta = with pkgs.stdenv.lib; {
4 maintainers = teams.jitsi.members;
5 };
6
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "jitsi-meet";
3+ meta = with pkgs.lib; {
4 maintainers = teams.jitsi.members;
5 };
6
···3 adminuser = "custom-admin-username";
4in {
5 name = "nextcloud-with-postgresql-and-redis";
6- meta = with pkgs.stdenv.lib.maintainers; {
7 maintainers = [ eqyiel ];
8 };
9
···3 adminuser = "custom-admin-username";
4in {
5 name = "nextcloud-with-postgresql-and-redis";
6+ meta = with pkgs.lib.maintainers; {
7 maintainers = [ eqyiel ];
8 };
9
+1-1
nixos/tests/nexus.nix
···56import ./make-test-python.nix ({ pkgs, ...} : {
7 name = "nexus";
8- meta = with pkgs.stdenv.lib.maintainers; {
9 maintainers = [ ironpinguin ma27 ];
10 };
11
···56import ./make-test-python.nix ({ pkgs, ...} : {
7 name = "nexus";
8+ meta = with pkgs.lib.maintainers; {
9 maintainers = [ ironpinguin ma27 ];
10 };
11
+1-1
nixos/tests/nfs/simple.nix
···1920{
21 name = "nfs";
22- meta = with pkgs.stdenv.lib.maintainers; {
23 maintainers = [ eelco ];
24 };
25
···1920{
21 name = "nfs";
22+ meta = with pkgs.lib.maintainers; {
23 maintainers = [ eelco ];
24 };
25
+1-1
nixos/tests/nginx-sandbox.nix
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "nginx-sandbox";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ izorkin ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "nginx-sandbox";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ izorkin ];
5 };
6
+1-1
nixos/tests/nginx-sso.nix
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "nginx-sso";
3 meta = {
4- maintainers = with pkgs.stdenv.lib.maintainers; [ delroth ];
5 };
67 machine = {
···1import ./make-test-python.nix ({ pkgs, ... }: {
2 name = "nginx-sso";
3 meta = {
4+ maintainers = with pkgs.lib.maintainers; [ delroth ];
5 };
67 machine = {
+1-1
nixos/tests/nginx.nix
···6# 3. nginx doesn't restart on configuration changes (only reloads)
7import ./make-test-python.nix ({ pkgs, ... }: {
8 name = "nginx";
9- meta = with pkgs.stdenv.lib.maintainers; {
10 maintainers = [ mbbx6spp danbst ];
11 };
12
···6# 3. nginx doesn't restart on configuration changes (only reloads)
7import ./make-test-python.nix ({ pkgs, ... }: {
8 name = "nginx";
9+ meta = with pkgs.lib.maintainers; {
10 maintainers = [ mbbx6spp danbst ];
11 };
12
+1-1
nixos/tests/novacomd.nix
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "novacomd";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ dtzWill ];
5 };
6
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "novacomd";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ dtzWill ];
5 };
6
+1-1
nixos/tests/nsd.nix
···7 };
8in import ./make-test-python.nix ({ pkgs, ...} : {
9 name = "nsd";
10- meta = with pkgs.stdenv.lib.maintainers; {
11 maintainers = [ aszlig ];
12 };
13
···7 };
8in import ./make-test-python.nix ({ pkgs, ...} : {
9 name = "nsd";
10+ meta = with pkgs.lib.maintainers; {
11 maintainers = [ aszlig ];
12 };
13
+2-2
nixos/tests/nzbget.nix
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "nzbget";
3- meta = with pkgs.stdenv.lib.maintainers; {
4 maintainers = [ aanderse flokli ];
5 };
6···1011 # hack, don't add (unfree) unrar to nzbget's path,
12 # so we can run this test in CI
13- systemd.services.nzbget.path = pkgs.stdenv.lib.mkForce [ pkgs.p7zip ];
14 };
15 };
16
···1import ./make-test-python.nix ({ pkgs, ...} : {
2 name = "nzbget";
3+ meta = with pkgs.lib.maintainers; {
4 maintainers = [ aanderse flokli ];
5 };
6···1011 # hack, don't add (unfree) unrar to nzbget's path,
12 # so we can run this test in CI
13+ systemd.services.nzbget.path = pkgs.lib.mkForce [ pkgs.p7zip ];
14 };
15 };
16
+1-1
nixos/tests/openarena.nix
···1112in {
13 name = "openarena";
14- meta = with pkgs.stdenv.lib.maintainers; {
15 maintainers = [ fpletz ];
16 };
17
···1112in {
13 name = "openarena";
14+ meta = with pkgs.lib.maintainers; {
15 maintainers = [ fpletz ];
16 };
17
+1-1
nixos/tests/openssh.nix
···4 snakeOilPrivateKey snakeOilPublicKey;
5in {
6 name = "openssh";
7- meta = with pkgs.stdenv.lib.maintainers; {
8 maintainers = [ aszlig eelco ];
9 };
10
···4 snakeOilPrivateKey snakeOilPublicKey;
5in {
6 name = "openssh";
7+ meta = with pkgs.lib.maintainers; {
8 maintainers = [ aszlig eelco ];
9 };
10
···1+import ./make-test-python.nix ({ pkgs, ... }:
2+let
3+ redisSocket = "/run/redis/redis.sock";
4+in
5+{
6 name = "redis";
7+ meta = with pkgs.lib.maintainers; {
8 maintainers = [ flokli ];
9 };
10···1415 {
16 services.redis.enable = true;
17+ services.redis.unixSocket = redisSocket;
18+19+ # Allow access to the unix socket for the "redis" group.
20+ services.redis.settings.unixsocketperm = "770";
21+22+ users.users."member" = {
23+ createHome = false;
24+ description = "A member of the redis group";
25+ extraGroups = [
26+ "redis"
27+ ];
28+ group = "users";
29+ shell = "/bin/sh";
30+ };
31 };
32 };
33···35 start_all()
36 machine.wait_for_unit("redis")
37 machine.wait_for_open_port("6379")
38+39+ # The unix socket is accessible to the redis group
40+ machine.succeed('su member -c "redis-cli ping | grep PONG"')
41+42 machine.succeed("redis-cli ping | grep PONG")
43+ machine.succeed("redis-cli -s ${redisSocket} ping | grep PONG")
44 '';
45})
+1-1
nixos/tests/resolv.nix
···1# Test whether DNS resolving returns multiple records and all address families.
2import ./make-test-python.nix ({ pkgs, ... } : {
3 name = "resolv";
4- meta = with pkgs.stdenv.lib.maintainers; {
5 maintainers = [ ckauhaus ];
6 };
7
···1# Test whether DNS resolving returns multiple records and all address families.
2import ./make-test-python.nix ({ pkgs, ... } : {
3 name = "resolv";
4+ meta = with pkgs.lib.maintainers; {
5 maintainers = [ ckauhaus ];
6 };
7
+1-1
nixos/tests/restic.nix
···19 {
20 name = "restic";
2122- meta = with pkgs.stdenv.lib.maintainers; {
23 maintainers = [ bbigras i077 ];
24 };
25
···19 {
20 name = "restic";
2122+ meta = with pkgs.lib.maintainers; {
23 maintainers = [ bbigras i077 ];
24 };
25
···28 ++ (with gnome2; [ gnome_python gnome_python_desktop ])
29 ++ [ keybinder ];
3000031 meta = with stdenv.lib; {
32 homepage = "https://launchpad.net/dockbar/";
33 description = "Lightweight taskbar / panel replacement for Linux which works as a stand-alone dock";
···28 ++ (with gnome2; [ gnome_python gnome_python_desktop ])
29 ++ [ keybinder ];
3031+ # no tests
32+ doCheck = false;
33+34 meta = with stdenv.lib; {
35 homepage = "https://launchpad.net/dockbar/";
36 description = "Lightweight taskbar / panel replacement for Linux which works as a stand-alone dock";
+4-1
pkgs/applications/misc/raiseorlaunch/default.nix
···10 };
1112 nativeBuildInputs = [ python3Packages.setuptools_scm ];
13- checkInputs = [ python3Packages.pytest ];
14 pythonPath = with python3Packages; [ i3ipc ];
00001516 meta = with lib; {
17 maintainers = with maintainers; [ winpat ];
···10 };
1112 nativeBuildInputs = [ python3Packages.setuptools_scm ];
013 pythonPath = with python3Packages; [ i3ipc ];
14+15+ # no tests
16+ doCheck = false;
17+ pythonImportsCheck = [ "raiseorlaunch" ];
1819 meta = with lib; {
20 maintainers = with maintainers; [ winpat ];
···1112 propagatedBuildInputs = with python3Packages; [ screeninfo paramiko pynput libevdev ];
13000014 meta = with stdenv.lib; {
15 description = "A program to use a reMarkable as a graphics tablet";
16 homepage = "https://github.com/evidlo/remarkable_mouse";
···1112 propagatedBuildInputs = with python3Packages; [ screeninfo paramiko pynput libevdev ];
1314+ # no tests
15+ doCheck = false;
16+ pythonImportsCheck = [ "remarkable_mouse" ];
17+18 meta = with stdenv.lib; {
19 description = "A program to use a reMarkable as a graphics tablet";
20 homepage = "https://github.com/evidlo/remarkable_mouse";
···1617 installTargets = "ott.install";
1819- postInstall = "opaline -prefix $out";
0000002021 meta = {
22 description = "A tool for the working semanticist";
···1617 installTargets = "ott.install";
1819+ postInstall = ''
20+ opaline -prefix $out
21+ ''
22+ # There is `emacsPackages.ott-mode` for this now.
23+ + ''
24+ rm -r $out/share/emacs
25+ '';
2627 meta = {
28 description = "A tool for the working semanticist";
···1112 pythonPath = with python3Packages; [ enum-compat i3ipc docopt ];
13000014 meta = with lib; {
15 maintainers = with maintainers; [ magnetophon ];
16 description = "Helps you handle more efficiently your screen real estate in i3wm by auto-splitting windows on their longest side";
···1112 pythonPath = with python3Packages; [ enum-compat i3ipc docopt ];
1314+ doCheck = false;
15+16+ pythonImportsCheck = [ "i3altlayout" ];
17+18 meta = with lib; {
19 maintainers = with maintainers; [ magnetophon ];
20 description = "Helps you handle more efficiently your screen real estate in i3wm by auto-splitting windows on their longest side";
+1-1
pkgs/desktops/pantheon/default.nix
···23 wingpanel-indicator-session wingpanel-indicator-sound
24 ];
2526- maintainers = with pkgs.stdenv.lib.maintainers; [ worldofpeace ];
2728 mutter = pkgs.gnome3.mutter334;
29
···23 wingpanel-indicator-session wingpanel-indicator-sound
24 ];
2526+ maintainers = with pkgs.lib.maintainers; [ worldofpeace ];
2728 mutter = pkgs.gnome3.mutter334;
29
-1
pkgs/development/compilers/go/1.14.nix
···247 disallowedReferences = [ goBootstrap ];
248249 meta = with stdenv.lib; {
250- branch = "1.14";
251 homepage = "http://golang.org/";
252 description = "The Go Programming language";
253 license = licenses.bsd3;
···247 disallowedReferences = [ goBootstrap ];
248249 meta = with stdenv.lib; {
0250 homepage = "http://golang.org/";
251 description = "The Go Programming language";
252 license = licenses.bsd3;
-1
pkgs/development/compilers/go/1.15.nix
···250 disallowedReferences = [ goBootstrap ];
251252 meta = with stdenv.lib; {
253- branch = "1.15";
254 homepage = "http://golang.org/";
255 description = "The Go Programming language";
256 license = licenses.bsd3;
···250 disallowedReferences = [ goBootstrap ];
251252 meta = with stdenv.lib; {
0253 homepage = "http://golang.org/";
254 description = "The Go Programming language";
255 license = licenses.bsd3;
-1
pkgs/development/compilers/go/1.4.nix
···84 '';
8586 meta = with stdenv.lib; {
87- branch = "1.4";
88 homepage = "http://golang.org/";
89 description = "The Go Programming language";
90 license = licenses.bsd3;
···84 '';
8586 meta = with stdenv.lib; {
087 homepage = "http://golang.org/";
88 description = "The Go Programming language";
89 license = licenses.bsd3;
-1
pkgs/development/compilers/go/2-dev.nix
···252 disallowedReferences = [ goBootstrap ];
253254 meta = with stdenv.lib; {
255- branch = "dev.go2go";
256 homepage = "http://golang.org/";
257 description = "The Go Programming language";
258 license = licenses.bsd3;
···252 disallowedReferences = [ goBootstrap ];
253254 meta = with stdenv.lib; {
0255 homepage = "http://golang.org/";
256 description = "The Go Programming language";
257 license = licenses.bsd3;
+1-6
pkgs/development/go-modules/generic/default.nix
···27# We want parallel builds by default
28, enableParallelBuilding ? true
2930-# Disabled flag
31-, disabled ? false
32-33# Do not enable this without good reason
34# IE: programs coupled with the compiler
35, allowGoReference ? false
···243 [ lib.maintainers.kalbasit ];
244 };
245 });
246-in if disabled then
247- throw "${package.name} not supported for go ${go.meta.branch}"
248-else if (goPackagePath != null) then
249 throw "`goPackagePath` not needed with `buildGoModule`"
250else
251 package
···27# We want parallel builds by default
28, enableParallelBuilding ? true
2900030# Do not enable this without good reason
31# IE: programs coupled with the compiler
32, allowGoReference ? false
···240 [ lib.maintainers.kalbasit ];
241 };
242 });
243+in if (goPackagePath != null) then
00244 throw "`goPackagePath` not needed with `buildGoModule`"
245else
246 package
+1-6
pkgs/development/go-packages/generic/default.nix
···10# We want parallel builds by default
11, enableParallelBuilding ? true
1213-# Disabled flag
14-, disabled ? false
15-16# Go import path of the package
17, goPackagePath
18···249 platforms = go.meta.platforms or lib.platforms.all;
250 } // meta;
251 });
252-in if disabled then
253- throw "${package.name} not supported for go ${go.meta.branch}"
254-else
255 package
···10# We want parallel builds by default
11, enableParallelBuilding ? true
1200013# Go import path of the package
14, goPackagePath
15···246 platforms = go.meta.platforms or lib.platforms.all;
247 } // meta;
248 });
249+in
00250 package
···1+{ stdenv
2+, fetchFromGitHub
3+, cmake
4+}:
5+6+stdenv.mkDerivation rec {
7+ pname = "argtable";
8+ version = "3.1.5";
9+ srcVersion = "v${version}.1c1bb23";
10+11+ src = fetchFromGitHub {
12+ owner = "argtable";
13+ repo = "argtable3";
14+ rev = srcVersion;
15+ sha256 = "sha256-sL6mnxsuL1K0DY26jLF/2Czo0RxHYJ3xU3VyavISiMM=";
16+ };
17+18+ nativeBuildInputs = [ cmake ];
19+20+ postPatch = ''
21+ patchShebangs tools/build
22+ '';
23+24+ meta = with stdenv.lib; {
25+ homepage = "https://argtable.org";
26+ description = "A single-file, ANSI C command-line parsing library";
27+ longDescription = ''
28+ Argtable is an open source ANSI C library that parses GNU-style
29+ command-line options. It simplifies command-line parsing by defining a
30+ declarative-style API that you can use to specify what your command-line
31+ syntax looks like. Argtable will automatically generate consistent error
32+ handling logic and textual descriptions of the command line syntax, which
33+ are essential but tedious to implement for a robust CLI program.
34+ '';
35+ license = with licenses; bsd3;
36+ maintainers = with maintainers; [ AndersonTorres artuuge ];
37+ platforms = with platforms; all;
38+ };
39+}
40+# TODO [ AndersonTorres ]: a NixOS test suite
···128 # UTF-8 locale needed for testing
129 LC_ALL = "en_US.UTF-8";
130000131 # - Anki writes some files to $HOME during tests
132 # - Skip tests using network
133 checkPhase = ''
···128 # UTF-8 locale needed for testing
129 LC_ALL = "en_US.UTF-8";
130131+ # tests fail with to many open files
132+ doCheck = !stdenv.isDarwin;
133+134 # - Anki writes some files to $HOME during tests
135 # - Skip tests using network
136 checkPhase = ''
···1{ stdenv, fetchFromGitHub, python3Packages }:
23python3Packages.buildPythonApplication rec {
4- name = "urlwatch-${version}";
5 version = "2.21";
67 src = fetchFromGitHub {
···22 requests
23 pyppeteer
24 ];
0002526 meta = with stdenv.lib; {
27 description = "A tool for monitoring webpages for updates";
···1{ stdenv, fetchFromGitHub, python3Packages }:
23python3Packages.buildPythonApplication rec {
4+ pname = "urlwatch";
5 version = "2.21";
67 src = fetchFromGitHub {
···22 requests
23 pyppeteer
24 ];
25+26+ # no tests
27+ doCheck = false;
2829 meta = with stdenv.lib; {
30 description = "A tool for monitoring webpages for updates";
+32
pkgs/tools/security/badchars/default.nix
···00000000000000000000000000000000
···1+{ lib
2+, buildPythonApplication
3+, fetchPypi
4+}:
5+6+buildPythonApplication rec {
7+ pname = "badchars";
8+ version = "0.4.0";
9+10+ src = fetchPypi {
11+ inherit pname version;
12+ sha256 = "1xqki8qnfwl97d60xj69alyzwa1mnfbwki25j0vhvhb05varaxz2";
13+ };
14+15+ postPatch = ''
16+ substituteInPlace setup.py --replace "argparse" ""
17+ '';
18+19+ # no tests are available and it can't be imported (it's only a script, not a module)
20+ doCheck = false;
21+22+ meta = with lib; {
23+ description = "HEX badchar generator for different programming languages";
24+ longDescription = ''
25+ A HEX bad char generator to instruct encoders such as shikata-ga-nai to
26+ transform those to other chars.
27+ '';
28+ homepage = "https://github.com/cytopia/badchars";
29+ license = with licenses; [ mit ];
30+ maintainers = with maintainers; [ fab ];
31+ };
32+}