diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 3a3282d2ab73..d119f0a0d331 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1953,4 +1953,6 @@ EOT # https://github.com/erikd/wide-word/issues/57 wide-word = doJailbreak super.wide-word; + hackage-db_2_1_0 = doDistribute super.hackage-db_2_1_0; + } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super 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 2c4612daac34..454b7338d66d 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -89,6 +89,6 @@ self: super: { # hackage-db 2.1.1 is incompatible with Cabal < 3.4 # See https://github.com/NixOS/cabal2nix/issues/501 - hackage-db = super.hackage-db_2_1_0; + hackage-db = self.hackage-db_2_1_0; }