mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 14:36:16 +02:00
19 lines
No EOL
339 B
Nix
19 lines
No EOL
339 B
Nix
let {
|
|
|
|
mkDrv = text: inputs: derivation {
|
|
name = "locking";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" ./locking.builder.sh];
|
|
PATH = "@testPath@";
|
|
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;
|
|
} |