summary refs log tree commit diff
path: root/pkgs/development/compilers/ghc/common-hadrian.nix
diff options
context:
space:
mode:
authorVaibhav Sagar <vaibhavsagar@gmail.com>2023-10-10 15:53:34 +1100
committersternenseemann <sternenseemann@systemli.org>2023-10-15 00:43:20 +0200
commita63c085661f8c13974fbd6434bb1a7c748a4d750 (patch)
treeff9b5179915277580df79cc2301dcb8f62d47483 /pkgs/development/compilers/ghc/common-hadrian.nix
parente63a47bef93698768a54bc77e5c423975c6759b4 (diff)
downloadnixpkgs-a63c085661f8c13974fbd6434bb1a7c748a4d750.tar
nixpkgs-a63c085661f8c13974fbd6434bb1a7c748a4d750.tar.gz
nixpkgs-a63c085661f8c13974fbd6434bb1a7c748a4d750.tar.bz2
nixpkgs-a63c085661f8c13974fbd6434bb1a7c748a4d750.tar.lz
nixpkgs-a63c085661f8c13974fbd6434bb1a7c748a4d750.tar.xz
nixpkgs-a63c085661f8c13974fbd6434bb1a7c748a4d750.tar.zst
nixpkgs-a63c085661f8c13974fbd6434bb1a7c748a4d750.zip
haskell.compiler.ghc98: init at 9.8.1
https://www.haskell.org/ghc/blog/20231009-ghc-9.8.1-released.html

- Use source-built GHC 9.4.7, pending packaging of bindist.
- The aarch64-linux space saving strategy via disabling hyperlinked
  source is disabled for now, pending either an updated patch or
  an user defined flavour using
  https://gitlab.haskell.org/ghc/ghc/-/merge_requests/10850.

Co-authored-by: sternenseemann <sternenseemann@systemli.org>
Diffstat (limited to 'pkgs/development/compilers/ghc/common-hadrian.nix')
-rw-r--r--pkgs/development/compilers/ghc/common-hadrian.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/compilers/ghc/common-hadrian.nix b/pkgs/development/compilers/ghc/common-hadrian.nix
index c7b4aa1f878..e876c4be0af 100644
--- a/pkgs/development/compilers/ghc/common-hadrian.nix
+++ b/pkgs/development/compilers/ghc/common-hadrian.nix
@@ -155,7 +155,10 @@
     ghcVersion = version;
     userSettings = hadrianUserSettings;
     # Disable haddock generating pretty source listings to stay under 3GB on aarch64-linux
-    enableHyperlinkedSource = !(stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux);
+    enableHyperlinkedSource =
+      # TODO(@sternenseemann): Disabling currently doesn't work with GHC >= 9.8
+      lib.versionAtLeast version "9.8" ||
+      !(stdenv.hostPlatform.isAarch64 && stdenv.hostPlatform.isLinux);
   }
 
 , #  Whether to build sphinx documentation.