summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2015-01-17 13:52:13 +0100
committerPeter Simons <simons@cryp.to>2015-01-17 20:29:00 +0100
commit3dae2156678d71c83253747928b95ebac3dd1b7c (patch)
treeca84c884113260b6cd89af1bd5ffeca2c5c88e1e /pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
parenta317a4ae11a50287d6ed16b48370786cc98ca6a5 (diff)
downloadnixlib-3dae2156678d71c83253747928b95ebac3dd1b7c.tar
nixlib-3dae2156678d71c83253747928b95ebac3dd1b7c.tar.gz
nixlib-3dae2156678d71c83253747928b95ebac3dd1b7c.tar.bz2
nixlib-3dae2156678d71c83253747928b95ebac3dd1b7c.tar.lz
nixlib-3dae2156678d71c83253747928b95ebac3dd1b7c.tar.xz
nixlib-3dae2156678d71c83253747928b95ebac3dd1b7c.tar.zst
nixlib-3dae2156678d71c83253747928b95ebac3dd1b7c.zip
haskell-utf8-string: fix build on GHC 6.12.x
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
index 59280505fb6b..6641b27f0fd7 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-6.12.x.nix
@@ -57,4 +57,9 @@ self: super: {
   # Haddock chokes on the prologue from the cabal file.
   ChasingBottoms = dontHaddock super.ChasingBottoms;
 
+  # https://github.com/glguy/utf8-string/issues/9
+  utf8-string = overrideCabal super.utf8-string (drv: {
+    patchPhase = "sed -ir -e 's|Extensions: | Extensions: UndecidableInstances, |' utf8-string.cabal";
+  });
+
 }