mirror of
https://github.com/NixOS/nix
synced 2025-06-24 13:51:16 +02:00
25 lines
406 B
Nix
25 lines
406 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
|