2004-05-12 12:35:51 +03:00
|
|
|
let {
|
|
|
|
|
|
|
|
input1 = derivation {
|
2004-05-12 16:49:10 +03:00
|
|
|
name = "build-hook-input-1";
|
2004-05-12 12:35:51 +03:00
|
|
|
system = "@system@";
|
|
|
|
builder = "@shell@";
|
|
|
|
args = ["-e" "-x" ./dependencies.builder1.sh];
|
2006-07-21 16:21:43 +03:00
|
|
|
PATH = "@testPath@";
|
2004-05-12 12:35:51 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
input2 = derivation {
|
2004-05-12 16:49:10 +03:00
|
|
|
name = "build-hook-input-2";
|
2004-05-12 12:35:51 +03:00
|
|
|
system = "@system@";
|
|
|
|
builder = "@shell@";
|
|
|
|
args = ["-e" "-x" ./dependencies.builder2.sh];
|
2006-07-21 16:21:43 +03:00
|
|
|
PATH = "@testPath@";
|
2004-05-12 12:35:51 +03:00
|
|
|
};
|
|
|
|
|
|
|
|
body = derivation {
|
2004-05-12 16:49:10 +03:00
|
|
|
name = "build-hook";
|
2004-05-12 12:35:51 +03:00
|
|
|
system = "@system@";
|
|
|
|
builder = "@shell@";
|
|
|
|
args = ["-e" "-x" ./dependencies.builder0.sh];
|
2006-07-21 16:21:43 +03:00
|
|
|
PATH = "@testPath@";
|
2004-05-12 12:35:51 +03:00
|
|
|
inherit input1 input2;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|