nix/tests/functional/parallel.nix
Eelco Dolstra f29e7867a9 Revert "Merge pull request #11826 from DeterminateSystems/revert-11804"
This reverts commit aeffdeffc8, reversing
changes made to 723fdeb4f1.
2024-11-11 15:21:34 +01:00

20 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