about summary refs log tree commit diff
path: root/tests/config.nix.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/config.nix.in')
-rw-r--r--tests/config.nix.in16
1 files changed, 12 insertions, 4 deletions
diff --git a/tests/config.nix.in b/tests/config.nix.in
index a58295f9828f..2bfee8b44b19 100644
--- a/tests/config.nix.in
+++ b/tests/config.nix.in
@@ -1,9 +1,17 @@
-{
+rec {
+  shell = "@shell@";
+
+  path = "@testPath@";
+
+  system = "@system@";
+
+  shared = "@extra1@";
+    
   mkDerivation = args:
     derivation ({
-      system = "@system@";
-      builder = "@shell@";
+      inherit system;
+      builder = shell;
       args = ["-e" args.builder];
-      PATH = "@testPath@";
+      PATH = path;
     } // removeAttrs args ["builder"]);
 }