about summary refs log tree commit diff
path: root/tests/parallel.nix
blob: eb5dd02c018a4190d253417b0757fc8214d55733 (plain) (blame)
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 = "parallel";
    builder = ./parallel.builder.sh;
    inherit text inputs shared;
  };

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

in e