nix/tests/dependencies.nix

24 lines
477 B
Nix
Raw Normal View History

with import ./config.nix;
let {
input1 = mkDerivation {
name = "dependencies-input-1";
builder = ./dependencies.builder1.sh;
};
input2 = mkDerivation {
name = "dependencies-input-2";
2013-10-16 23:12:43 +00:00
builder = "${./dependencies.builder2.sh}";
};
body = mkDerivation {
name = "dependencies";
2013-10-16 23:12:43 +00:00
builder = ./dependencies.builder0.sh + "/FOOBAR/../.";
input1 = input1 + "/.";
2013-10-16 23:12:43 +00:00
input2 = "${input2}/.";
meta.description = "Random test package";
};
}