summary refs log tree commit diff
path: root/doc/languages-frameworks
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2017-12-30 23:23:07 +0100
committertoonn <toonn@toonn.io>2018-05-22 13:10:57 +0200
commitae1e304a60a702b983fa1890e1ebcbfef96b1f61 (patch)
treec347d7c73546b60fac22b145558b6160a8d9cce3 /doc/languages-frameworks
parentc29d2fde74d03178ed42655de6dee389f2b7d37f (diff)
downloadnixlib-ae1e304a60a702b983fa1890e1ebcbfef96b1f61.tar
nixlib-ae1e304a60a702b983fa1890e1ebcbfef96b1f61.tar.gz
nixlib-ae1e304a60a702b983fa1890e1ebcbfef96b1f61.tar.bz2
nixlib-ae1e304a60a702b983fa1890e1ebcbfef96b1f61.tar.lz
nixlib-ae1e304a60a702b983fa1890e1ebcbfef96b1f61.tar.xz
nixlib-ae1e304a60a702b983fa1890e1ebcbfef96b1f61.tar.zst
nixlib-ae1e304a60a702b983fa1890e1ebcbfef96b1f61.zip
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
Diffstat (limited to 'doc/languages-frameworks')
-rw-r--r--doc/languages-frameworks/haskell.section.md7
1 files changed, 6 insertions, 1 deletions
diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md
index 3b8971c295bb..e5b725b1d5e2 100644
--- a/doc/languages-frameworks/haskell.section.md
+++ b/doc/languages-frameworks/haskell.section.md
@@ -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