Revert "overrideDerivation: Re-attatch passthru and meta to all outputs"
This reverts commit 6b0e94a516c5aa8d0e18e13028c7ccf541062c99. It still breaks VM builds: http://hydra.nixos.org/build/4858140
This commit is contained in:
parent
b0ad529987
commit
18df66f466
@ -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…
x
Reference in New Issue
Block a user