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

                       
                                

                                                  
                        

                       
                                

                                                  
                        

                     
                        

                                                  
                        


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

}