Merge pull request #2767 from jwiegley/hscolour
Build Haddocks with source hyperlinks unless doHscolour is false
This commit is contained in:
@@ -7,6 +7,7 @@ cabal.mkDerivation (self: {
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
buildDepends = [ mtl ];
|
||||
hyperlinkSource = false;
|
||||
meta = {
|
||||
description = "Unlambda interpreter";
|
||||
license = "GPL";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
{ cabal }:
|
||||
{ cabal, hyperlinkSource ? true }:
|
||||
|
||||
cabal.mkDerivation (self: {
|
||||
pname = "hscolour";
|
||||
@@ -6,6 +6,7 @@ cabal.mkDerivation (self: {
|
||||
sha256 = "15ix93sw4p7g5ln2halcgqppdc0i0vmkzcjzxvqzkk9yp9pq3nrs";
|
||||
isLibrary = true;
|
||||
isExecutable = true;
|
||||
hyperlinkSource = hyperlinkSource;
|
||||
meta = {
|
||||
homepage = "http://code.haskell.org/~malcolm/hscolour/";
|
||||
description = "Colourise Haskell code";
|
||||
Reference in New Issue
Block a user