about summary refs log tree commit diff
path: root/tests/parallel.nix.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parallel.nix.in')
-rw-r--r--tests/parallel.nix.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/tests/parallel.nix.in b/tests/parallel.nix.in
new file mode 100644
index 000000000000..41d6776d1bbe
--- /dev/null
+++ b/tests/parallel.nix.in
@@ -0,0 +1,19 @@
+let {
+
+  mkDrv = text: inputs: derivation {
+    name = "parallel";
+    system = "@system@";
+    builder = "@shell@";
+    args = ["-e" "-x" ./parallel.builder.sh];
+    shared = "@extra1@";
+    inherit text inputs;
+  };
+
+  a = mkDrv "a" [];
+  b = mkDrv "b" [a];
+  c = mkDrv "c" [b];
+  d = mkDrv "d" [c];
+  e = mkDrv "e" [b c d];
+
+  body = e;
+}
\ No newline at end of file