overrideCabal: Preserve overrideScope attr

This commit is contained in:
Shea Levy 2015-01-12 12:18:46 -05:00
parent e2edf1e01d
commit 3f714f32ac

View file

@ -4,6 +4,7 @@ rec {
overrideCabal = drv: f: drv.override (args: args // {
mkDerivation = drv: args.mkDerivation (drv // f drv);
overrideScope = scope: overrideCabal (drv.overrideScope scope) f;
});
doHaddock = drv: overrideCabal drv (drv: { noHaddock = false; });