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

  mkDrv = text: inputs: derivation {
    name = "parallel";
    system = "@system@";
    builder = "@shell@";
    args = ["-e" "-x" ./parallel.builder.sh];
    PATH = "@testPath@";
    shared = "@extra1@";
    inherit text inputs;
  };

  a = mkDrv "a" [];
  b = mkDrv "b" [a];
  c = mkDrv "c" [a];
  d = mkDrv "d" [a];
  e = mkDrv "e" [b c d];

  body = e;
}