diff --git a/pkgs/development/libraries/haskell/lens/default.nix b/pkgs/development/libraries/haskell/lens/default.nix index 4531603214e0..8bc221f14933 100644 --- a/pkgs/development/libraries/haskell/lens/default.nix +++ b/pkgs/development/libraries/haskell/lens/default.nix @@ -26,6 +26,9 @@ cabal.mkDerivation (self: { transformers unorderedContainers vector ]; doCheck = false; + patchPhase = '' + sed -i -e 's|generic-deriving.*,|generic-deriving,|' lens.cabal + ''; meta = { homepage = "http://github.com/ekmett/lens/"; description = "Lenses, Folds and Traversals";