2009-03-17 18:11:55 +01:00
|
|
|
with import ./config.nix;
|
|
|
|
|
|
|
|
let
|
|
|
|
|
|
|
|
input1 = mkDerivation {
|
|
|
|
name = "build-hook-input-1";
|
|
|
|
builder = ./dependencies.builder1.sh;
|
2017-05-02 15:35:35 +02:00
|
|
|
requiredSystemFeatures = ["foo"];
|
2009-03-17 18:11:55 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
input2 = mkDerivation {
|
|
|
|
name = "build-hook-input-2";
|
|
|
|
builder = ./dependencies.builder2.sh;
|
|
|
|
};
|
|
|
|
|
|
|
|
in
|
|
|
|
|
|
|
|
mkDerivation {
|
|
|
|
name = "build-hook";
|
|
|
|
builder = ./dependencies.builder0.sh;
|
2013-10-17 11:18:37 +02:00
|
|
|
input1 = " " + input1 + "/.";
|
|
|
|
input2 = " ${input2}/.";
|
2009-03-17 18:11:55 +01:00
|
|
|
}
|