Merge pull request #2767 from jwiegley/hscolour

Build Haddocks with source hyperlinks unless doHscolour is false
This commit is contained in:
Peter Simons
2014-06-03 10:50:04 +02:00
4 changed files with 16 additions and 5 deletions

View File

@@ -7,6 +7,7 @@ cabal.mkDerivation (self: {
isLibrary = true;
isExecutable = true;
buildDepends = [ mtl ];
hyperlinkSource = false;
meta = {
description = "Unlambda interpreter";
license = "GPL";

View File

@@ -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";