mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-22 22:16:16 +02:00
7aedcf9460
though.
19 lines
311 B
Nix
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
|