about summary refs log tree commit diff
path: root/pkgs/top-level/haskell-packages.nix
diff options
context:
space:
mode:
authorDennis Gosnell <cdep.illabout@gmail.com>2023-05-27 17:18:10 +0900
committerDennis Gosnell <cdep.illabout@gmail.com>2023-05-27 17:24:01 +0900
commitd7d6b1c4453593888ae63cf69b85e37e3bde98e3 (patch)
treefec10448f8128798e9505796c12dfad444c07fc2 /pkgs/top-level/haskell-packages.nix
parent490b8d0c9a95da15df3af839cd65b924fe8f0d9a (diff)
downloadnixlib-d7d6b1c4453593888ae63cf69b85e37e3bde98e3.tar
nixlib-d7d6b1c4453593888ae63cf69b85e37e3bde98e3.tar.gz
nixlib-d7d6b1c4453593888ae63cf69b85e37e3bde98e3.tar.bz2
nixlib-d7d6b1c4453593888ae63cf69b85e37e3bde98e3.tar.lz
nixlib-d7d6b1c4453593888ae63cf69b85e37e3bde98e3.tar.xz
nixlib-d7d6b1c4453593888ae63cf69b85e37e3bde98e3.tar.zst
nixlib-d7d6b1c4453593888ae63cf69b85e37e3bde98e3.zip
haskell.compiler.ghc928: init at 9.2.8
Diffstat (limited to 'pkgs/top-level/haskell-packages.nix')
-rw-r--r--pkgs/top-level/haskell-packages.nix24
1 files changed, 24 insertions, 0 deletions
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index 3ed35bf46059..66bfcbca079a 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -20,6 +20,7 @@ let
     "ghc925"
     "ghc926"
     "ghc927"
+    "ghc928"
     "ghc92"
     "ghc942"
     "ghc943"
@@ -39,6 +40,7 @@ let
     "ghc925"
     "ghc926"
     "ghc927"
+    "ghc928"
     "ghc94"
     "ghc942"
     "ghc943"
@@ -231,6 +233,23 @@ in {
       buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
       llvmPackages = pkgs.llvmPackages_12;
     };
+    ghc928 = callPackage ../development/compilers/ghc/9.2.8.nix {
+      bootPkgs =
+        # aarch64 ghc8107Binary exceeds max output size on hydra
+        if stdenv.hostPlatform.isAarch then
+          packages.ghc8107BinaryMinimal
+        else if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then
+          packages.ghc810
+        else
+          packages.ghc8107Binary;
+      inherit (buildPackages.python3Packages) sphinx;
+      # Need to use apple's patched xattr until
+      # https://github.com/xattr/xattr/issues/44 and
+      # https://github.com/xattr/xattr/issues/55 are solved.
+      inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
+      buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
+      llvmPackages = pkgs.llvmPackages_12;
+    };
     ghc92 = ghc927;
     ghc942 = callPackage ../development/compilers/ghc/9.4.2.nix {
       bootPkgs =
@@ -485,6 +504,11 @@ in {
       ghc = bh.compiler.ghc927;
       compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.2.x.nix { };
     };
+    ghc928 = callPackage ../development/haskell-modules {
+      buildHaskellPackages = bh.packages.ghc928;
+      ghc = bh.compiler.ghc928;
+      compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.2.x.nix { };
+    };
     ghc92 = ghc927;
     ghc942 = callPackage ../development/haskell-modules {
       buildHaskellPackages = bh.packages.ghc942;