From 06489a18507ad43d48bcba9c6147042e2e0d18dd Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 20 Jun 2016 14:48:33 +0200 Subject: [PATCH] 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. --- pkgs/development/haskell-modules/hoogle.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/hoogle.nix b/pkgs/development/haskell-modules/hoogle.nix index 58db9737d32..65aaaf4dbca 100644 --- a/pkgs/development/haskell-modules/hoogle.nix +++ b/pkgs/development/haskell-modules/hoogle.nix @@ -47,7 +47,7 @@ let # On GHCJS, use a stripped down version of GHC's prologue.txt prologue = if !isGhcjs - then "${ghc}/${docLibGlob}/prologue.txt" + then "${ghc.doc}/${docLibGlob}/prologue.txt" else writeText "ghcjs-prologue.txt" '' This index includes documentation for many Haskell modules. '';