about summary refs log tree commit diff stats
path: root/tests/infrastructure
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-29 21:01:24 +0100
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-11-29 21:02:10 +0100
commit5dce139663df9ac46a723e73f5f0975d75735975 (patch)
tree613701fda73623555d3fdb0c30716b89ddecb3fb /tests/infrastructure
parenttests(tests/yambar): Init (diff)
downloadnixos-config-5dce139663df9ac46a723e73f5f0975d75735975.tar.gz
nixos-config-5dce139663df9ac46a723e73f5f0975d75735975.zip
fix(tests::infrastructure): Provide `sysLib` as module argument
Diffstat (limited to '')
-rw-r--r--tests/infrastructure/default.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/infrastructure/default.nix b/tests/infrastructure/default.nix
index 64a6ad01..0e0408e7 100644
--- a/tests/infrastructure/default.nix
+++ b/tests/infrastructure/default.nix
@@ -4,6 +4,7 @@
   lib,
   nixos-lib,
   extraModules,
+  sysLib,
   ...
 }: {
   name,
@@ -19,7 +20,7 @@ nixos-lib.runTest {
 
   node = {
     specialArgs = {
-      inherit myPkgs;
+      inherit myPkgs sysLib;
     };
     # Use the nixpkgs as constructed by the `nixpkgs.*` options
     pkgs = null;
@@ -82,7 +83,7 @@ nixos-lib.runTest {
       ''}")
 
       machine.succeed("sudo -u soispha ${pkgs.writeShellScript "mkGoldenRecord" ''
-        set -ex
+        set -e
 
         # HACK: Prevent zsh from complaining about missing configuration.
         # TODO: These tests should probably just run under bash. <2024-11-22>