diff options
Diffstat (limited to 'tests/parallel.nix')
-rw-r--r-- | tests/parallel.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/parallel.nix b/tests/parallel.nix new file mode 100644 index 0000000000..eb5dd02c01 --- /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 |