haskell.packages.ghc{810,90}.hashable: don't pull in os-string
os-string only becomes a dependency after GHC 9.2 and can't be built with these older compilers. Fixes build of elmPackages.elm-instrument.
This commit is contained in:
parent
34ce1162d3
commit
0dd2e00563
2 changed files with 8 additions and 2 deletions
|
@ -60,11 +60,14 @@ self: super: {
|
|||
system-cxx-std-lib = 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;
|
||||
hashable = addBuildDepends [
|
||||
self.data-array-byte
|
||||
self.base-orphans
|
||||
] super.hashable;
|
||||
] (super.hashable.override {
|
||||
os-string = null;
|
||||
});
|
||||
|
||||
# Too strict lower bounds on base
|
||||
primitive-addr = doJailbreak super.primitive-addr;
|
||||
|
|
|
@ -60,10 +60,13 @@ self: super: {
|
|||
|
||||
# For GHC < 9.4, some packages need data-array-byte as an extra dependency
|
||||
primitive = addBuildDepends [ self.data-array-byte ] super.primitive;
|
||||
# For GHC < 9.2, os-string is not required.
|
||||
hashable = addBuildDepends [
|
||||
self.data-array-byte
|
||||
self.base-orphans
|
||||
] super.hashable;
|
||||
] (super.hashable.override {
|
||||
os-string = null;
|
||||
});
|
||||
|
||||
# Too strict lower bounds on base
|
||||
primitive-addr = doJailbreak super.primitive-addr;
|
||||
|
|
Loading…
Reference in a new issue