3
0
Fork 0
forked from mirrors/nixpkgs

haskell: Recommend use of hoogle --local

This works around the browser security restriction of 
disallowing links from http:// to file://.
This commit is contained in:
Ben Gamari 2018-01-01 19:16:23 -05:00 committed by GitHub
parent 1d537f8c53
commit fa085fc07b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -334,14 +334,10 @@ navigate there.
Finally, you can run
```shell
hoogle server -p 8080
hoogle server -p 8080 --local
```
and navigate to http://localhost:8080/ for your own local
[Hoogle](https://www.haskell.org/hoogle/). Note, however, that Firefox and
possibly other browsers disallow navigation from `http:` to `file:` URIs for
security reasons, which might be quite an inconvenience. See [this
page](http://kb.mozillazine.org/Links_to_local_pages_do_not_work) for
workarounds.
[Hoogle](https://www.haskell.org/hoogle/).
### How to build a Haskell project using Stack