about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/hoogle-local-wrapper.sh
diff options
context:
space:
mode:
authorJan Malakhovski <oxij@oxij.org>2015-08-17 23:55:04 +0000
committerJan Malakhovski <oxij@oxij.org>2015-08-18 19:56:17 +0000
commit00137438459949bfbd2c0311e8664a9da8bb1e53 (patch)
tree12fedfa2353933925b05c77a348acaa97cd03b62 /pkgs/development/haskell-modules/hoogle-local-wrapper.sh
parentd8487667cfe3f83f857b45d4927a19d9181b7f4c (diff)
haskell-packages: make hoogle wrapper much more helpful
* Build most of the stuff on /tmp, not in /nix/store.
* Generate hoogle database for all the dependencies.
* Generate haddock index and contents files.
* Cleanup.
Diffstat (limited to 'pkgs/development/haskell-modules/hoogle-local-wrapper.sh')
-rw-r--r--pkgs/development/haskell-modules/hoogle-local-wrapper.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/hoogle-local-wrapper.sh b/pkgs/development/haskell-modules/hoogle-local-wrapper.sh
index 13ea889119c37..471b2c81584e7 100644
--- a/pkgs/development/haskell-modules/hoogle-local-wrapper.sh
+++ b/pkgs/development/haskell-modules/hoogle-local-wrapper.sh
@@ -2,5 +2,4 @@
 
 COMMAND=$1
 shift
-HOOGLE_DOC_PATH=@out@/share/hoogle/doc exec @hoogle@/bin/hoogle \
-    "$COMMAND" -d @out@/share/hoogle "$@"
+exec @hoogle@/bin/hoogle "$COMMAND" -d @out@/share/doc/hoogle "$@"