diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 5b13e0d036b7..8806f8274ea4 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -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; } diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index 9a6e8ccab16d..98eaab707317 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -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; }