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:
Eelco Dolstra 2013-05-07 10:48:53 +02:00
parent b0ad529987
commit 18df66f466

View file

@ -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)