From 2c8e492691aeaac55fe6971ce7b74aa8188fe14c Mon Sep 17 00:00:00 2001 From: Gergely Risko Date: Tue, 4 Feb 2014 18:09:12 +0100 Subject: [PATCH] Generate hoogle databases beside HTML haddock documentation for Haskell packages --- pkgs/build-support/cabal/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/cabal/default.nix b/pkgs/build-support/cabal/default.nix index 6dc83963d19..5e028863b06 100644 --- a/pkgs/build-support/cabal/default.nix +++ b/pkgs/build-support/cabal/default.nix @@ -220,7 +220,7 @@ assert !enableStaticLibraries -> versionOlder "7.7" ghc.version; ./Setup build ${self.buildTarget} export GHC_PACKAGE_PATH=$(${ghc.GHCPackages}) - test -n "$noHaddock" || ./Setup haddock + test -n "$noHaddock" || ./Setup haddock --html --hoogle eval "$postBuild" '';