summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2014-02-02 23:16:29 +0100
committerPeter Simons <simons@cryp.to>2014-02-02 23:16:29 +0100
commitc6053075bd46fc73ec1ddacca3b2942ac87bd0dc (patch)
tree974c0bebcfa3b2f3275603e84d001a237cf52ae0
parente3651da23e7bf54ff04d65f32311cc69393ba973 (diff)
downloadnixlib-c6053075bd46fc73ec1ddacca3b2942ac87bd0dc.tar
nixlib-c6053075bd46fc73ec1ddacca3b2942ac87bd0dc.tar.gz
nixlib-c6053075bd46fc73ec1ddacca3b2942ac87bd0dc.tar.bz2
nixlib-c6053075bd46fc73ec1ddacca3b2942ac87bd0dc.tar.lz
nixlib-c6053075bd46fc73ec1ddacca3b2942ac87bd0dc.tar.xz
nixlib-c6053075bd46fc73ec1ddacca3b2942ac87bd0dc.tar.zst
nixlib-c6053075bd46fc73ec1ddacca3b2942ac87bd0dc.zip
haskell-hakyll: jailbreak to fix build with recent versions of regex-tdfa
https://github.com/NixOS/nixos/issues/281
-rw-r--r--pkgs/development/libraries/haskell/hakyll/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/libraries/haskell/hakyll/default.nix b/pkgs/development/libraries/haskell/hakyll/default.nix
index 22ad997b32a3..e027111c6b6b 100644
--- a/pkgs/development/libraries/haskell/hakyll/default.nix
+++ b/pkgs/development/libraries/haskell/hakyll/default.nix
@@ -27,8 +27,10 @@ cabal.mkDerivation (self: {
   ];
   doCheck = false;
   patchPhase = ''
-    sed -i -e 's|blaze-markup.*,|blaze-markup,|' -e 's|blaze-html.*,|blaze-html,|' \
-      -e 's|pandoc-citeproc.*,|pandoc-citeproc,|' hakyll.cabal
+    sed -i -e 's|blaze-markup.*,|blaze-markup,|' \
+      -e 's|blaze-html.*,|blaze-html,|' \
+      -e 's|pandoc-citeproc.*,|pandoc-citeproc,|' \
+      -e 's|regex-tdfa.*,|regex-tdfa,|' hakyll.cabal
   '';
   meta = {
     homepage = "http://jaspervdj.be/hakyll";