4 # Projects the test configuration into a the desired value; usually
5 # the test runner: `config: config.test`.
9 # The return value of this function will be an attrset with arbitrary depth and
10 # the `anything` returned by callTest at its test leafs.
11 # The tests not supported by `system` will be replaced with `{}`, so that
12 # `passthru.tests` can contain links to those without breaking on architectures
13 # where said tests are unsupported.
14 # Example callTest that just extracts the derivation from the test:
15 # callTest = t: t.test;
23 if hasAttr "test" val then callTest val
24 else mapAttrs (n: s: discoverTests s) val
25 else if isFunction val
27 # Tests based on make-test-python.nix will return the second lambda
28 # in that file, which are then forwarded to the test definition
29 # following the `import make-test-python.nix` expression
30 # (if it is a function).
31 discoverTests (val { inherit system pkgs; })
33 handleTest = path: args:
34 discoverTests (import path ({ inherit system pkgs; } // args));
35 handleTestOn = systems: path: args:
36 if elem system systems then handleTest path args
39 nixosLib = import ../lib {
40 # Experimental features need testing too, but there's no point in warning
41 # about it, so we enable the feature flag.
42 featureFlags.minimalModules = {};
44 evalMinimalConfig = module: nixosLib.evalModules { modules = [ module ]; };
48 doRunTest = arg: ((import ../lib/testing-python.nix { inherit system pkgs; }).evalTest {
52 if tree?recurseForDerivations && tree.recurseForDerivations
56 (builtins.removeAttrs tree ["recurseForDerivations"])
59 runTest = arg: let r = doRunTest arg; in findTests r;
60 runTestOn = systems: arg:
61 if elem system systems then runTest arg
69 _3proxy = runTest ./3proxy.nix;
70 acme = runTest ./acme.nix;
71 adguardhome = runTest ./adguardhome.nix;
72 aesmd = runTest ./aesmd.nix;
73 agate = runTest ./web-servers/agate.nix;
74 agda = handleTest ./agda.nix {};
75 airsonic = handleTest ./airsonic.nix {};
76 allTerminfo = handleTest ./all-terminfo.nix {};
77 amazon-init-shell = handleTest ./amazon-init-shell.nix {};
78 apfs = handleTest ./apfs.nix {};
79 apparmor = handleTest ./apparmor.nix {};
80 atd = handleTest ./atd.nix {};
81 atop = handleTest ./atop.nix {};
82 auth-mysql = handleTest ./auth-mysql.nix {};
83 avahi = handleTest ./avahi.nix {};
84 avahi-with-resolved = handleTest ./avahi.nix { networkd = true; };
85 babeld = handleTest ./babeld.nix {};
86 bazarr = handleTest ./bazarr.nix {};
87 bcachefs = handleTestOn ["x86_64-linux" "aarch64-linux"] ./bcachefs.nix {};
88 beanstalkd = handleTest ./beanstalkd.nix {};
89 bees = handleTest ./bees.nix {};
90 bind = handleTest ./bind.nix {};
91 bird = handleTest ./bird.nix {};
92 bitcoind = handleTest ./bitcoind.nix {};
93 bittorrent = handleTest ./bittorrent.nix {};
94 blockbook-frontend = handleTest ./blockbook-frontend.nix {};
95 blocky = handleTest ./blocky.nix {};
96 boot = handleTestOn ["x86_64-linux" "aarch64-linux"] ./boot.nix {};
97 boot-stage1 = handleTest ./boot-stage1.nix {};
98 borgbackup = handleTest ./borgbackup.nix {};
99 botamusique = handleTest ./botamusique.nix {};
100 bpf = handleTestOn ["x86_64-linux" "aarch64-linux"] ./bpf.nix {};
101 breitbandmessung = handleTest ./breitbandmessung.nix {};
102 brscan5 = handleTest ./brscan5.nix {};
103 btrbk = handleTest ./btrbk.nix {};
104 btrbk-no-timer = handleTest ./btrbk-no-timer.nix {};
105 btrbk-section-order = handleTest ./btrbk-section-order.nix {};
106 buildbot = handleTest ./buildbot.nix {};
107 buildkite-agents = handleTest ./buildkite-agents.nix {};
108 caddy = handleTest ./caddy.nix {};
109 cadvisor = handleTestOn ["x86_64-linux"] ./cadvisor.nix {};
110 cage = handleTest ./cage.nix {};
111 cagebreak = handleTest ./cagebreak.nix {};
112 calibre-web = handleTest ./calibre-web.nix {};
113 cassandra_3_0 = handleTest ./cassandra.nix { testPackage = pkgs.cassandra_3_0; };
114 cassandra_3_11 = handleTest ./cassandra.nix { testPackage = pkgs.cassandra_3_11; };
115 ceph-multi-node = handleTestOn ["x86_64-linux"] ./ceph-multi-node.nix {};
116 ceph-single-node = handleTestOn ["x86_64-linux"] ./ceph-single-node.nix {};
117 ceph-single-node-bluestore = handleTestOn ["x86_64-linux"] ./ceph-single-node-bluestore.nix {};
118 certmgr = handleTest ./certmgr.nix {};
119 cfssl = handleTestOn ["aarch64-linux" "x86_64-linux"] ./cfssl.nix {};
120 charliecloud = handleTest ./charliecloud.nix {};
121 chromium = (handleTestOn ["aarch64-linux" "x86_64-linux"] ./chromium.nix {}).stable or {};
122 cinnamon = handleTest ./cinnamon.nix {};
123 cjdns = handleTest ./cjdns.nix {};
124 clickhouse = handleTest ./clickhouse.nix {};
125 cloud-init = handleTest ./cloud-init.nix {};
126 cloud-init-hostname = handleTest ./cloud-init-hostname.nix {};
127 cntr = handleTestOn ["aarch64-linux" "x86_64-linux"] ./cntr.nix {};
128 cockroachdb = handleTestOn ["x86_64-linux"] ./cockroachdb.nix {};
129 collectd = handleTest ./collectd.nix {};
130 consul = handleTest ./consul.nix {};
131 containers-bridge = handleTest ./containers-bridge.nix {};
132 containers-custom-pkgs.nix = handleTest ./containers-custom-pkgs.nix {};
133 containers-ephemeral = handleTest ./containers-ephemeral.nix {};
134 containers-extra_veth = handleTest ./containers-extra_veth.nix {};
135 containers-hosts = handleTest ./containers-hosts.nix {};
136 containers-imperative = handleTest ./containers-imperative.nix {};
137 containers-ip = handleTest ./containers-ip.nix {};
138 containers-macvlans = handleTest ./containers-macvlans.nix {};
139 containers-names = handleTest ./containers-names.nix {};
140 containers-nested = handleTest ./containers-nested.nix {};
141 containers-physical_interfaces = handleTest ./containers-physical_interfaces.nix {};
142 containers-portforward = handleTest ./containers-portforward.nix {};
143 containers-reloadable = handleTest ./containers-reloadable.nix {};
144 containers-restart_networking = handleTest ./containers-restart_networking.nix {};
145 containers-tmpfs = handleTest ./containers-tmpfs.nix {};
146 containers-unified-hierarchy = handleTest ./containers-unified-hierarchy.nix {};
147 convos = handleTest ./convos.nix {};
148 corerad = handleTest ./corerad.nix {};
149 coturn = handleTest ./coturn.nix {};
150 couchdb = handleTest ./couchdb.nix {};
151 cri-o = handleTestOn ["aarch64-linux" "x86_64-linux"] ./cri-o.nix {};
152 custom-ca = handleTest ./custom-ca.nix {};
153 croc = handleTest ./croc.nix {};
154 deluge = handleTest ./deluge.nix {};
155 dendrite = handleTest ./matrix/dendrite.nix {};
156 dex-oidc = handleTest ./dex-oidc.nix {};
157 dhparams = handleTest ./dhparams.nix {};
158 disable-installer-tools = handleTest ./disable-installer-tools.nix {};
159 discourse = handleTest ./discourse.nix {};
160 dnscrypt-proxy2 = handleTestOn ["x86_64-linux"] ./dnscrypt-proxy2.nix {};
161 dnscrypt-wrapper = handleTestOn ["x86_64-linux"] ./dnscrypt-wrapper {};
162 dnsdist = handleTest ./dnsdist.nix {};
163 doas = handleTest ./doas.nix {};
164 docker = handleTestOn ["aarch64-linux" "x86_64-linux"] ./docker.nix {};
165 docker-rootless = handleTestOn ["aarch64-linux" "x86_64-linux"] ./docker-rootless.nix {};
166 docker-registry = handleTest ./docker-registry.nix {};
167 docker-tools = handleTestOn ["x86_64-linux"] ./docker-tools.nix {};
168 docker-tools-cross = handleTestOn ["x86_64-linux" "aarch64-linux"] ./docker-tools-cross.nix {};
169 docker-tools-overlay = handleTestOn ["x86_64-linux"] ./docker-tools-overlay.nix {};
170 documize = handleTest ./documize.nix {};
171 documentation = pkgs.callPackage ../modules/misc/documentation/test.nix { inherit nixosLib; };
172 doh-proxy-rust = handleTest ./doh-proxy-rust.nix {};
173 dokuwiki = handleTest ./dokuwiki.nix {};
174 dolibarr = handleTest ./dolibarr.nix {};
175 domination = handleTest ./domination.nix {};
176 dovecot = handleTest ./dovecot.nix {};
177 drbd = handleTest ./drbd.nix {};
178 earlyoom = handleTestOn ["x86_64-linux"] ./earlyoom.nix {};
179 ec2-config = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-config or {};
180 ec2-nixops = (handleTestOn ["x86_64-linux"] ./ec2.nix {}).boot-ec2-nixops or {};
181 ecryptfs = handleTest ./ecryptfs.nix {};
182 ejabberd = handleTest ./xmpp/ejabberd.nix {};
183 elk = handleTestOn ["x86_64-linux"] ./elk.nix {};
184 emacs-daemon = handleTest ./emacs-daemon.nix {};
185 endlessh = handleTest ./endlessh.nix {};
186 endlessh-go = handleTest ./endlessh-go.nix {};
187 engelsystem = handleTest ./engelsystem.nix {};
188 enlightenment = handleTest ./enlightenment.nix {};
189 env = handleTest ./env.nix {};
190 envoy = handleTest ./envoy.nix {};
191 ergo = handleTest ./ergo.nix {};
192 ergochat = handleTest ./ergochat.nix {};
193 etc = pkgs.callPackage ../modules/system/etc/test.nix { inherit evalMinimalConfig; };
194 etcd = handleTestOn ["x86_64-linux"] ./etcd.nix {};
195 etcd-cluster = handleTestOn ["x86_64-linux"] ./etcd-cluster.nix {};
196 etebase-server = handleTest ./etebase-server.nix {};
197 etesync-dav = handleTest ./etesync-dav.nix {};
198 extra-python-packages = handleTest ./extra-python-packages.nix {};
199 fancontrol = handleTest ./fancontrol.nix {};
200 fcitx = handleTest ./fcitx {};
201 fenics = handleTest ./fenics.nix {};
202 ferm = handleTest ./ferm.nix {};
203 firefox = handleTest ./firefox.nix { firefoxPackage = pkgs.firefox; };
204 firefox-esr = handleTest ./firefox.nix { firefoxPackage = pkgs.firefox-esr; }; # used in `tested` job
205 firefox-esr-102 = handleTest ./firefox.nix { firefoxPackage = pkgs.firefox-esr-102; };
206 firejail = handleTest ./firejail.nix {};
207 firewall = handleTest ./firewall.nix {};
208 fish = handleTest ./fish.nix {};
209 flannel = handleTestOn ["x86_64-linux"] ./flannel.nix {};
210 fluentd = handleTest ./fluentd.nix {};
211 fluidd = handleTest ./fluidd.nix {};
212 fontconfig-default-fonts = handleTest ./fontconfig-default-fonts.nix {};
213 freeswitch = handleTest ./freeswitch.nix {};
214 freshrss = handleTest ./freshrss.nix {};
215 frr = handleTest ./frr.nix {};
216 fsck = handleTest ./fsck.nix {};
217 ft2-clone = handleTest ./ft2-clone.nix {};
218 mimir = handleTest ./mimir.nix {};
219 garage = handleTest ./garage.nix {};
220 gerrit = handleTest ./gerrit.nix {};
221 geth = handleTest ./geth.nix {};
222 ghostunnel = handleTest ./ghostunnel.nix {};
223 gitdaemon = handleTest ./gitdaemon.nix {};
224 gitea = handleTest ./gitea.nix {};
225 gitlab = handleTest ./gitlab.nix {};
226 gitolite = handleTest ./gitolite.nix {};
227 gitolite-fcgiwrap = handleTest ./gitolite-fcgiwrap.nix {};
228 glusterfs = handleTest ./glusterfs.nix {};
229 gnome = handleTest ./gnome.nix {};
230 gnome-xorg = handleTest ./gnome-xorg.nix {};
231 go-neb = handleTest ./go-neb.nix {};
232 gobgpd = handleTest ./gobgpd.nix {};
233 gocd-agent = handleTest ./gocd-agent.nix {};
234 gocd-server = handleTest ./gocd-server.nix {};
235 gollum = handleTest ./gollum.nix {};
236 google-oslogin = handleTest ./google-oslogin {};
237 gotify-server = handleTest ./gotify-server.nix {};
238 grafana = handleTest ./grafana {};
239 grafana-agent = handleTest ./grafana-agent.nix {};
240 graphite = handleTest ./graphite.nix {};
241 graylog = handleTest ./graylog.nix {};
242 grocy = handleTest ./grocy.nix {};
243 grub = handleTest ./grub.nix {};
244 gvisor = handleTest ./gvisor.nix {};
245 hadoop = import ./hadoop { inherit handleTestOn; package=pkgs.hadoop; };
246 hadoop_3_2 = import ./hadoop { inherit handleTestOn; package=pkgs.hadoop_3_2; };
247 hadoop2 = import ./hadoop { inherit handleTestOn; package=pkgs.hadoop2; };
248 haka = handleTest ./haka.nix {};
249 haste-server = handleTest ./haste-server.nix {};
250 haproxy = handleTest ./haproxy.nix {};
251 hardened = handleTest ./hardened.nix {};
252 healthchecks = handleTest ./web-apps/healthchecks.nix {};
253 hbase1 = handleTest ./hbase.nix { package=pkgs.hbase1; };
254 hbase2 = handleTest ./hbase.nix { package=pkgs.hbase2; };
255 hbase3 = handleTest ./hbase.nix { package=pkgs.hbase3; };
256 hedgedoc = handleTest ./hedgedoc.nix {};
257 herbstluftwm = handleTest ./herbstluftwm.nix {};
258 installed-tests = pkgs.recurseIntoAttrs (handleTest ./installed-tests {});
259 invidious = handleTest ./invidious.nix {};
260 oci-containers = handleTestOn ["aarch64-linux" "x86_64-linux"] ./oci-containers.nix {};
261 odoo = handleTest ./odoo.nix {};
262 # 9pnet_virtio used to mount /nix partition doesn't support
263 # hibernation. This test happens to work on x86_64-linux but
264 # not on other platforms.
265 hibernate = handleTestOn ["x86_64-linux"] ./hibernate.nix {};
266 hibernate-systemd-stage-1 = handleTestOn ["x86_64-linux"] ./hibernate.nix { systemdStage1 = true; };
267 hitch = handleTest ./hitch {};
268 hledger-web = handleTest ./hledger-web.nix {};
269 hocker-fetchdocker = handleTest ./hocker-fetchdocker {};
270 hockeypuck = handleTest ./hockeypuck.nix { };
271 home-assistant = handleTest ./home-assistant.nix {};
272 hostname = handleTest ./hostname.nix {};
273 hound = handleTest ./hound.nix {};
274 hub = handleTest ./git/hub.nix {};
275 hydra = handleTest ./hydra {};
276 i3wm = handleTest ./i3wm.nix {};
277 icingaweb2 = handleTest ./icingaweb2.nix {};
278 iftop = handleTest ./iftop.nix {};
279 ihatemoney = handleTest ./ihatemoney {};
280 incron = handleTest ./incron.nix {};
281 influxdb = handleTest ./influxdb.nix {};
282 initrd-network-openvpn = handleTest ./initrd-network-openvpn {};
283 initrd-network-ssh = handleTest ./initrd-network-ssh {};
284 initrdNetwork = handleTest ./initrd-network.nix {};
285 initrd-secrets = handleTest ./initrd-secrets.nix {};
286 input-remapper = handleTest ./input-remapper.nix {};
287 inspircd = handleTest ./inspircd.nix {};
288 installer = handleTest ./installer.nix {};
289 installer-systemd-stage-1 = handleTest ./installer-systemd-stage-1.nix {};
290 invoiceplane = handleTest ./invoiceplane.nix {};
291 iodine = handleTest ./iodine.nix {};
292 ipv6 = handleTest ./ipv6.nix {};
293 iscsi-multipath-root = handleTest ./iscsi-multipath-root.nix {};
294 iscsi-root = handleTest ./iscsi-root.nix {};
295 isso = handleTest ./isso.nix {};
296 jackett = handleTest ./jackett.nix {};
297 jellyfin = handleTest ./jellyfin.nix {};
298 jenkins = handleTest ./jenkins.nix {};
299 jenkins-cli = handleTest ./jenkins-cli.nix {};
300 jibri = handleTest ./jibri.nix {};
301 jirafeau = handleTest ./jirafeau.nix {};
302 jitsi-meet = handleTest ./jitsi-meet.nix {};
303 k3s = handleTest ./k3s {};
304 kafka = handleTest ./kafka.nix {};
305 kanidm = handleTest ./kanidm.nix {};
306 karma = handleTest ./karma.nix {};
307 kbd-setfont-decompress = handleTest ./kbd-setfont-decompress.nix {};
308 kbd-update-search-paths-patch = handleTest ./kbd-update-search-paths-patch.nix {};
309 kea = handleTest ./kea.nix {};
310 keepalived = handleTest ./keepalived.nix {};
311 keepassxc = handleTest ./keepassxc.nix {};
312 kerberos = handleTest ./kerberos/default.nix {};
313 kernel-generic = handleTest ./kernel-generic.nix {};
314 kernel-latest-ath-user-regd = handleTest ./kernel-latest-ath-user-regd.nix {};
315 keter = handleTest ./keter.nix {};
316 kexec = handleTest ./kexec.nix {};
317 keycloak = discoverTests (import ./keycloak.nix);
318 keymap = handleTest ./keymap.nix {};
319 knot = handleTest ./knot.nix {};
320 komga = handleTest ./komga.nix {};
321 krb5 = discoverTests (import ./krb5 {});
322 ksm = handleTest ./ksm.nix {};
323 kthxbye = handleTest ./kthxbye.nix {};
324 kubernetes = handleTestOn ["x86_64-linux"] ./kubernetes {};
325 kubo = handleTest ./kubo.nix {};
326 ladybird = handleTest ./ladybird.nix {};
327 languagetool = handleTest ./languagetool.nix {};
328 latestKernel.login = handleTest ./login.nix { latestKernel = true; };
329 leaps = handleTest ./leaps.nix {};
330 lemmy = handleTest ./lemmy.nix {};
331 libinput = handleTest ./libinput.nix {};
332 libreddit = handleTest ./libreddit.nix {};
333 libresprite = handleTest ./libresprite.nix {};
334 libreswan = handleTest ./libreswan.nix {};
335 librewolf = handleTest ./firefox.nix { firefoxPackage = pkgs.librewolf; };
336 libuiohook = handleTest ./libuiohook.nix {};
337 libvirtd = handleTest ./libvirtd.nix {};
338 lidarr = handleTest ./lidarr.nix {};
339 lightdm = handleTest ./lightdm.nix {};
340 lighttpd = handleTest ./lighttpd.nix {};
341 limesurvey = handleTest ./limesurvey.nix {};
342 listmonk = handleTest ./listmonk.nix {};
343 litestream = handleTest ./litestream.nix {};
344 locate = handleTest ./locate.nix {};
345 login = handleTest ./login.nix {};
346 logrotate = handleTest ./logrotate.nix {};
347 loki = handleTest ./loki.nix {};
348 lvm2 = handleTest ./lvm2 {};
349 lxd = handleTest ./lxd.nix {};
350 lxd-nftables = handleTest ./lxd-nftables.nix {};
351 lxd-image-server = handleTest ./lxd-image-server.nix {};
352 #logstash = handleTest ./logstash.nix {};
353 lorri = handleTest ./lorri/default.nix {};
354 maddy = handleTest ./maddy.nix {};
355 maestral = handleTest ./maestral.nix {};
356 magic-wormhole-mailbox-server = handleTest ./magic-wormhole-mailbox-server.nix {};
357 magnetico = handleTest ./magnetico.nix {};
358 mailcatcher = handleTest ./mailcatcher.nix {};
359 mailhog = handleTest ./mailhog.nix {};
360 man = handleTest ./man.nix {};
361 mariadb-galera = handleTest ./mysql/mariadb-galera.nix {};
362 mastodon = handleTestOn ["x86_64-linux" "i686-linux" "aarch64-linux"] ./web-apps/mastodon.nix {};
363 matomo = handleTest ./matomo.nix {};
364 matrix-appservice-irc = handleTest ./matrix/appservice-irc.nix {};
365 matrix-conduit = handleTest ./matrix/conduit.nix {};
366 matrix-synapse = handleTest ./matrix/synapse.nix {};
367 mattermost = handleTest ./mattermost.nix {};
368 mediatomb = handleTest ./mediatomb.nix {};
369 mediawiki = handleTest ./mediawiki.nix {};
370 meilisearch = handleTest ./meilisearch.nix {};
371 memcached = handleTest ./memcached.nix {};
372 merecat = handleTest ./merecat.nix {};
373 metabase = handleTest ./metabase.nix {};
374 minecraft = handleTest ./minecraft.nix {};
375 minecraft-server = handleTest ./minecraft-server.nix {};
376 minidlna = handleTest ./minidlna.nix {};
377 miniflux = handleTest ./miniflux.nix {};
378 minio = handleTest ./minio.nix {};
379 misc = handleTest ./misc.nix {};
380 mjolnir = handleTest ./matrix/mjolnir.nix {};
381 mod_perl = handleTest ./mod_perl.nix {};
382 molly-brown = handleTest ./molly-brown.nix {};
383 mongodb = handleTest ./mongodb.nix {};
384 moodle = handleTest ./moodle.nix {};
385 moonraker = handleTest ./moonraker.nix {};
386 morty = handleTest ./morty.nix {};
387 mosquitto = handleTest ./mosquitto.nix {};
388 moosefs = handleTest ./moosefs.nix {};
389 mpd = handleTest ./mpd.nix {};
390 mpv = handleTest ./mpv.nix {};
391 mtp = handleTest ./mtp.nix {};
392 mumble = handleTest ./mumble.nix {};
393 musescore = handleTest ./musescore.nix {};
394 munin = handleTest ./munin.nix {};
395 mutableUsers = handleTest ./mutable-users.nix {};
396 mxisd = handleTest ./mxisd.nix {};
397 mysql = handleTest ./mysql/mysql.nix {};
398 mysql-autobackup = handleTest ./mysql/mysql-autobackup.nix {};
399 mysql-backup = handleTest ./mysql/mysql-backup.nix {};
400 mysql-replication = handleTest ./mysql/mysql-replication.nix {};
401 n8n = handleTest ./n8n.nix {};
402 nagios = handleTest ./nagios.nix {};
403 nar-serve = handleTest ./nar-serve.nix {};
404 nat.firewall = handleTest ./nat.nix { withFirewall = true; };
405 nat.firewall-conntrack = handleTest ./nat.nix { withFirewall = true; withConntrackHelpers = true; };
406 nat.standalone = handleTest ./nat.nix { withFirewall = false; };
407 nats = handleTest ./nats.nix {};
408 navidrome = handleTest ./navidrome.nix {};
409 nbd = handleTest ./nbd.nix {};
410 ncdns = handleTest ./ncdns.nix {};
411 ndppd = handleTest ./ndppd.nix {};
412 nebula = handleTest ./nebula.nix {};
413 netbird = handleTest ./netbird.nix {};
414 neo4j = handleTest ./neo4j.nix {};
415 netdata = handleTest ./netdata.nix {};
416 networking.networkd = handleTest ./networking.nix { networkd = true; };
417 networking.scripted = handleTest ./networking.nix { networkd = false; };
418 specialisation = handleTest ./specialisation.nix {};
419 netbox = handleTest ./web-apps/netbox.nix {};
420 # TODO: put in networking.nix after the test becomes more complete
421 networkingProxy = handleTest ./networking-proxy.nix {};
422 nextcloud = handleTest ./nextcloud {};
423 nexus = handleTest ./nexus.nix {};
424 # TODO: Test nfsv3 + Kerberos
425 nfs3 = handleTest ./nfs { version = 3; };
426 nfs4 = handleTest ./nfs { version = 4; };
427 nghttpx = handleTest ./nghttpx.nix {};
428 nginx = handleTest ./nginx.nix {};
429 nginx-auth = handleTest ./nginx-auth.nix {};
430 nginx-etag = handleTest ./nginx-etag.nix {};
431 nginx-http3 = handleTest ./nginx-http3.nix {};
432 nginx-modsecurity = handleTest ./nginx-modsecurity.nix {};
433 nginx-njs = handleTest ./nginx-njs.nix {};
434 nginx-pubhtml = handleTest ./nginx-pubhtml.nix {};
435 nginx-sandbox = handleTestOn ["x86_64-linux"] ./nginx-sandbox.nix {};
436 nginx-sso = handleTest ./nginx-sso.nix {};
437 nginx-variants = handleTest ./nginx-variants.nix {};
438 nifi = handleTestOn ["x86_64-linux"] ./web-apps/nifi.nix {};
439 nitter = handleTest ./nitter.nix {};
440 nix-ld = handleTest ./nix-ld.nix {};
441 nix-serve = handleTest ./nix-serve.nix {};
442 nix-serve-ssh = handleTest ./nix-serve-ssh.nix {};
443 nixops = handleTest ./nixops/default.nix {};
444 nixos-generate-config = handleTest ./nixos-generate-config.nix {};
445 nixpkgs = pkgs.callPackage ../modules/misc/nixpkgs/test.nix { inherit evalMinimalConfig; };
446 node-red = handleTest ./node-red.nix {};
447 nomad = handleTest ./nomad.nix {};
448 non-default-filesystems = handleTest ./non-default-filesystems.nix {};
449 noto-fonts = handleTest ./noto-fonts.nix {};
450 novacomd = handleTestOn ["x86_64-linux"] ./novacomd.nix {};
451 nscd = handleTest ./nscd.nix {};
452 nsd = handleTest ./nsd.nix {};
453 ntfy-sh = handleTest ./ntfy-sh.nix {};
454 nzbget = handleTest ./nzbget.nix {};
455 nzbhydra2 = handleTest ./nzbhydra2.nix {};
456 oh-my-zsh = handleTest ./oh-my-zsh.nix {};
457 ombi = handleTest ./ombi.nix {};
458 openarena = handleTest ./openarena.nix {};
459 openldap = handleTest ./openldap.nix {};
460 openresty-lua = handleTest ./openresty-lua.nix {};
461 opensmtpd = handleTest ./opensmtpd.nix {};
462 opensmtpd-rspamd = handleTest ./opensmtpd-rspamd.nix {};
463 openssh = handleTest ./openssh.nix {};
464 openstack-image-metadata = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).metadata or {};
465 openstack-image-userdata = (handleTestOn ["x86_64-linux"] ./openstack-image.nix {}).userdata or {};
466 opentabletdriver = handleTest ./opentabletdriver.nix {};
467 owncast = handleTest ./owncast.nix {};
468 image-contents = handleTest ./image-contents.nix {};
469 orangefs = handleTest ./orangefs.nix {};
470 os-prober = handleTestOn ["x86_64-linux"] ./os-prober.nix {};
471 osrm-backend = handleTest ./osrm-backend.nix {};
472 overlayfs = handleTest ./overlayfs.nix {};
473 pacemaker = handleTest ./pacemaker.nix {};
474 packagekit = handleTest ./packagekit.nix {};
475 pam-file-contents = handleTest ./pam/pam-file-contents.nix {};
476 pam-oath-login = handleTest ./pam/pam-oath-login.nix {};
477 pam-u2f = handleTest ./pam/pam-u2f.nix {};
478 pam-ussh = handleTest ./pam/pam-ussh.nix {};
479 pass-secret-service = handleTest ./pass-secret-service.nix {};
480 patroni = handleTest ./patroni.nix {};
481 pantalaimon = handleTest ./matrix/pantalaimon.nix {};
482 pantheon = handleTest ./pantheon.nix {};
483 paperless = handleTest ./paperless.nix {};
484 parsedmarc = handleTest ./parsedmarc {};
485 pdns-recursor = handleTest ./pdns-recursor.nix {};
486 peerflix = handleTest ./peerflix.nix {};
487 peertube = handleTestOn ["x86_64-linux"] ./web-apps/peertube.nix {};
488 pgadmin4 = handleTest ./pgadmin4.nix {};
489 pgadmin4-standalone = handleTest ./pgadmin4-standalone.nix {};
490 pgjwt = handleTest ./pgjwt.nix {};
491 pgmanage = handleTest ./pgmanage.nix {};
492 php = handleTest ./php {};
493 php80 = handleTest ./php { php = pkgs.php80; };
494 php81 = handleTest ./php { php = pkgs.php81; };
495 phylactery = handleTest ./web-apps/phylactery.nix {};
496 pict-rs = handleTest ./pict-rs.nix {};
497 pinnwand = handleTest ./pinnwand.nix {};
498 plasma-bigscreen = handleTest ./plasma-bigscreen.nix {};
499 plasma5 = handleTest ./plasma5.nix {};
500 plasma5-systemd-start = handleTest ./plasma5-systemd-start.nix {};
501 plausible = handleTest ./plausible.nix {};
502 please = handleTest ./please.nix {};
503 pleroma = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./pleroma.nix {};
504 plikd = handleTest ./plikd.nix {};
505 plotinus = handleTest ./plotinus.nix {};
506 podgrab = handleTest ./podgrab.nix {};
507 podman = handleTestOn ["aarch64-linux" "x86_64-linux"] ./podman/default.nix {};
508 podman-dnsname = handleTestOn ["aarch64-linux" "x86_64-linux"] ./podman/dnsname.nix {};
509 podman-tls-ghostunnel = handleTestOn ["aarch64-linux" "x86_64-linux"] ./podman/tls-ghostunnel.nix {};
510 polaris = handleTest ./polaris.nix {};
511 pomerium = handleTestOn ["x86_64-linux"] ./pomerium.nix {};
512 postfix = handleTest ./postfix.nix {};
513 postfix-raise-smtpd-tls-security-level = handleTest ./postfix-raise-smtpd-tls-security-level.nix {};
514 postfixadmin = handleTest ./postfixadmin.nix {};
515 postgis = handleTest ./postgis.nix {};
516 postgresql = handleTest ./postgresql.nix {};
517 postgresql-wal-receiver = handleTest ./postgresql-wal-receiver.nix {};
518 powerdns = handleTest ./powerdns.nix {};
519 powerdns-admin = handleTest ./powerdns-admin.nix {};
520 power-profiles-daemon = handleTest ./power-profiles-daemon.nix {};
521 pppd = handleTest ./pppd.nix {};
522 predictable-interface-names = handleTest ./predictable-interface-names.nix {};
523 printing = handleTest ./printing.nix {};
524 privacyidea = handleTest ./privacyidea.nix {};
525 privoxy = handleTest ./privoxy.nix {};
526 prometheus = handleTest ./prometheus.nix {};
527 prometheus-exporters = handleTest ./prometheus-exporters.nix {};
528 prosody = handleTest ./xmpp/prosody.nix {};
529 prosody-mysql = handleTest ./xmpp/prosody-mysql.nix {};
530 proxy = handleTest ./proxy.nix {};
531 prowlarr = handleTest ./prowlarr.nix {};
532 pt2-clone = handleTest ./pt2-clone.nix {};
533 pykms = handleTest ./pykms.nix {};
534 public-inbox = handleTest ./public-inbox.nix {};
535 pulseaudio = discoverTests (import ./pulseaudio.nix);
536 qboot = handleTestOn ["x86_64-linux" "i686-linux"] ./qboot.nix {};
537 quorum = handleTest ./quorum.nix {};
538 quake3 = handleTest ./quake3.nix {};
539 rabbitmq = handleTest ./rabbitmq.nix {};
540 radarr = handleTest ./radarr.nix {};
541 radicale = handleTest ./radicale.nix {};
542 rasdaemon = handleTest ./rasdaemon.nix {};
543 redis = handleTest ./redis.nix {};
544 redmine = handleTest ./redmine.nix {};
545 restartByActivationScript = handleTest ./restart-by-activation-script.nix {};
546 restic = handleTest ./restic.nix {};
547 retroarch = handleTest ./retroarch.nix {};
548 robustirc-bridge = handleTest ./robustirc-bridge.nix {};
549 roundcube = handleTest ./roundcube.nix {};
550 rspamd = handleTest ./rspamd.nix {};
551 rss2email = handleTest ./rss2email.nix {};
552 rstudio-server = handleTest ./rstudio-server.nix {};
553 rsyncd = handleTest ./rsyncd.nix {};
554 rsyslogd = handleTest ./rsyslogd.nix {};
555 rxe = handleTest ./rxe.nix {};
556 sabnzbd = handleTest ./sabnzbd.nix {};
557 samba = handleTest ./samba.nix {};
558 samba-wsdd = handleTest ./samba-wsdd.nix {};
559 sanoid = handleTest ./sanoid.nix {};
560 schleuder = handleTest ./schleuder.nix {};
561 sddm = handleTest ./sddm.nix {};
562 seafile = handleTest ./seafile.nix {};
563 searx = handleTest ./searx.nix {};
564 service-runner = handleTest ./service-runner.nix {};
565 sfxr-qt = handleTest ./sfxr-qt.nix {};
566 shadow = handleTest ./shadow.nix {};
567 shadowsocks = handleTest ./shadowsocks {};
568 shattered-pixel-dungeon = handleTest ./shattered-pixel-dungeon.nix {};
569 shiori = handleTest ./shiori.nix {};
570 signal-desktop = handleTest ./signal-desktop.nix {};
571 simple = handleTest ./simple.nix {};
572 slurm = handleTest ./slurm.nix {};
573 smokeping = handleTest ./smokeping.nix {};
574 snapcast = handleTest ./snapcast.nix {};
575 snapper = handleTest ./snapper.nix {};
576 soapui = handleTest ./soapui.nix {};
577 sogo = handleTest ./sogo.nix {};
578 solanum = handleTest ./solanum.nix {};
579 solr = handleTest ./solr.nix {};
580 sonarr = handleTest ./sonarr.nix {};
581 sourcehut = handleTest ./sourcehut.nix {};
582 spacecookie = handleTest ./spacecookie.nix {};
583 spark = handleTestOn [ "x86_64-linux" "aarch64-linux" ] ./spark {};
584 sslh = handleTest ./sslh.nix {};
585 sssd = handleTestOn ["x86_64-linux"] ./sssd.nix {};
586 sssd-ldap = handleTestOn ["x86_64-linux"] ./sssd-ldap.nix {};
587 starship = handleTest ./starship.nix {};
588 step-ca = handleTestOn ["x86_64-linux"] ./step-ca.nix {};
589 stratis = handleTest ./stratis {};
590 strongswan-swanctl = handleTest ./strongswan-swanctl.nix {};
591 stunnel = handleTest ./stunnel.nix {};
592 sudo = handleTest ./sudo.nix {};
593 swap-partition = handleTest ./swap-partition.nix {};
594 sway = handleTest ./sway.nix {};
595 switchTest = handleTest ./switch-test.nix {};
596 sympa = handleTest ./sympa.nix {};
597 syncthing = handleTest ./syncthing.nix {};
598 syncthing-init = handleTest ./syncthing-init.nix {};
599 syncthing-relay = handleTest ./syncthing-relay.nix {};
600 systemd = handleTest ./systemd.nix {};
601 systemd-analyze = handleTest ./systemd-analyze.nix {};
602 systemd-binfmt = handleTestOn ["x86_64-linux"] ./systemd-binfmt.nix {};
603 systemd-boot = handleTest ./systemd-boot.nix {};
604 systemd-bpf = handleTest ./systemd-bpf.nix {};
605 systemd-confinement = handleTest ./systemd-confinement.nix {};
606 systemd-coredump = handleTest ./systemd-coredump.nix {};
607 systemd-cryptenroll = handleTest ./systemd-cryptenroll.nix {};
608 systemd-escaping = handleTest ./systemd-escaping.nix {};
609 systemd-initrd-btrfs-raid = handleTest ./systemd-initrd-btrfs-raid.nix {};
610 systemd-initrd-luks-fido2 = handleTest ./systemd-initrd-luks-fido2.nix {};
611 systemd-initrd-luks-keyfile = handleTest ./systemd-initrd-luks-keyfile.nix {};
612 systemd-initrd-luks-password = handleTest ./systemd-initrd-luks-password.nix {};
613 systemd-initrd-luks-tpm2 = handleTest ./systemd-initrd-luks-tpm2.nix {};
614 systemd-initrd-modprobe = handleTest ./systemd-initrd-modprobe.nix {};
615 systemd-initrd-shutdown = handleTest ./systemd-shutdown.nix { systemdStage1 = true; };
616 systemd-initrd-simple = handleTest ./systemd-initrd-simple.nix {};
617 systemd-initrd-swraid = handleTest ./systemd-initrd-swraid.nix {};
618 systemd-journal = handleTest ./systemd-journal.nix {};
619 systemd-machinectl = handleTest ./systemd-machinectl.nix {};
620 systemd-networkd = handleTest ./systemd-networkd.nix {};
621 systemd-networkd-dhcpserver = handleTest ./systemd-networkd-dhcpserver.nix {};
622 systemd-networkd-dhcpserver-static-leases = handleTest ./systemd-networkd-dhcpserver-static-leases.nix {};
623 systemd-networkd-ipv6-prefix-delegation = handleTest ./systemd-networkd-ipv6-prefix-delegation.nix {};
624 systemd-networkd-vrf = handleTest ./systemd-networkd-vrf.nix {};
625 systemd-no-tainted = handleTest ./systemd-no-tainted.nix {};
626 systemd-nspawn = handleTest ./systemd-nspawn.nix {};
627 systemd-oomd = handleTest ./systemd-oomd.nix {};
628 systemd-portabled = handleTest ./systemd-portabled.nix {};
629 systemd-shutdown = handleTest ./systemd-shutdown.nix {};
630 systemd-timesyncd = handleTest ./systemd-timesyncd.nix {};
631 systemd-misc = handleTest ./systemd-misc.nix {};
632 tandoor-recipes = handleTest ./tandoor-recipes.nix {};
633 taskserver = handleTest ./taskserver.nix {};
634 teeworlds = handleTest ./teeworlds.nix {};
635 telegraf = handleTest ./telegraf.nix {};
636 teleport = handleTest ./teleport.nix {};
637 thelounge = handleTest ./thelounge.nix {};
638 terminal-emulators = handleTest ./terminal-emulators.nix {};
639 tiddlywiki = handleTest ./tiddlywiki.nix {};
640 tigervnc = handleTest ./tigervnc.nix {};
641 timezone = handleTest ./timezone.nix {};
642 tinc = handleTest ./tinc {};
643 tinydns = handleTest ./tinydns.nix {};
644 tinywl = handleTest ./tinywl.nix {};
645 tmate-ssh-server = handleTest ./tmate-ssh-server.nix { };
646 tomcat = handleTest ./tomcat.nix {};
647 tor = handleTest ./tor.nix {};
648 traefik = handleTestOn ["aarch64-linux" "x86_64-linux"] ./traefik.nix {};
649 trafficserver = handleTest ./trafficserver.nix {};
650 transmission = handleTest ./transmission.nix {};
651 # tracee requires bpf
652 tracee = handleTestOn ["x86_64-linux"] ./tracee.nix {};
653 trezord = handleTest ./trezord.nix {};
654 trickster = handleTest ./trickster.nix {};
655 trilium-server = handleTestOn ["x86_64-linux"] ./trilium-server.nix {};
656 tsm-client-gui = handleTest ./tsm-client-gui.nix {};
657 txredisapi = handleTest ./txredisapi.nix {};
658 tuptime = handleTest ./tuptime.nix {};
659 turbovnc-headless-server = handleTest ./turbovnc-headless-server.nix {};
660 tuxguitar = handleTest ./tuxguitar.nix {};
661 ucarp = handleTest ./ucarp.nix {};
662 udisks2 = handleTest ./udisks2.nix {};
663 unbound = handleTest ./unbound.nix {};
664 unifi = handleTest ./unifi.nix {};
665 unit-php = handleTest ./web-servers/unit-php.nix {};
666 upnp = handleTest ./upnp.nix {};
667 uptermd = handleTest ./uptermd.nix {};
668 uptime-kuma = handleTest ./uptime-kuma.nix {};
669 usbguard = handleTest ./usbguard.nix {};
670 user-activation-scripts = handleTest ./user-activation-scripts.nix {};
671 user-home-mode = handleTest ./user-home-mode.nix {};
672 uwsgi = handleTest ./uwsgi.nix {};
673 v2ray = handleTest ./v2ray.nix {};
674 varnish60 = handleTest ./varnish.nix { package = pkgs.varnish60; };
675 varnish72 = handleTest ./varnish.nix { package = pkgs.varnish72; };
676 vault = handleTest ./vault.nix {};
677 vault-dev = handleTest ./vault-dev.nix {};
678 vault-postgresql = handleTest ./vault-postgresql.nix {};
679 vaultwarden = handleTest ./vaultwarden.nix {};
680 vector = handleTest ./vector.nix {};
681 vengi-tools = handleTest ./vengi-tools.nix {};
682 victoriametrics = handleTest ./victoriametrics.nix {};
683 vikunja = handleTest ./vikunja.nix {};
684 virtualbox = handleTestOn ["x86_64-linux"] ./virtualbox.nix {};
685 vscodium = discoverTests (import ./vscodium.nix);
686 vsftpd = handleTest ./vsftpd.nix {};
687 wasabibackend = handleTest ./wasabibackend.nix {};
688 wiki-js = handleTest ./wiki-js.nix {};
689 wine = handleTest ./wine.nix {};
690 wireguard = handleTest ./wireguard {};
691 without-nix = handleTest ./without-nix.nix {};
692 wmderland = handleTest ./wmderland.nix {};
693 wpa_supplicant = handleTest ./wpa_supplicant.nix {};
694 wordpress = handleTest ./wordpress.nix {};
695 wrappers = handleTest ./wrappers.nix {};
696 writefreely = handleTest ./web-apps/writefreely.nix {};
697 xandikos = handleTest ./xandikos.nix {};
698 xautolock = handleTest ./xautolock.nix {};
699 xfce = handleTest ./xfce.nix {};
700 xmonad = handleTest ./xmonad.nix {};
701 xmonad-xdg-autostart = handleTest ./xmonad-xdg-autostart.nix {};
702 xpadneo = handleTest ./xpadneo.nix {};
703 xrdp = handleTest ./xrdp.nix {};
704 xss-lock = handleTest ./xss-lock.nix {};
705 xterm = handleTest ./xterm.nix {};
706 xxh = handleTest ./xxh.nix {};
707 yabar = handleTest ./yabar.nix {};
708 yggdrasil = handleTest ./yggdrasil.nix {};
709 zammad = handleTest ./zammad.nix {};
710 zeronet-conservancy = handleTest ./zeronet-conservancy.nix {};
711 zfs = handleTest ./zfs.nix {};
712 zigbee2mqtt = handleTest ./zigbee2mqtt.nix {};
713 zoneminder = handleTest ./zoneminder.nix {};
714 zookeeper = handleTest ./zookeeper.nix {};
715 zrepl = handleTest ./zrepl.nix {};
716 zsh-history = handleTest ./zsh-history.nix {};