diff --git a/pkgs/development/libraries/haskell/Shellac/Shellac-haskeline.nix b/pkgs/development/libraries/haskell/Shellac/Shellac-haskeline.nix index 4ce09964cc6..9f75a09ee69 100644 --- a/pkgs/development/libraries/haskell/Shellac/Shellac-haskeline.nix +++ b/pkgs/development/libraries/haskell/Shellac/Shellac-haskeline.nix @@ -5,6 +5,9 @@ cabal.mkDerivation (self: { version = "0.2.0.1"; sha256 = "1xvs2ni83yyf7rx3ikmn2bkx20fyj03d03crqyyfw28mikhgv5br"; buildDepends = [ haskeline mtl Shellac ]; + patchPhase = '' + sed -i -e 's|mtl>=1.1 && < 2.1|mtl|' Shellac-haskeline.cabal + ''; meta = { description = "Haskeline backend module for Shellac"; license = self.stdenv.lib.licenses.bsd3;