summary refs log tree commit diff
path: root/pkgs/top-level
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-02-28 23:16:54 +0100
committersternenseemann <sternenseemann@systemli.org>2023-03-01 00:39:01 +0100
commit81d5cb1550ef0a58c5ee529c743065cc93a7fb64 (patch)
tree62fbbb383148a224ce3338ca019e6e856edc9d33 /pkgs/top-level
parent994e845bd0788f37cf2d6293bdcbcaf460c56dc3 (diff)
downloadnixpkgs-81d5cb1550ef0a58c5ee529c743065cc93a7fb64.tar
nixpkgs-81d5cb1550ef0a58c5ee529c743065cc93a7fb64.tar.gz
nixpkgs-81d5cb1550ef0a58c5ee529c743065cc93a7fb64.tar.bz2
nixpkgs-81d5cb1550ef0a58c5ee529c743065cc93a7fb64.tar.lz
nixpkgs-81d5cb1550ef0a58c5ee529c743065cc93a7fb64.tar.xz
nixpkgs-81d5cb1550ef0a58c5ee529c743065cc93a7fb64.tar.zst
nixpkgs-81d5cb1550ef0a58c5ee529c743065cc93a7fb64.zip
haskell.compiler.ghc927: init at 9.2.7
https://www.haskell.org/ghc/blog/20230227-ghc-9.2.7-released.html
Diffstat (limited to 'pkgs/top-level')
-rw-r--r--pkgs/top-level/haskell-packages.nix24
-rw-r--r--pkgs/top-level/release-haskell.nix5
2 files changed, 29 insertions, 0 deletions
diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix
index 6a2ed917c30..f4f526cc485 100644
--- a/pkgs/top-level/haskell-packages.nix
+++ b/pkgs/top-level/haskell-packages.nix
@@ -19,6 +19,7 @@ let
     "ghc924"
     "ghc925"
     "ghc926"
+    "ghc927"
     "ghc92"
     "ghc942"
     "ghc943"
@@ -34,6 +35,7 @@ let
     "ghc924"
     "ghc925"
     "ghc926"
+    "ghc927"
     "ghc94"
     "ghc942"
     "ghc943"
@@ -206,6 +208,23 @@ in {
       buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12;
       llvmPackages = pkgs.llvmPackages_12;
     };
+    ghc927 = callPackage ../development/compilers/ghc/9.2.7.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 = ghc926;
     ghc942 = callPackage ../development/compilers/ghc/9.4.2.nix {
       bootPkgs =
@@ -410,6 +429,11 @@ in {
       ghc = bh.compiler.ghc926;
       compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.2.x.nix { };
     };
+    ghc927 = callPackage ../development/haskell-modules {
+      buildHaskellPackages = bh.packages.ghc927;
+      ghc = bh.compiler.ghc927;
+      compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.2.x.nix { };
+    };
     ghc92 = ghc926;
     ghc942 = callPackage ../development/haskell-modules {
       buildHaskellPackages = bh.packages.ghc942;
diff --git a/pkgs/top-level/release-haskell.nix b/pkgs/top-level/release-haskell.nix
index 2248efd6583..9a06b9c9eed 100644
--- a/pkgs/top-level/release-haskell.nix
+++ b/pkgs/top-level/release-haskell.nix
@@ -53,6 +53,7 @@ let
     ghc924
     ghc925
     ghc926
+    ghc927
     ghc944
   ];
 
@@ -403,6 +404,7 @@ let
         compilerNames.ghc924
         compilerNames.ghc925
         compilerNames.ghc926
+        compilerNames.ghc927
         compilerNames.ghc944
       ];
       weeder = [
@@ -411,6 +413,7 @@ let
         compilerNames.ghc924
         compilerNames.ghc925
         compilerNames.ghc926
+        compilerNames.ghc927
       ];
     })
     {
@@ -481,12 +484,14 @@ let
           jobs.pkgsMusl.haskell.compiler.ghc924
           jobs.pkgsMusl.haskell.compiler.ghc925
           jobs.pkgsMusl.haskell.compiler.ghc926
+          jobs.pkgsMusl.haskell.compiler.ghc927
           jobs.pkgsMusl.haskell.compiler.ghcHEAD
           jobs.pkgsMusl.haskell.compiler.integer-simple.ghc8107
           jobs.pkgsMusl.haskell.compiler.native-bignum.ghc902
           jobs.pkgsMusl.haskell.compiler.native-bignum.ghc924
           jobs.pkgsMusl.haskell.compiler.native-bignum.ghc925
           jobs.pkgsMusl.haskell.compiler.native-bignum.ghc926
+          jobs.pkgsMusl.haskell.compiler.native-bignum.ghc927
           jobs.pkgsMusl.haskell.compiler.native-bignum.ghcHEAD
         ];
       };