git.iko.soy/typeable/nixpkgs
on master help sign in
haskell-utf8-string: fix build with ghc 6.12.x

The "sed" command stopped working recently. I have no idea why, but the new patch is simpler anyway.

commit843aee694d7fe895f4cd8f3efb6eee15be2fe2d7 authorPeter Simons <simons@cryp.to> dateThu 22 Jan 2015, 22:59 (12 years ago) parentb96edd4
1 file changed+1−3
pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix+1−3
pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix+1−3
@@ -59,9 +59,7 @@ self: super: {
5959 ChasingBottoms = dontHaddock super.ChasingBottoms;
6060
6161 # https://github.com/glguy/utf8-string/issues/9
62− utf8-string = overrideCabal super.utf8-string (drv: {
63− patchPhase = "sed -ir -e 's|Extensions: | Extensions: UndecidableInstances, |' utf8-string.cabal";
64− });
62+ utf8-string = appendConfigureFlag super.utf8-string "--ghc-option=-XUndecidableInstances";
6563
6664 # https://github.com/haskell/HTTP/issues/80
6765 HTTP = doJailbreak super.HTTP;