mirror of
https://github.com/NixOS/nix.git
synced 2024-11-30 02:32:26 +00:00
25 lines
517 B
Nix
25 lines
517 B
Nix
let {
|
|
|
|
input1 = derivation {
|
|
name = "build-hook-input-1";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" ./dependencies.builder1.sh];
|
|
};
|
|
|
|
input2 = derivation {
|
|
name = "build-hook-input-2";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" ./dependencies.builder2.sh];
|
|
};
|
|
|
|
body = derivation {
|
|
name = "build-hook";
|
|
system = "@system@";
|
|
builder = "@shell@";
|
|
args = ["-e" "-x" ./dependencies.builder0.sh];
|
|
inherit input1 input2;
|
|
};
|
|
|
|
} |