haskellPackages: update default compiler from ghc-8.6.5 to 8.8.2 (LTS-15.x)

This commit is contained in:
Peter Simons
2020-02-28 20:31:25 +01:00
parent ef30908eef
commit 5bcd07a07d
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -84,18 +84,18 @@ nix-env -qaP -A nixos.haskellPackages
nix-env -iA nixos.haskellPackages.cabal-install nix-env -iA nixos.haskellPackages.cabal-install
``` ```
Our current default compiler is GHC 8.6.x and the `haskellPackages` set Our current default compiler is GHC 8.8.x and the `haskellPackages` set
contains packages built with that particular version. Nixpkgs contains the last 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 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, available that defines Hackage packages built with each of those compilers,
too: too:
```shell ```shell
nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc844 nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc865
nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc882 nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc8101
``` ```
The name `haskellPackages` is really just a synonym for The name `haskellPackages` is really just a synonym for
`haskell.packages.ghc865`, because we prefer that package set internally and `haskell.packages.ghc882`, because we prefer that package set internally and
recommend it to our users as their default choice, but ultimately you are free 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 to compile your Haskell packages with any GHC version you please. The following
command displays the complete list of available compilers: command displays the complete list of available compilers:
+1 -1
View File
@@ -8284,7 +8284,7 @@ in
# Please update doc/languages-frameworks/haskell.section.md, “Our # Please update doc/languages-frameworks/haskell.section.md, “Our
# current default compiler is”, if you bump this: # current default compiler is”, if you bump this:
haskellPackages = dontRecurseIntoAttrs haskell.packages.ghc865; haskellPackages = dontRecurseIntoAttrs haskell.packages.ghc882;
inherit (haskellPackages) ghc; inherit (haskellPackages) ghc;