about summary refs log blame commit diff
path: root/tests/build-hook.nix.in
blob: b38077e7f70bbb7d245c8f2c27e5f15242caf152 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                       
                                





                                                  
                                





                                                  
                        






                                                  
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;
  };

}