diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index dd77b35f4762..21b1a411550a 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -68,6 +68,9 @@ self: super: { # os-string >= 2 is incompatible with bytestring < 0.11 os-string = doDistribute self.os-string_1_0_0; + # Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available + ghc-internal = null; + # Becomes a core package in GHC >= 9.0 ghc-bignum = lib.pipe self.ghc-bignum_1_0 [ # ghc-bignum is not buildable if none of the three backends diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index e80373b0c33e..013d3086063b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -70,6 +70,9 @@ self: super: { # Becomes a core package in GHC >= 9.10 os-string = doDistribute self.os-string_1_0_0; + # Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available + ghc-internal = null; + # Only required for ghc >= 9.2 nothunks = super.nothunks.override { wherefrom-compat = null; diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix index 5d5dd8246aba..13a69e721cb0 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.2.x.nix @@ -64,6 +64,9 @@ self: super: { # their existence to callPackages, but their is no shim for lower GHC versions. system-cxx-std-lib = null; + # Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available + ghc-internal = null; + # Becomes a core package in GHC >= 9.8 semaphore-compat = doDistribute self.semaphore-compat_1_0_0;