about summary refs log blame commit diff
path: root/tests/locking.nix
blob: a0407685b319bfe4f18220bfc0c7e493f2623387 (plain) (tree)
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