haskell.compiler.ghc967: init at 9.6.7

Release notes:
https://downloads.haskell.org/ghc/9.6.7/docs/users_guide/9.6.7-notes.html

Co-authored-by: sternenseemann <sternenseemann@systemli.org>

Changed files
+34 -4
pkgs
development
compilers
tools
haskell
hadrian
top-level
+4
pkgs/development/compilers/ghc/9.6.7.nix
···
···
+
import ./common-hadrian.nix {
+
version = "9.6.7";
+
sha256 = "sha256-0FO/bOHViKdc/oyTFiaUhunY+4nc32/ZKDb6Lj32EwU=";
+
}
+2 -1
pkgs/development/compilers/ghc/common-hadrian.nix
···
in
# Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
-
lib.optionals (lib.versionOlder version "9.8") [
./docs-sphinx-7.patch
]
++ lib.optional (
# 2025-01-16: unix >= 2.8.6.0 is unaffected which is shipped by GHC 9.12.1 and 9.8.4
lib.versionOlder version "9.11"
&& !(lib.versionAtLeast version "9.8.4" && lib.versionOlder version "9.9")
) [
# Determine size of time related types using hsc2hs instead of assuming CLong.
···
in
# Fix docs build with Sphinx >= 7 https://gitlab.haskell.org/ghc/ghc/-/issues/24129
+
lib.optionals (lib.versionOlder version "9.6.7") [
./docs-sphinx-7.patch
]
++ lib.optional (
# 2025-01-16: unix >= 2.8.6.0 is unaffected which is shipped by GHC 9.12.1 and 9.8.4
lib.versionOlder version "9.11"
+
&& !(lib.versionAtLeast version "9.6.7" && lib.versionOlder version "9.8")
&& !(lib.versionAtLeast version "9.8.4" && lib.versionOlder version "9.9")
) [
# Determine size of time related types using hsc2hs instead of assuming CLong.
+2 -1
pkgs/development/tools/haskell/hadrian/hadrian.nix
···
# that only seems to affect Windows. We never build GHC natively on Windows.
# https://gitlab.haskell.org/ghc/ghc/-/issues/24382
# https://gitlab.haskell.org/ghc/ghc/-/commit/a2c033cf82635c83f3107706634bebee43297b99
-
(lib.versionAtLeast ghcVersion "9.12" && lib.versionOlder ghcVersion "9.15");
isLibrary = false;
isExecutable = true;
executableHaskellDepends =
···
# that only seems to affect Windows. We never build GHC natively on Windows.
# https://gitlab.haskell.org/ghc/ghc/-/issues/24382
# https://gitlab.haskell.org/ghc/ghc/-/commit/a2c033cf82635c83f3107706634bebee43297b99
+
(lib.versionAtLeast ghcVersion "9.6.7" && lib.versionOlder ghcVersion "9.7")
+
|| (lib.versionAtLeast ghcVersion "9.12" && lib.versionOlder ghcVersion "9.15");
isLibrary = false;
isExecutable = true;
executableHaskellDepends =
+25 -2
pkgs/top-level/haskell-packages.nix
···
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
llvmPackages = pkgs.llvmPackages_15;
};
-
ghc96 = compiler.ghc966;
ghc981 = callPackage ../development/compilers/ghc/9.8.1.nix {
bootPkgs =
# For GHC 9.6 no armv7l bindists are available.
···
ghc = bh.compiler.ghc966;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.6.x.nix { };
};
-
ghc96 = packages.ghc966;
ghc981 = callPackage ../development/haskell-modules {
buildHaskellPackages = bh.packages.ghc981;
ghc = bh.compiler.ghc981;
···
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
llvmPackages = pkgs.llvmPackages_15;
};
+
ghc967 = callPackage ../development/compilers/ghc/9.6.7.nix {
+
bootPkgs =
+
# For GHC 9.2 no armv7l bindists are available.
+
if stdenv.buildPlatform.isAarch32 then
+
bb.packages.ghc928
+
else if stdenv.buildPlatform.isPower64 && stdenv.buildPlatform.isLittleEndian then
+
bb.packages.ghc928
+
else
+
bb.packages.ghc924Binary;
+
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 >= 11 && < 16
+
buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
+
llvmPackages = pkgs.llvmPackages_15;
+
};
+
ghc96 = compiler.ghc967;
ghc981 = callPackage ../development/compilers/ghc/9.8.1.nix {
bootPkgs =
# For GHC 9.6 no armv7l bindists are available.
···
ghc = bh.compiler.ghc966;
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.6.x.nix { };
};
+
ghc967 = callPackage ../development/haskell-modules {
+
buildHaskellPackages = bh.packages.ghc967;
+
ghc = bh.compiler.ghc967;
+
compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.6.x.nix { };
+
};
+
ghc96 = packages.ghc967;
ghc981 = callPackage ../development/haskell-modules {
buildHaskellPackages = bh.packages.ghc981;
ghc = bh.compiler.ghc981;
+1
pkgs/top-level/release-haskell.nix
···
ghc964
ghc965
ghc966
ghc981
ghc982
ghc983
···
ghc964
ghc965
ghc966
+
ghc967
ghc981
ghc982
ghc983