Unverified Commit ac5228c6 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

haskell.compiler.ghc9101: drop

Latest 9.10.x minor release is 9.10.2, which is also in Stackage 24.8.

Thus, dropping according to the GHC Deprecation Policy.
parent 14488d40
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
import ./common-hadrian.nix {
  version = "9.10.1";
  sha256 = "bf386a302d4ee054791ffd51748900f15d71760fd199157922d120cc1f89e2f7";
}
+16 −23
Original line number Diff line number Diff line
@@ -185,15 +185,8 @@
          || (lib.versionAtLeast version "9.8" && lib.versionOlder version "9.11");
      in

      lib.optionals
        (
          # 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")
          && !(lib.versionAtLeast version "9.10.2" && lib.versionOlder version "9.11")
        )
        [
      # 2025-01-16: unix >= 2.8.6.0 is unaffected which is shipped by GHC 9.12.1, 9.10.2, 9.8.4 and 9.6.7
      lib.optionals (lib.versionOlder version "9.6.7") [
        # Determine size of time related types using hsc2hs instead of assuming CLong.
        # Prevents failures when e.g. stat(2)ing on 32bit systems with 64bit time_t etc.
        # https://github.com/haskell/ghcup-hs/issues/1107
+0 −23
Original line number Diff line number Diff line
@@ -121,24 +121,6 @@ in
        inherit buildTargetLlvmPackages llvmPackages;
      };
      ghc98 = compiler.ghc984;
      ghc9101 = callPackage ../development/compilers/ghc/9.10.1.nix {
        bootPkgs =
          if stdenv.buildPlatform.isDarwin then
            # it seems like the GHC 9.6.* bindists are built with a different
            # toolchain than we are using (which I'm guessing from the fact
            # that 9.6.4 bindists pass linker flags our ld doesn't support).
            # With both 9.6.3 and 9.6.4 binary it is impossible to link against
            # the clock package (probably a hsc2hs problem).
            bb.packages.ghc967
          else
            bb.packages.ghc963Binary;
        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;
        inherit buildTargetLlvmPackages llvmPackages;
      };
      ghc9102 = callPackage ../development/compilers/ghc/9.10.2.nix {
        bootPkgs =
          if stdenv.buildPlatform.isDarwin then
@@ -284,11 +266,6 @@ in
        compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.8.x.nix { };
      };
      ghc98 = packages.ghc984;
      ghc9101 = callPackage ../development/haskell-modules {
        buildHaskellPackages = bh.packages.ghc9101;
        ghc = bh.compiler.ghc9101;
        compilerConfig = callPackage ../development/haskell-modules/configuration-ghc-9.10.x.nix { };
      };
      ghc9102 = callPackage ../development/haskell-modules {
        buildHaskellPackages = bh.packages.ghc9102;
        ghc = bh.compiler.ghc9102;
+0 −4
Original line number Diff line number Diff line
@@ -66,7 +66,6 @@ let
    ghc948
    ghc967
    ghc984
    ghc9101
    ghc9102
    ghc9103
    # exclude ghc9121 due to severe miscompilation bug
@@ -552,14 +551,12 @@ let
      funcmp = released;
      git-annex = [
        # for 9.10, test that using filepath (instead of filepath-bytestring) works.
        compilerNames.ghc9101
        compilerNames.ghc9102
        compilerNames.ghc9103
      ];
      haskell-language-server = released;
      hoogle = released;
      hlint = lib.subtractLists [
        compilerNames.ghc9101
        compilerNames.ghc9102
        compilerNames.ghc9103
        compilerNames.ghc9122
@@ -587,7 +584,6 @@ let
        compilerNames.ghc967
      ];
      weeder = lib.subtractLists [
        compilerNames.ghc9101
        compilerNames.ghc9102
        compilerNames.ghc9103
        compilerNames.ghc9122