overrideDerivation: Override hostDrv' and buildDrv' too.

svn path=/nixpkgs/trunk/; revision=31706
This commit is contained in:
Ludovic Courtès 2012-01-19 16:44:17 +00:00
parent f84e15f11c
commit 08439eb00a

View File

@ -42,6 +42,8 @@ rec {
in newDrv //
{ meta = if drv ? meta then drv.meta else {};
passthru = if drv ? passthru then drv.passthru else {};
hostDrv = overrideDerivation drv.hostDrv f;
buildDrv = overrideDerivation drv.buildDrv f;
};