nix-super/tests/dependencies.nix.in

29 lines
647 B
Nix
Raw Normal View History

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