haskell-ng-lib: add combinators for enabling/disabling source hyper-linking
This commit is contained in:
parent
945269a48f
commit
36a2361976
@ -55,4 +55,7 @@ rec {
|
|||||||
appendPatch = drv: x: appendPatches drv [x];
|
appendPatch = drv: x: appendPatches drv [x];
|
||||||
appendPatches = drv: xs: overrideCabal drv (drv: { patches = (drv.patches or []) ++ xs; });
|
appendPatches = drv: xs: overrideCabal drv (drv: { patches = (drv.patches or []) ++ xs; });
|
||||||
|
|
||||||
|
doHyperlinkSource = drv: overrideCabal drv (drv: { hyperlinkSource = true; });
|
||||||
|
dontHyperlinkSource = drv: overrideCabal drv (drv: { hyperlinkSource = false; });
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user