about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2013-03-21 22:43:34 +0100
committerPeter Simons <simons@cryp.to>2013-03-21 22:43:34 +0100
commitefd18b91fdd0bef1c00567595a0b016959aee47a (patch)
treeb642c122d82096b6d567759ebfe1caa46e8b3546
parent31c513d4b75d6202feaba4b185f01efcff7e4c7c (diff)
downloadnixlib-efd18b91fdd0bef1c00567595a0b016959aee47a.tar
nixlib-efd18b91fdd0bef1c00567595a0b016959aee47a.tar.gz
nixlib-efd18b91fdd0bef1c00567595a0b016959aee47a.tar.bz2
nixlib-efd18b91fdd0bef1c00567595a0b016959aee47a.tar.lz
nixlib-efd18b91fdd0bef1c00567595a0b016959aee47a.tar.xz
nixlib-efd18b91fdd0bef1c00567595a0b016959aee47a.tar.zst
nixlib-efd18b91fdd0bef1c00567595a0b016959aee47a.zip
haskell-HSH: fix build with ghc 7.4.x
-rw-r--r--pkgs/development/libraries/haskell/HSH/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/libraries/haskell/HSH/default.nix b/pkgs/development/libraries/haskell/HSH/default.nix
index f80f74a3dc2b..107e3df979b2 100644
--- a/pkgs/development/libraries/haskell/HSH/default.nix
+++ b/pkgs/development/libraries/haskell/HSH/default.nix
@@ -1,5 +1,5 @@
 { cabal, filepath, hslogger, MissingH, mtl, regexBase, regexCompat
-, regexPosix
+, regexPosix, fetchurl
 }:
 
 cabal.mkDerivation (self: {
@@ -11,6 +11,7 @@ cabal.mkDerivation (self: {
   buildDepends = [
     filepath hslogger MissingH mtl regexBase regexCompat regexPosix
   ];
+  patches = [ (fetchurl { url = "https://github.com/jgoerzen/hsh/pull/10.patch"; sha256 = "0fw2ihl4hlncggwf3v4d7aydm3rzgzpcxplfbwq7janysix4q950"; }) ];
   meta = {
     homepage = "http://software.complete.org/hsh";
     description = "Library to mix shell scripting with Haskell programs";