mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-03-19 10:32:40 +00:00
haskell docs: add info about hoogle's --local flag to section 9.5.2.3
Relevant section: 9.5.2.3. How to install a compiler with libraries, hoogle and documentation indexes Since version 5 `hoogle server`s --local flag solves the problem with links from `http:` to `file:` URIs: hoogle server --local -p 8080
This commit is contained in:
parent
c29d2fde74
commit
ae1e304a60
|
@ -337,7 +337,12 @@ Finally, you can run
|
|||
hoogle server -p 8080 --local
|
||||
```
|
||||
and navigate to http://localhost:8080/ for your own local
|
||||
[Hoogle](https://www.haskell.org/hoogle/).
|
||||
[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. Since version 5 hoogle
|
||||
server has a `--local` flag that solves the problem. For older versions see
|
||||
[this page](http://kb.mozillazine.org/Links_to_local_pages_do_not_work) for
|
||||
workarounds.
|
||||
|
||||
### How to build a Haskell project using Stack
|
||||
|
||||
|
|
Loading…
Reference in a new issue