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.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/user-envs.nix.in b/tests/user-envs.nix.in
new file mode 100644
index 000000000000..5700a33227b0
--- /dev/null
+++ b/tests/user-envs.nix.in
@@ -0,0 +1,19 @@
+let {
+
+  makeDrv = name: progName: derivation {
+    inherit name progName;
+    system = "@system@";
+    builder = "@shell@";
+    shell = "@shell@";
+    args = ["-e" "-x" ./user-envs.builder.sh];
+  };
+
+  body = [
+    (makeDrv "foo-1.0" "foo")
+    (makeDrv "foo-2.0pre1" "foo")
+    (makeDrv "bar-0.1" "bar")
+    (makeDrv "foo-2.0" "foo")
+    (makeDrv "bar-0.1.1" "bar")
+  ];
+  
+}