nixpkgs-suyu/pkgs/development/haskell-modules/hoogle-local-wrapper.sh
Jan Malakhovski 0013743845 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.
2015-08-18 19:56:17 +00:00

5 lines
96 B
Bash

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