mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-12 20:55:31 +03:00
Revert "overrideDerivation: Re-attatch passthru and meta to all outputs"
This reverts commit 6b0e94a516
.
It still breaks VM builds: http://hydra.nixos.org/build/4858140
This commit is contained in:
parent
b0ad529987
commit
18df66f466
1 changed files with 2 additions and 2 deletions
|
@ -34,7 +34,7 @@ rec {
|
|||
overrideDerivation = drv: f:
|
||||
let
|
||||
newDrv = derivation (drv.drvAttrs // (f drv));
|
||||
in addPassthru newDrv (
|
||||
in newDrv //
|
||||
{ meta = drv.meta or {};
|
||||
passthru = if drv ? passthru then drv.passthru else {};
|
||||
}
|
||||
|
@ -46,7 +46,7 @@ rec {
|
|||
crossDrv = overrideDerivation drv.crossDrv f;
|
||||
nativeDrv = overrideDerivation drv.nativeDrv f;
|
||||
}
|
||||
else { }));
|
||||
else { });
|
||||
|
||||
|
||||
# usage: (you can use override multiple times)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue