aboutsummaryrefslogtreecommitdiff
path: root/tests/functional/lang/eval-fail-addDrvOutputDependencies-multi-elem-context.nix
blob: dbde264dfaeba570a8ca0f9656bbfaa15c778ab5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
let
  drv0 = derivation {
    name = "fail";
    builder = "/bin/false";
    system = "x86_64-linux";
    outputs = [ "out" "foo" ];
  };

  drv1 = derivation {
    name = "fail-2";
    builder = "/bin/false";
    system = "x86_64-linux";
    outputs = [ "out" "foo" ];
  };

  combo-path = "${drv0.drvPath}${drv1.drvPath}";

in builtins.addDrvOutputDependencies combo-path