1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
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