haskell.packages.ghc{90,810}.nothunks:don't pull in wherefrom-compat

Upstream only requests the package for ghc >= 9.2 since (?)
wherefrom-compat doesn't support ghc < 9.2.
This commit is contained in:
sternenseemann
2025-02-06 14:32:45 +01:00
parent 52f04f6e36
commit 1236b61f3c
2 changed files with 10 additions and 0 deletions
@@ -64,6 +64,11 @@ self: super: {
# Becomes a core package in GHC >= 9.8
semaphore-compat = doDistribute self.semaphore-compat_1_0_0;
# Only required for ghc >= 9.2
nothunks = super.nothunks.override {
wherefrom-compat = null;
};
# For GHC < 9.4, some packages need data-array-byte as an extra dependency
# For GHC < 9.2, os-string is not required.
primitive = addBuildDepends [ self.data-array-byte ] super.primitive;
@@ -63,6 +63,11 @@ self: super: {
# Becomes a core package in GHC >= 9.8
semaphore-compat = doDistribute self.semaphore-compat_1_0_0;
# Only required for ghc >= 9.2
nothunks = super.nothunks.override {
wherefrom-compat = null;
};
# Jailbreaks & Version Updates
# For GHC < 9.4, some packages need data-array-byte as an extra dependency