2004-05-04 17:04:17 +00:00
|
|
|
let {
|
|
|
|
|
|
|
|
mkDrv = text: inputs: derivation {
|
|
|
|
name = "parallel";
|
|
|
|
system = "@system@";
|
|
|
|
builder = "@shell@";
|
|
|
|
args = ["-e" "-x" ./parallel.builder.sh];
|
2006-07-21 13:21:43 +00:00
|
|
|
PATH = "@testPath@";
|
2004-05-04 17:04:17 +00:00
|
|
|
shared = "@extra1@";
|
|
|
|
inherit text inputs;
|
|
|
|
};
|
|
|
|
|
|
|
|
a = mkDrv "a" [];
|
|
|
|
b = mkDrv "b" [a];
|
2004-05-11 18:05:44 +00:00
|
|
|
c = mkDrv "c" [a];
|
|
|
|
d = mkDrv "d" [a];
|
2004-05-04 17:04:17 +00:00
|
|
|
e = mkDrv "e" [b c d];
|
|
|
|
|
|
|
|
body = e;
|
2004-05-11 18:05:44 +00:00
|
|
|
}
|