summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/hoogle-local-wrapper.sh
diff options
context:
space:
mode:
authorCharles Strahan <charles.c.strahan@gmail.com>2015-01-22 18:10:08 -0500
committerCharles Strahan <charles.c.strahan@gmail.com>2015-06-11 20:25:31 -0400
commit3859f7bdabe8ec56c1eef832bd5b74280d8298e1 (patch)
tree4a6e63fcbb25143cfa6de29bac7357ce29d292bd /pkgs/development/haskell-modules/hoogle-local-wrapper.sh
parentcd28c5517c224c0c969f6bccb1f85dcc280ed7f2 (diff)
downloadnixpkgs-3859f7bdabe8ec56c1eef832bd5b74280d8298e1.tar
nixpkgs-3859f7bdabe8ec56c1eef832bd5b74280d8298e1.tar.gz
nixpkgs-3859f7bdabe8ec56c1eef832bd5b74280d8298e1.tar.bz2
nixpkgs-3859f7bdabe8ec56c1eef832bd5b74280d8298e1.tar.lz
nixpkgs-3859f7bdabe8ec56c1eef832bd5b74280d8298e1.tar.xz
nixpkgs-3859f7bdabe8ec56c1eef832bd5b74280d8298e1.tar.zst
nixpkgs-3859f7bdabe8ec56c1eef832bd5b74280d8298e1.zip
haskell-ng: hoogleLocal support
Diffstat (limited to 'pkgs/development/haskell-modules/hoogle-local-wrapper.sh')
-rw-r--r--pkgs/development/haskell-modules/hoogle-local-wrapper.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/hoogle-local-wrapper.sh b/pkgs/development/haskell-modules/hoogle-local-wrapper.sh
new file mode 100644
index 00000000000..13ea889119c
--- /dev/null
+++ b/pkgs/development/haskell-modules/hoogle-local-wrapper.sh
@@ -0,0 +1,6 @@
+#! @shell@
+
+COMMAND=$1
+shift
+HOOGLE_DOC_PATH=@out@/share/hoogle/doc exec @hoogle@/bin/hoogle \
+    "$COMMAND" -d @out@/share/hoogle "$@"