···201201 lib.versionOlder version "9.11"
202202 && !(lib.versionAtLeast version "9.6.7" && lib.versionOlder version "9.8")
203203 && !(lib.versionAtLeast version "9.8.4" && lib.versionOlder version "9.9")
204204+ && !(lib.versionAtLeast version "9.10.2" && lib.versionOlder version "9.11")
204205 )
205206 [
206207 # Determine size of time related types using hsc2hs instead of assuming CLong.
+32-2
pkgs/top-level/haskell-packages.nix
···391391 buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
392392 llvmPackages = pkgs.llvmPackages_15;
393393 };
394394+ ghc9102 = callPackage ../development/compilers/ghc/9.10.2.nix {
395395+ bootPkgs =
396396+ # For GHC 9.6 no armv7l bindists are available.
397397+ if stdenv.buildPlatform.isAarch32 then
398398+ bb.packages.ghc963
399399+ else if stdenv.buildPlatform.isPower64 && stdenv.buildPlatform.isLittleEndian then
400400+ bb.packages.ghc963
401401+ else if stdenv.buildPlatform.isDarwin then
402402+ # it seems like the GHC 9.6.* bindists are built with a different
403403+ # toolchain than we are using (which I'm guessing from the fact
404404+ # that 9.6.4 bindists pass linker flags our ld doesn't support).
405405+ # With both 9.6.3 and 9.6.4 binary it is impossible to link against
406406+ # the clock package (probably a hsc2hs problem).
407407+ bb.packages.ghc963
408408+ else
409409+ bb.packages.ghc963Binary;
410410+ inherit (buildPackages.python3Packages) sphinx;
411411+ # Need to use apple's patched xattr until
412412+ # https://github.com/xattr/xattr/issues/44 and
413413+ # https://github.com/xattr/xattr/issues/55 are solved.
414414+ inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
415415+ # 2023-01-15: Support range >= 11 && < 16
416416+ buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
417417+ llvmPackages = pkgs.llvmPackages_15;
418418+ };
394419 ghc910 = compiler.ghc9101;
395420 ghc9121 = callPackage ../development/compilers/ghc/9.12.1.nix {
396421 bootPkgs =
397422 # No suitable bindist packaged yet
398398- bb.packages.ghc9101;
423423+ bb.packages.ghc9102;
399424 inherit (buildPackages.python3Packages) sphinx;
400425 # Need to use apple's patched xattr until
401426 # https://github.com/xattr/xattr/issues/44 and
···408433 ghc9122 = callPackage ../development/compilers/ghc/9.12.2.nix {
409434 bootPkgs =
410435 # No suitable bindist packaged yet
411411- bb.packages.ghc9101;
436436+ bb.packages.ghc9102;
412437 inherit (buildPackages.python3Packages) sphinx;
413438 # Need to use apple's patched xattr until
414439 # https://github.com/xattr/xattr/issues/44 and
···593618 ghc9101 = callPackage ../development/haskell-modules {
594619 buildHaskellPackages = bh.packages.ghc9101;
595620 ghc = bh.compiler.ghc9101;
621621+ compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { };
622622+ };
623623+ ghc9102 = callPackage ../development/haskell-modules {
624624+ buildHaskellPackages = bh.packages.ghc9102;
625625+ ghc = bh.compiler.ghc9102;
596626 compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { };
597627 };
598628 ghc910 = packages.ghc9101;