summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorDomen Kožar <domen@dev.si>2020-01-09 14:35:06 +0100
committerGitHub <noreply@github.com>2020-01-09 14:35:06 +0100
commit2e765ef206add097cb343c97056a5b4e261d5596 (patch)
tree20a304c46d3115a97a2835f2921d2b7628962f70 /doc
parent80f1d9a7f254327bb7b81d24eae715163425d358 (diff)
parent262219be2194426f74bc6cc25265a66c4e443902 (diff)
Merge pull request #77298 from nomeata/haskell-docs-version
nixpkgs manual: Update Haskell versions
Diffstat (limited to 'doc')
-rw-r--r--doc/languages-frameworks/haskell.section.md29
1 files changed, 14 insertions, 15 deletions
diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md
index be5c7b7c8d16..b485ec583ec3 100644
--- a/doc/languages-frameworks/haskell.section.md
+++ b/doc/languages-frameworks/haskell.section.md
@@ -84,37 +84,36 @@ nix-env -qaP -A nixos.haskellPackages
nix-env -iA nixos.haskellPackages.cabal-install
```
-Our current default compiler is GHC 7.10.x and the `haskellPackages` set
-contains packages built with that particular version. Nixpkgs contains the
-latest major release of every GHC since 6.10.4, however, and there is a whole
-family of package sets available that defines Hackage packages built with each
-of those compilers, too:
+Our current default compiler is GHC 8.6.x and the `haskellPackages` set
+contains packages built with that particular version. Nixpkgs contains the last
+three major releases of GHC and there is a whole family of package sets
+available that defines Hackage packages built with each of those compilers,
+too:
```shell
-nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc6123
-nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc763
+nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc844
+nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc882
```
The name `haskellPackages` is really just a synonym for
-`haskell.packages.ghc7102`, because we prefer that package set internally and
+`haskell.packages.ghc865`, because we prefer that package set internally and
recommend it to our users as their default choice, but ultimately you are free
to compile your Haskell packages with any GHC version you please. The following
command displays the complete list of available compilers:
```
$ nix-env -f "<nixpkgs>" -qaP -A haskell.compiler
-haskell.compiler.ghc822 ghc-8.2.2
-haskell.compiler.integer-simple.ghc822 ghc-8.2.2
+haskell.compiler.ghc8101 ghc-8.10.0.20191210
+haskell.compiler.integer-simple.ghc8101 ghc-8.10.0.20191210
+haskell.compiler.ghcHEAD ghc-8.10.20191119
+haskell.compiler.integer-simple.ghcHEAD ghc-8.10.20191119
haskell.compiler.ghc822Binary ghc-8.2.2-binary
haskell.compiler.ghc844 ghc-8.4.4
haskell.compiler.ghc863Binary ghc-8.6.3-binary
-haskell.compiler.ghc864 ghc-8.6.4
-haskell.compiler.integer-simple.ghc864 ghc-8.6.4
haskell.compiler.ghc865 ghc-8.6.5
haskell.compiler.integer-simple.ghc865 ghc-8.6.5
haskell.compiler.ghc881 ghc-8.8.1
haskell.compiler.integer-simple.ghc881 ghc-8.8.1
-haskell.compiler.ghcHEAD ghc-8.9.20190601
-haskell.compiler.integer-simple.ghcHEAD ghc-8.9.20190601
-haskell.compiler.ghcjs84 ghcjs-8.4.0.1
+haskell.compiler.ghc882 ghc-8.8.1.20191211
+haskell.compiler.integer-simple.ghc882 ghc-8.8.1.20191211
haskell.compiler.ghcjs ghcjs-8.6.0.1
```