nix-gh/tests/dependencies.nix.in

29 lines
647 B
Nix
Raw Normal View History

2004-05-04 15:22:33 +02:00
let {
input1 = derivation {
name = "dependencies-input-1";
system = "@system@";
builder = "@shell@";
args = ["-e" "-x" ./dependencies.builder1.sh];
2006-07-21 15:21:43 +02:00
PATH = "@testPath@";
2004-05-04 15:22:33 +02:00
};
input2 = derivation {
name = "dependencies-input-2";
system = "@system@";
builder = "@shell@";
2006-08-29 17:29:19 +02:00
args = ["-e" "-x" (./. ~ "dependencies.builder2.sh")];
2006-07-21 15:21:43 +02:00
PATH = "@testPath@";
2004-05-04 15:22:33 +02:00
};
body = derivation {
name = "dependencies";
system = "@system@";
builder = "@shell@";
args = ["-e" "-x" (./dependencies.builder0.sh + "/FOOBAR/../.")];
2006-07-21 15:21:43 +02:00
PATH = "@testPath@";
input1 = input1 + "/.";
inherit input2;
2004-05-04 15:22:33 +02:00
};
}