diff --git a/pkgs/development/libraries/haskell/ghc-events/default.nix b/pkgs/development/libraries/haskell/ghc-events/default.nix index fa6ae059e845..4827b7494845 100644 --- a/pkgs/development/libraries/haskell/ghc-events/default.nix +++ b/pkgs/development/libraries/haskell/ghc-events/default.nix @@ -7,6 +7,9 @@ cabal.mkDerivation (self: { isLibrary = true; isExecutable = true; buildDepends = [ binary mtl ]; + patchPhase = '' + sed -i -e 's|mtl *>=.*$|mtl,|' ghc-events.cabal + ''; noHaddock = true; meta = { description = "Library and tool for parsing .eventlog files from GHC";