mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-13 16:07:30 +03:00
haskell.packages.ghc8{107,84}.OneTuple: provide hashable
We need to manually simulate the following conditional in the cabal file: if impl(ghc >=9.0) build-depends: ghc-prim else build-depends: hashable >=1.3.5.0 && <1.5
This commit is contained in:
parent
b4e2052364
commit
1aa02b5c38
@ -105,4 +105,9 @@ self: super: {
|
||||
|
||||
# weeder 2.3.0 no longer supports GHC 8.10
|
||||
weeder = doDistribute (doJailbreak self.weeder_2_2_0);
|
||||
|
||||
# OneTuple needs hashable instead of ghc-prim for GHC < 9
|
||||
OneTuple = super.OneTuple.override {
|
||||
ghc-prim = self.hashable;
|
||||
};
|
||||
}
|
||||
|
@ -142,4 +142,9 @@ self: super: {
|
||||
# https://github.com/haskell/haskell-language-server/issues/2728
|
||||
hls-hlint-plugin = null;
|
||||
});
|
||||
|
||||
# OneTuple needs hashable instead of ghc-prim for GHC < 9
|
||||
OneTuple = super.OneTuple.override {
|
||||
ghc-prim = self.hashable;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user