summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
authorVladimír Čunát <vcunat@gmail.com>2015-09-24 11:40:20 +0200
committerVladimír Čunát <vcunat@gmail.com>2015-09-27 17:18:44 +0200
commit6070cd09fc8382528788e86d44537a7d9ccdd9f1 (patch)
tree1268238a247fb3cf60b3f89fb8f4d6d1f7c7bb4c /doc
parent5c161d43ed8bb31567ff942cb21a6d026b82064f (diff)
downloadnixlib-6070cd09fc8382528788e86d44537a7d9ccdd9f1.tar
nixlib-6070cd09fc8382528788e86d44537a7d9ccdd9f1.tar.gz
nixlib-6070cd09fc8382528788e86d44537a7d9ccdd9f1.tar.bz2
nixlib-6070cd09fc8382528788e86d44537a7d9ccdd9f1.tar.lz
nixlib-6070cd09fc8382528788e86d44537a7d9ccdd9f1.tar.xz
nixlib-6070cd09fc8382528788e86d44537a7d9ccdd9f1.tar.zst
nixlib-6070cd09fc8382528788e86d44537a7d9ccdd9f1.zip
haskell: make `ghc`, `cabal-install`, and `stack` visible
Thanks to @peti. Close #10035.
Diffstat (limited to 'doc')
-rw-r--r--doc/haskell-users-guide.xml11
1 files changed, 5 insertions, 6 deletions
diff --git a/doc/haskell-users-guide.xml b/doc/haskell-users-guide.xml
index 2f3b1eabb11d..2e9fd4b4ca0e 100644
--- a/doc/haskell-users-guide.xml
+++ b/doc/haskell-users-guide.xml
@@ -11,14 +11,13 @@
     registered on
     <link xlink:href="http://hackage.haskell.org/">Hackage</link>, but
     strangely enough normal Nix package lookups don't seem to discover
-    any of them:
+    any of them, except for the default version of ghc, cabal-install, and stack:
   </para>
   <programlisting>
-$ nix-env -qa cabal-install
-error: selector ‘cabal-install’ matches no derivations
-
-$ nix-env -i ghc
-error: selector ‘ghc’ matches no derivations
+$ nix-env -i alex
+error: selector ‘alex’ matches no derivations
+$ nix-env -qa ghc
+ghc-7.10.2
 </programlisting>
   <para>
     The Haskell package set is not registered in the top-level namespace