diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix index 6695758328a..935b4d6d9da 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.6.x.nix @@ -81,7 +81,7 @@ self: super: { # https://github.com/haskell/fgl/issues/79 # https://github.com/haskell/fgl/issues/81 - fgl = appendPatch super.fgl ./patches/fgl-monad-fail.patch; + fgl = appendPatch (overrideCabal super.fgl (drv: { editedCabalFile = null; })) ./patches/fgl-monad-fail.patch; # Test suite does not compile. cereal = dontCheck super.cereal;