summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2020-02-21 11:19:10 +0100
committerPeter Simons <simons@cryp.to>2020-02-28 20:31:25 +0100
commit5bcd07a07dae5706f3fabadb5a4954b262222826 (patch)
treeb02bd211c2446deda74ad63fddfec48c1266826a
parentef30908eef916f6430a0b290c47703c238576cc2 (diff)
haskellPackages: update default compiler from ghc-8.6.5 to 8.8.2 (LTS-15.x)
-rw-r--r--doc/languages-frameworks/haskell.section.md8
-rw-r--r--pkgs/top-level/all-packages.nix2
2 files changed, 5 insertions, 5 deletions
diff --git a/doc/languages-frameworks/haskell.section.md b/doc/languages-frameworks/haskell.section.md
index b485ec583ec3..8cab6208910d 100644
--- a/doc/languages-frameworks/haskell.section.md
+++ b/doc/languages-frameworks/haskell.section.md
@@ -84,18 +84,18 @@ nix-env -qaP -A nixos.haskellPackages
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
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.ghc844
-nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc882
+nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc865
+nix-env -f "<nixpkgs>" -qaP -A haskell.packages.ghc8101
```
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
to compile your Haskell packages with any GHC version you please. The following
command displays the complete list of available compilers:
diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix
index e94c64551407..99633c168f2f 100644
--- a/pkgs/top-level/all-packages.nix
+++ b/pkgs/top-level/all-packages.nix
@@ -8284,7 +8284,7 @@ in
# Please update doc/languages-frameworks/haskell.section.md, “Our
# current default compiler is”, if you bump this:
- haskellPackages = dontRecurseIntoAttrs haskell.packages.ghc865;
+ haskellPackages = dontRecurseIntoAttrs haskell.packages.ghc882;
inherit (haskellPackages) ghc;