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










                                         
                                              



                          
                                                          
                           
                           
                        
                                             


    
with import ./config.nix;

let {

  input1 = mkDerivation {
    name = "dependencies-input-1";
    builder = ./dependencies.builder1.sh;
  };

  input2 = mkDerivation {
    name = "dependencies-input-2";
    builder = "${./dependencies.builder2.sh}";
  };

  body = mkDerivation {
    name = "dependencies";
    builder = ./dependencies.builder0.sh + "/FOOBAR/../.";
    input1 = input1 + "/.";
    input2 = "${input2}/.";
    input1_drv = input1;
    meta.description = "Random test package";
  };

}