about summary refs log tree commit diff
path: root/tests/user-envs.nix.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/user-envs.nix.in')
-rw-r--r--tests/user-envs.nix.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/tests/user-envs.nix.in b/tests/user-envs.nix.in
index 5700a33227b0..21feea0d31c9 100644
--- a/tests/user-envs.nix.in
+++ b/tests/user-envs.nix.in
@@ -1,8 +1,14 @@
+# Some dummy arguments...
+{ system ? "@system@"
+, foo ? "foo"
+}:
+
+assert foo == "foo";
+
 let {
 
   makeDrv = name: progName: derivation {
-    inherit name progName;
-    system = "@system@";
+    inherit name progName system;
     builder = "@shell@";
     shell = "@shell@";
     args = ["-e" "-x" ./user-envs.builder.sh];