aboutsummaryrefslogtreecommitdiff
path: root/tests/locking.nix.in
blob: 72070678f07a235a9175a2f2d89727318a0891b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
let {

  mkDrv = text: inputs: derivation {
    name = "locking";
    system = "@system@";
    builder = "@shell@";
    args = ["-e" "-x" ./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];

  body = e;
}