From 078346d55e377fbb6fce5dc0e66ea319e6102184 Mon Sep 17 00:00:00 2001 From: sternenseemann Date: Sun, 24 Jul 2022 12:08:58 +0200 Subject: haskell.compiler.ghc941: init at 9.4.0.20220721 --- pkgs/top-level/haskell-packages.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'pkgs/top-level') diff --git a/pkgs/top-level/haskell-packages.nix b/pkgs/top-level/haskell-packages.nix index b0d4a7325ce..8856d412321 100644 --- a/pkgs/top-level/haskell-packages.nix +++ b/pkgs/top-level/haskell-packages.nix @@ -16,12 +16,14 @@ let "native-bignum" "ghc902" "ghc923" + "ghc941" "ghcHEAD" ]; nativeBignumIncludes = [ "ghc902" "ghc923" + "ghc941" "ghcHEAD" ]; @@ -153,6 +155,21 @@ in { buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12; llvmPackages = pkgs.llvmPackages_12; }; + ghc941 = callPackage ../development/compilers/ghc/9.4.1.nix { + bootPkgs = + # TODO(@sternenseemann): Package 9.0.2 bindist or wait for upstream fix + # Need to use 902 due to + # https://gitlab.haskell.org/ghc/ghc/-/issues/21914 + packages.ghc902; + 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; + # Support range >= 10 && < 14 + buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_12; + llvmPackages = pkgs.llvmPackages_12; + }; ghcHEAD = callPackage ../development/compilers/ghc/head.nix { bootPkgs = if stdenv.hostPlatform.isPower64 && stdenv.hostPlatform.isLittleEndian then @@ -265,6 +282,11 @@ in { ghc = bh.compiler.ghc923; compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.2.x.nix { }; }; + ghc941 = callPackage ../development/haskell-modules { + buildHaskellPackages = bh.packages.ghc941; + ghc = bh.compiler.ghc941; + compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.4.x.nix { }; + }; ghcHEAD = callPackage ../development/haskell-modules { buildHaskellPackages = bh.packages.ghcHEAD; ghc = bh.compiler.ghcHEAD; -- cgit 1.4.1