summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/hoogle.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2016-06-20 14:48:33 +0200
committerPeter Simons <simons@cryp.to>2016-06-20 14:50:52 +0200
commit06489a18507ad43d48bcba9c6147042e2e0d18dd (patch)
tree79fd7b38b1b07606bd999ce3b7fb9e0cf7f85606 /pkgs/development/haskell-modules/hoogle.nix
parent5fc64c4baa7296247e89adf16be666bae0dd469c (diff)
downloadnixpkgs-06489a18507ad43d48bcba9c6147042e2e0d18dd.tar
nixpkgs-06489a18507ad43d48bcba9c6147042e2e0d18dd.tar.gz
nixpkgs-06489a18507ad43d48bcba9c6147042e2e0d18dd.tar.bz2
nixpkgs-06489a18507ad43d48bcba9c6147042e2e0d18dd.tar.lz
nixpkgs-06489a18507ad43d48bcba9c6147042e2e0d18dd.tar.xz
nixpkgs-06489a18507ad43d48bcba9c6147042e2e0d18dd.tar.zst
nixpkgs-06489a18507ad43d48bcba9c6147042e2e0d18dd.zip
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.
Diffstat (limited to 'pkgs/development/haskell-modules/hoogle.nix')
-rw-r--r--pkgs/development/haskell-modules/hoogle.nix2
1 files changed, 1 insertions, 1 deletions
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.
     '';