summary refs log tree commit diff
path: root/tests/parallel.nix.in
blob: 29eac17523f671f0068273b314df14d794df3e95 (plain) (blame)
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 = "parallel";
    system = "@system@";
    builder = "@shell@";
    args = ["-e" "-x" ./parallel.builder.sh];
    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;
}