mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-30 09:36:15 +02:00
19 lines
374 B
Nix
19 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
|