mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 01:26:15 +02:00
17 lines
274 B
Nix
17 lines
274 B
Nix
with import ./config.nix;
|
|
|
|
let
|
|
|
|
mkDrv = text: inputs: mkDerivation {
|
|
name = "locking";
|
|
builder = ./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];
|
|
|
|
in e
|