mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
18 lines
283 B
Nix
18 lines
283 B
Nix
|
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
|