···201 lib.versionOlder version "9.11"
202 && !(lib.versionAtLeast version "9.6.7" && lib.versionOlder version "9.8")
203 && !(lib.versionAtLeast version "9.8.4" && lib.versionOlder version "9.9")
0204 )
205 [
206 # Determine size of time related types using hsc2hs instead of assuming CLong.
···201 lib.versionOlder version "9.11"
202 && !(lib.versionAtLeast version "9.6.7" && lib.versionOlder version "9.8")
203 && !(lib.versionAtLeast version "9.8.4" && lib.versionOlder version "9.9")
204+ && !(lib.versionAtLeast version "9.10.2" && lib.versionOlder version "9.11")
205 )
206 [
207 # Determine size of time related types using hsc2hs instead of assuming CLong.
+32-2
pkgs/top-level/haskell-packages.nix
···391 buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
392 llvmPackages = pkgs.llvmPackages_15;
393 };
0000000000000000000000000394 ghc910 = compiler.ghc9101;
395 ghc9121 = callPackage ../development/compilers/ghc/9.12.1.nix {
396 bootPkgs =
397 # No suitable bindist packaged yet
398- bb.packages.ghc9101;
399 inherit (buildPackages.python3Packages) sphinx;
400 # Need to use apple's patched xattr until
401 # https://github.com/xattr/xattr/issues/44 and
···408 ghc9122 = callPackage ../development/compilers/ghc/9.12.2.nix {
409 bootPkgs =
410 # No suitable bindist packaged yet
411- bb.packages.ghc9101;
412 inherit (buildPackages.python3Packages) sphinx;
413 # Need to use apple's patched xattr until
414 # https://github.com/xattr/xattr/issues/44 and
···593 ghc9101 = callPackage ../development/haskell-modules {
594 buildHaskellPackages = bh.packages.ghc9101;
595 ghc = bh.compiler.ghc9101;
00000596 compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { };
597 };
598 ghc910 = packages.ghc9101;
···391 buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
392 llvmPackages = pkgs.llvmPackages_15;
393 };
394+ ghc9102 = callPackage ../development/compilers/ghc/9.10.2.nix {
395+ bootPkgs =
396+ # For GHC 9.6 no armv7l bindists are available.
397+ if stdenv.buildPlatform.isAarch32 then
398+ bb.packages.ghc963
399+ else if stdenv.buildPlatform.isPower64 && stdenv.buildPlatform.isLittleEndian then
400+ bb.packages.ghc963
401+ else if stdenv.buildPlatform.isDarwin then
402+ # it seems like the GHC 9.6.* bindists are built with a different
403+ # toolchain than we are using (which I'm guessing from the fact
404+ # that 9.6.4 bindists pass linker flags our ld doesn't support).
405+ # With both 9.6.3 and 9.6.4 binary it is impossible to link against
406+ # the clock package (probably a hsc2hs problem).
407+ bb.packages.ghc963
408+ else
409+ bb.packages.ghc963Binary;
410+ inherit (buildPackages.python3Packages) sphinx;
411+ # Need to use apple's patched xattr until
412+ # https://github.com/xattr/xattr/issues/44 and
413+ # https://github.com/xattr/xattr/issues/55 are solved.
414+ inherit (buildPackages.darwin) xattr autoSignDarwinBinariesHook;
415+ # 2023-01-15: Support range >= 11 && < 16
416+ buildTargetLlvmPackages = pkgsBuildTarget.llvmPackages_15;
417+ llvmPackages = pkgs.llvmPackages_15;
418+ };
419 ghc910 = compiler.ghc9101;
420 ghc9121 = callPackage ../development/compilers/ghc/9.12.1.nix {
421 bootPkgs =
422 # No suitable bindist packaged yet
423+ bb.packages.ghc9102;
424 inherit (buildPackages.python3Packages) sphinx;
425 # Need to use apple's patched xattr until
426 # https://github.com/xattr/xattr/issues/44 and
···433 ghc9122 = callPackage ../development/compilers/ghc/9.12.2.nix {
434 bootPkgs =
435 # No suitable bindist packaged yet
436+ bb.packages.ghc9102;
437 inherit (buildPackages.python3Packages) sphinx;
438 # Need to use apple's patched xattr until
439 # https://github.com/xattr/xattr/issues/44 and
···618 ghc9101 = callPackage ../development/haskell-modules {
619 buildHaskellPackages = bh.packages.ghc9101;
620 ghc = bh.compiler.ghc9101;
621+ compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { };
622+ };
623+ ghc9102 = callPackage ../development/haskell-modules {
624+ buildHaskellPackages = bh.packages.ghc9102;
625+ ghc = bh.compiler.ghc9102;
626 compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { };
627 };
628 ghc910 = packages.ghc9101;