guix/tests/build-hook.nix.in

28 lines
592 B
Nix
Raw Normal View History

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