summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 443a5348f5d..abe2ed36979 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -154,6 +154,11 @@ self: super: {
   glade = overrideCabal super.gio (drv: { pkgconfigDepends = [pkgs.gtk2]; });
   pango = super.pango.override { cairo = self.cairo; };
 
+  # https://github.com/jgm/zip-archive/issues/21
+  zip-archive = overrideCabal super.zip-archive (drv: { patchPhase = ''
+    sed -i -e 's|/usr/bin/zip|${pkgs.zip}/bin/zip|' "tests/"*.hs
+  ''; });
+
 }
 // {
   # Not on Hackage yet.