aboutsummaryrefslogtreecommitdiff
path: root/tests/dependencies.nix
blob: 687237add82094348aeb9e359aa78c5a1e42c8e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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}/.";
    meta.description = "Random test package";
  };

}