nixpkgs/pkgs/development/libraries/haskell/hoogle/hoogle-local-wrapper.sh
Thomas Tuegel 310acaf1a0 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

7 lines
135 B
Bash

#! @shell@
COMMAND=$1
shift
HOOGLE_DOC_PATH=@out@/share/hoogle/doc exec @hoogle@/bin/hoogle \
$COMMAND -d @out@/share/hoogle "$@"