mirror of
https://github.com/NixOS/nix.git
synced 2024-11-22 14:52:55 +00:00
28 lines
592 B
Nix
28 lines
592 B
Nix
let {
|
|
|
|
input1 = derivation {
|
|
name = "build-hook-input-1";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" ./dependencies.builder1.sh];
|
|
PATH = "@testPath@";
|
|
};
|
|
|
|
input2 = derivation {
|
|
name = "build-hook-input-2";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" ./dependencies.builder2.sh];
|
|
PATH = "@testPath@";
|
|
};
|
|
|
|
body = derivation {
|
|
name = "build-hook";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" ./dependencies.builder0.sh];
|
|
PATH = "@testPath@";
|
|
inherit input1 input2;
|
|
};
|
|
|
|
} |