1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 23:52:33 +00:00
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 "$@"