overrideCabal: Preserve overrideScope attr
This commit is contained in:
parent
e2edf1e01d
commit
3f714f32ac
1 changed files with 1 additions and 0 deletions
|
@ -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; });
|
||||
|
|
Loading…
Reference in a new issue