tvl-depot/tests/build-hook.nix.in

25 lines
517 B
Nix
Raw Normal View History

let {
input1 = derivation {
2004-05-12 15:49:10 +02:00
name = "build-hook-input-1";
system = "@system@";
builder = "@shell@";
args = ["-e" "-x" ./dependencies.builder1.sh];
};
input2 = derivation {
2004-05-12 15:49:10 +02:00
name = "build-hook-input-2";
system = "@system@";
builder = "@shell@";
args = ["-e" "-x" ./dependencies.builder2.sh];
};
body = derivation {
2004-05-12 15:49:10 +02:00
name = "build-hook";
system = "@system@";
builder = "@shell@";
args = ["-e" "-x" ./dependencies.builder0.sh];
inherit input1 input2;
};
}