lix-releng-staging/tests/parallel.nix
2009-03-23 15:16:36 +00:00

19 lines
311 B
Nix

{sleepTime ? 3}:
with import ./config.nix;
let
mkDrv = text: inputs: mkDerivation {
name = "parallel";
builder = ./parallel.builder.sh;
inherit text inputs shared sleepTime;
};
a = mkDrv "a" [];
b = mkDrv "b" [a];
c = mkDrv "c" [a];
d = mkDrv "d" [a];
e = mkDrv "e" [b c d];
in e