mirror of
https://github.com/NixOS/nix.git
synced 2024-11-28 17:52:25 +00:00
18 lines
314 B
Nix
18 lines
314 B
Nix
|
let {
|
||
|
|
||
|
mkDrv = text: inputs: derivation {
|
||
|
name = "locking";
|
||
|
system = "@system@";
|
||
|
builder = "@shell@";
|
||
|
args = ["-e" "-x" ./locking.builder.sh];
|
||
|
inherit text inputs;
|
||
|
};
|
||
|
|
||
|
a = mkDrv "a" [];
|
||
|
b = mkDrv "b" [a];
|
||
|
c = mkDrv "c" [a b];
|
||
|
d = mkDrv "d" [a];
|
||
|
e = mkDrv "e" [c d];
|
||
|
|
||
|
body = e;
|
||
|
}
|