D'oh
This commit is contained in:
parent
3f714f32ac
commit
d30e9082bb
@ -2,10 +2,11 @@
|
|||||||
|
|
||||||
rec {
|
rec {
|
||||||
|
|
||||||
overrideCabal = drv: f: drv.override (args: args // {
|
overrideCabal = drv: f: (drv.override (args: args // {
|
||||||
mkDerivation = drv: args.mkDerivation (drv // f drv);
|
mkDerivation = drv: args.mkDerivation (drv // f drv);
|
||||||
|
})) // {
|
||||||
overrideScope = scope: overrideCabal (drv.overrideScope scope) f;
|
overrideScope = scope: overrideCabal (drv.overrideScope scope) f;
|
||||||
});
|
};
|
||||||
|
|
||||||
doHaddock = drv: overrideCabal drv (drv: { noHaddock = false; });
|
doHaddock = drv: overrideCabal drv (drv: { noHaddock = false; });
|
||||||
dontHaddock = drv: overrideCabal drv (drv: { noHaddock = true; });
|
dontHaddock = drv: overrideCabal drv (drv: { noHaddock = true; });
|
||||||
|
Loading…
Reference in New Issue
Block a user