haskell-ng-lib: add combinators for enabling/disabling source hyper-linking

This commit is contained in:
Peter Simons 2015-04-01 16:42:52 +02:00
parent 945269a48f
commit 36a2361976

View File

@ -55,4 +55,7 @@ rec {
appendPatch = drv: x: appendPatches drv [x];
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; });
}