mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-14 06:00:33 +03:00
overrideDerivation: Override hostDrv' and
buildDrv' too.
svn path=/nixpkgs/trunk/; revision=31706
This commit is contained in:
parent
f84e15f11c
commit
08439eb00a
1 changed files with 2 additions and 0 deletions
|
@ -42,6 +42,8 @@ rec {
|
||||||
in newDrv //
|
in newDrv //
|
||||||
{ meta = if drv ? meta then drv.meta else {};
|
{ meta = if drv ? meta then drv.meta else {};
|
||||||
passthru = if drv ? passthru then drv.passthru else {};
|
passthru = if drv ? passthru then drv.passthru else {};
|
||||||
|
hostDrv = overrideDerivation drv.hostDrv f;
|
||||||
|
buildDrv = overrideDerivation drv.buildDrv f;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue