aboutsummaryrefslogtreecommitdiff
path: root/tests/locking.nix.in
blob: a6b6b9101de8a7a0aa3a6481f207e51e77be878a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
}