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.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/config.nix.in b/tests/config.nix.in
new file mode 100644
index 000000000000..a58295f9828f
--- /dev/null
+++ b/tests/config.nix.in
@@ -0,0 +1,9 @@
+{
+  mkDerivation = args:
+    derivation ({
+      system = "@system@";
+      builder = "@shell@";
+      args = ["-e" args.builder];
+      PATH = "@testPath@";
+    } // removeAttrs args ["builder"]);
+}