diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix index 052779e9a1e8..213651405f35 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix @@ -63,12 +63,11 @@ self: super: { # more verbose but friendlier for Hydra. stack = (doJailbreak super.stack).override { Cabal = self.Cabal_2_4_0_1; - hpack = self.hpack_0_31_0; + hpack = self.hpack_0_31_0.override { Cabal = self.Cabal_2_4_0_1; }; yaml = self.yaml_0_11_0_0; hackage-security = self.hackage-security.override { Cabal = self.Cabal_2_4_0_1; }; }; hpack_0_31_0 = super.hpack_0_31_0.override { - Cabal = self.Cabal_2_4_0_1; yaml = self.yaml_0_11_0_0; };