haskell.packages.*.ghc-{toolchain,platform}: make sure attr exists
These packages are new core packages starting with GHC 9.10, but there is no (simple) way to make them available for older GHCs. We just need to make sure the attributes exist, so we can evaluate packages that depend on them with all GHC versions (even if the build may fail).
This commit is contained in:
@@ -70,6 +70,9 @@ self: super: {
|
||||
|
||||
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-internal = null;
|
||||
# Become core packages in GHC >= 9.10, but aren't uploaded to Hackage
|
||||
ghc-toolchain = null;
|
||||
ghc-platform = null;
|
||||
|
||||
# Becomes a core package in GHC >= 9.0
|
||||
ghc-bignum = lib.pipe self.ghc-bignum_1_0 [
|
||||
|
||||
@@ -72,6 +72,9 @@ self: super: {
|
||||
|
||||
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-internal = null;
|
||||
# Become core packages in GHC >= 9.10, but aren't uploaded to Hackage
|
||||
ghc-toolchain = null;
|
||||
ghc-platform = null;
|
||||
|
||||
# Only required for ghc >= 9.2
|
||||
nothunks = super.nothunks.override {
|
||||
|
||||
@@ -66,6 +66,9 @@ self: super: {
|
||||
|
||||
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-internal = null;
|
||||
# Become core packages in GHC >= 9.10, but aren't uploaded to Hackage
|
||||
ghc-toolchain = null;
|
||||
ghc-platform = null;
|
||||
|
||||
# Becomes a core package in GHC >= 9.8
|
||||
semaphore-compat = doDistribute self.semaphore-compat_1_0_0;
|
||||
|
||||
@@ -61,6 +61,9 @@ self: super: {
|
||||
|
||||
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-internal = null;
|
||||
# Become core packages in GHC >= 9.10, but aren't uploaded to Hackage
|
||||
ghc-toolchain = null;
|
||||
ghc-platform = null;
|
||||
|
||||
# only broken for >= 9.6
|
||||
calligraphy = doDistribute (unmarkBroken super.calligraphy);
|
||||
|
||||
@@ -69,6 +69,9 @@ in
|
||||
|
||||
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-internal = null;
|
||||
# Become core packages in GHC >= 9.10, but aren't uploaded to Hackage
|
||||
ghc-toolchain = null;
|
||||
ghc-platform = null;
|
||||
|
||||
# Needs base-orphans for GHC < 9.8 / base < 4.19
|
||||
some = addBuildDepend self.base-orphans super.some;
|
||||
|
||||
@@ -69,6 +69,9 @@ in
|
||||
|
||||
# Becomes a core package in GHC >= 9.10, no release compatible with GHC < 9.10 is available
|
||||
ghc-internal = null;
|
||||
# Become core packages in GHC >= 9.10, but aren't uploaded to Hackage
|
||||
ghc-toolchain = null;
|
||||
ghc-platform = null;
|
||||
|
||||
#
|
||||
# Version upgrades
|
||||
|
||||
Reference in New Issue
Block a user