Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/development/libraries/haskell/hoogle/hoogle-local-wrapper.sh

7 lines
135 B
Bash
Raw Normal View History

Rewrite hoogleLocal expression The old expression was broken. This began as an attempt to fix it, but the new expression is substantially different. It takes advantage of new features that obviate the need to patch Hoogle. It comes with several limitations. The new expression does not build the database in parallel, although it does not take long. The new expression also does not support downloading databases from the Hoogle instance at haskell.org; those databases link to Hackage for documentation, defying the meaning of local.
2014-09-08 06:26:29 -05:00
#! @shell@
COMMAND=$1
shift
HOOGLE_DOC_PATH=@out@/share/hoogle/doc exec @hoogle@/bin/hoogle \
hoogle-local: expand wrapper's arguments correctly The wrapper was expanding all the words of all its arguments. Instead, we want to expand each argument as a word; there is a subtle difference!
2014-11-17 07:54:11 -06:00
$COMMAND -d @out@/share/hoogle "$@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 1280ms Template: 16ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API