From 5bcd07a07dae5706f3fabadb5a4954b262222826 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 21 Feb 2020 11:19:10 +0100 Subject: haskellPackages: update default compiler from ghc-8.6.5 to 8.8.2 (LTS-15.x) --- doc/languages-frameworks/haskell.section.md | 8 ++++---- pkgs/top-level/all-packages.nix | 2 +- 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 "" -qaP -A haskell.packages.ghc844 -nix-env -f "" -qaP -A haskell.packages.ghc882 +nix-env -f "" -qaP -A haskell.packages.ghc865 +nix-env -f "" -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; -- cgit v1.2.3