about summary refs log tree commit diff
path: root/tests/dependencies.nix.in
blob: aec9ec5b5f15437c57ef80525aceb14343bdd20f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
let {

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

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

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

}