From cfa737886b288ef3f8af810eeab93c0bd25030fa Mon Sep 17 00:00:00 2001
From: Peter Simons <simons@cryp.to>
Date: Thu, 17 Sep 2015 10:05:51 +0200
Subject: [PATCH] haskell-zip-archive: fix build of older versions

---
 pkgs/development/haskell-modules/configuration-common.nix | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 102e8d5ec7a..da9dc2959ef 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -892,4 +892,7 @@ self: super: {
   # Test suite won't compile.
   semigroupoids_5_0_0_3 = dontCheck super.semigroupoids_5_0_0_3;
 
+  # This is fixed in newer versions.
+  zip-archive_0_2_3_5 = addBuildTool super.zip-archive_0_2_3_5 pkgs.zip;
+
 }