guix/tests/dependencies.nix.in

29 lines
647 B
Nix
Raw Normal View History

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