nix-super/tests/build-hook.nix.in

28 lines
592 B
Nix
Raw Normal View History

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