From 08439eb00ac05635c8cf792e924cf3adc148f462 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Thu, 19 Jan 2012 16:44:17 +0000 Subject: [PATCH] overrideDerivation: Override `hostDrv' and `buildDrv' too. svn path=/nixpkgs/trunk/; revision=31706 --- pkgs/lib/customisation.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/lib/customisation.nix b/pkgs/lib/customisation.nix index b914d4ca6033..49ae440a7299 100644 --- a/pkgs/lib/customisation.nix +++ b/pkgs/lib/customisation.nix @@ -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; };