mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 16:26:18 +02:00
29 lines
No EOL
647 B
Nix
29 lines
No EOL
647 B
Nix
let {
|
|
|
|
input1 = derivation {
|
|
name = "dependencies-input-1";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" ./dependencies.builder1.sh];
|
|
PATH = "@testPath@";
|
|
};
|
|
|
|
input2 = derivation {
|
|
name = "dependencies-input-2";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" (./. ~ "dependencies.builder2.sh")];
|
|
PATH = "@testPath@";
|
|
};
|
|
|
|
body = derivation {
|
|
name = "dependencies";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" (./dependencies.builder0.sh + "/FOOBAR/../.")];
|
|
PATH = "@testPath@";
|
|
input1 = input1 + "/.";
|
|
inherit input2;
|
|
};
|
|
|
|
} |