mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-15 10:46:15 +02:00
67d231c046
This reverts commit619eeb658a
, reversing changes made to1af94bf471
.
19 lines
352 B
Nix
19 lines
352 B
Nix
{sleepTime ? 3}:
|
|
|
|
with import "${builtins.getEnv "_NIX_TEST_BUILD_DIR"}/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
|