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






                                                  
                        





                                  
                                                          
                        





                          
                                                                      
                        

                           


    
let {

  input1 = derivation {
    name = "dependencies-input-1";
    system = "@system@";
    builder = "@shell@";
    args = ["-e" "-x" ./dependencies.builder1.sh];
    PATH = "@testPath@";
  };

  input2 = derivation {
    name = "dependencies-input-2";
    system = "@system@";
    builder = "@shell@";
    args = ["-e" "-x" (./. ~ "dependencies.builder2.sh")];
    PATH = "@testPath@";
  };

  body = derivation {
    name = "dependencies";
    system = "@system@";
    builder = "@shell@";
    args = ["-e" "-x" (./dependencies.builder0.sh  + "/FOOBAR/../.")];
    PATH = "@testPath@";
    input1 = input1 + "/.";
    inherit input2;
  };

}