haskell-hoogle: remedy some fallout from https://github.com/NixOS/nixpkgs/pull/16167

ghcWithHoogle builds with this patch applied, but it's probably still broken in
the sense that links might point nowhere or that the generated databases and/or
documentation might be incomplete.
This commit is contained in:
Peter Simons 2016-06-20 14:48:33 +02:00
parent 5fc64c4baa
commit 06489a1850

View File

@ -47,7 +47,7 @@ let
# On GHCJS, use a stripped down version of GHC's prologue.txt # On GHCJS, use a stripped down version of GHC's prologue.txt
prologue = prologue =
if !isGhcjs if !isGhcjs
then "${ghc}/${docLibGlob}/prologue.txt" then "${ghc.doc}/${docLibGlob}/prologue.txt"
else writeText "ghcjs-prologue.txt" '' else writeText "ghcjs-prologue.txt" ''
This index includes documentation for many Haskell modules. This index includes documentation for many Haskell modules.
''; '';