From 87aa864ff94403e01629761948b6d7e572481948 Mon Sep 17 00:00:00 2001 From: Alexey Shmalko Date: Mon, 20 Jun 2016 22:52:20 +0300 Subject: haskell-hoogle: adapt to GHC docs split The docs were split at #16167 and broke google support. @peti fixed build, however hoogle still didn't see packages shipped with GHC. This patch fixes location of the libraries shipped with GHC. --- pkgs/development/haskell-modules/hoogle.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkgs/development') diff --git a/pkgs/development/haskell-modules/hoogle.nix b/pkgs/development/haskell-modules/hoogle.nix index 65aaaf4dbcaf..3cb1efbce739 100644 --- a/pkgs/development/haskell-modules/hoogle.nix +++ b/pkgs/development/haskell-modules/hoogle.nix @@ -79,7 +79,7 @@ stdenv.mkDerivation { } echo importing builtin packages - for docdir in ${ghc}/${docLibGlob}/*; do + for docdir in ${ghc.doc}/${docLibGlob}/*; do name="$(basename $docdir)" ${opts isGhcjs ''docdir="$docdir/html"''} if [[ -d $docdir ]]; then -- cgit 1.4.1