haskell.packages.ghc8{84,107}.universe-base: provide OneTuple

universe-base conditionally depends on OneTuple for GHC < 9.0 which we
need to manually reflect via these overrides.
This commit is contained in:
sternenseemann 2022-04-26 19:22:01 +02:00
parent 8022f71559
commit caa10b0bee
2 changed files with 6 additions and 0 deletions

View file

@ -130,4 +130,7 @@ self: super: {
# https://github.com/fpco/inline-c/issues/127 (recommend to upgrade to Nixpkgs GHC >=9.0)
inline-c-cpp = (if isDarwin then dontCheck else x: x) super.inline-c-cpp;
# Depends on OneTuple for GHC < 9.0
universe-base = addBuildDepends [ self.OneTuple ] super.universe-base;
}

View file

@ -162,4 +162,7 @@ self: super: {
# https://github.com/fpco/inline-c/issues/127 (recommend to upgrade to Nixpkgs GHC >=9.0)
inline-c-cpp = (if isDarwin then dontCheck else x: x) super.inline-c-cpp;
# Depends on OneTuple for GHC < 9.0
universe-base = addBuildDepends [ self.OneTuple ] super.universe-base;
}