about summary refs log tree commit diff
path: root/tests/config.nix.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2009-03-17T17·11+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2009-03-17T17·11+0000
commit51e7e32c3bf7c2fb5045b0655c2edc1fbf347455 (patch)
tree21337c26d0106fa92b5f82854f623640b24dc34e /tests/config.nix.in
parent2d5114452d8a8f73c858f9beb6bfaafe35e7bf9a (diff)
* Refactoring: renamed *.nix.in to *.nix.
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"]);
 }