about summary refs log tree commit diff
path: root/tests/parallel.nix
diff options
context:
space:
mode:
Diffstat (limited to 'tests/parallel.nix')
-rw-r--r--tests/parallel.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/parallel.nix b/tests/parallel.nix
new file mode 100644
index 000000000000..eb5dd02c018a
--- /dev/null
+++ b/tests/parallel.nix
@@ -0,0 +1,17 @@
+with import ./config.nix;
+
+let
+
+  mkDrv = text: inputs: mkDerivation {
+    name = "parallel";
+    builder = ./parallel.builder.sh;
+    inherit text inputs shared;
+  };
+
+  a = mkDrv "a" [];
+  b = mkDrv "b" [a];
+  c = mkDrv "c" [a];
+  d = mkDrv "d" [a];
+  e = mkDrv "e" [b c d];
+
+in e