summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
diff options
context:
space:
mode:
authorNikolay Amiantov <ab@fmap.me>2015-04-17 23:50:29 +0300
committerNikolay Amiantov <ab@fmap.me>2015-04-18 00:07:57 +0300
commit152a8add72c0294d8cdddbede6700be612abbe54 (patch)
treed8a7829a57113896cf5ff3f058b18b53c9372cdc /pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
parentd3503422e216d627c28a510e8402d054bfa61dd3 (diff)
downloadnixpkgs-152a8add72c0294d8cdddbede6700be612abbe54.tar
nixpkgs-152a8add72c0294d8cdddbede6700be612abbe54.tar.gz
nixpkgs-152a8add72c0294d8cdddbede6700be612abbe54.tar.bz2
nixpkgs-152a8add72c0294d8cdddbede6700be612abbe54.tar.lz
nixpkgs-152a8add72c0294d8cdddbede6700be612abbe54.tar.xz
nixpkgs-152a8add72c0294d8cdddbede6700be612abbe54.tar.zst
nixpkgs-152a8add72c0294d8cdddbede6700be612abbe54.zip
haskellngPackages.edit-distance: fix for GHC 7.10
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
index f1458be845a..cf896f6ad8b 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-7.10.x.nix
@@ -321,4 +321,11 @@ self: super: {
   # Sent e-mail to the maintainer.
   IOSpec = appendPatch super.IOSpec ./IOSpec-fix-ghc710.patch;
 
+  # Updated Cabal file from Hackage tightened version bounds for some reason.
+  edit-distance = let pkg = appendPatch super.edit-distance ./edit-distance-fix-boundaries.patch;
+                  in appendPatch pkg (pkgs.fetchpatch {
+                    url = "https://patch-diff.githubusercontent.com/raw/batterseapower/edit-distance/pull/3.patch";
+                    sha256 = "013x9za47vr9jx0liwgi8cdh2h2882a87h5nqvr41xqipzxfiyw1";
+                  });
+
 }