forked from lix-project/lix
eldritch horrors
ea10088703
Add `builtins.addDrvOutputDependencies`
(cherry picked from commit a58d7f143ec995a45745c2176bfebcc3e011db58)
Change-Id: Ia5a1790bf29dfaf29287cc35cdae6b6d650e7a83
18 lines
374 B
Nix
18 lines
374 B
Nix
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
|