1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 23:03:53 -04:00
nix/tests/dependencies.nix.in

29 lines
647 B
Nix
Raw Normal View History

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