summary refs log tree commit diff
path: root/pkgs/development/libraries/libzip
diff options
context:
space:
mode:
authorKarn Kallio <tierpluspluslists@gmail.com>2012-02-28 16:26:55 +0000
committerKarn Kallio <tierpluspluslists@gmail.com>2012-02-28 16:26:55 +0000
commita70a76086c2553000497ab21dc371bc296c3e3d4 (patch)
treebc89c18bb71a50d22d3f6faa6cf3c2329c390dca /pkgs/development/libraries/libzip
parent207d5aae28784c6ca9d960fbdfb2cc5dd949dd32 (diff)
downloadnixpkgs-a70a76086c2553000497ab21dc371bc296c3e3d4.tar
nixpkgs-a70a76086c2553000497ab21dc371bc296c3e3d4.tar.gz
nixpkgs-a70a76086c2553000497ab21dc371bc296c3e3d4.tar.bz2
nixpkgs-a70a76086c2553000497ab21dc371bc296c3e3d4.tar.lz
nixpkgs-a70a76086c2553000497ab21dc371bc296c3e3d4.tar.xz
nixpkgs-a70a76086c2553000497ab21dc371bc296c3e3d4.tar.zst
nixpkgs-a70a76086c2553000497ab21dc371bc296c3e3d4.zip
Latest version of libzip places zipconf.h where mysqlworkbench
cannot find it and so mysqlworkbench does not build.  This links
it to somewhere mysqlworkbench looks.

I think the openoffice build also failed because of this.

svn path=/nixpkgs/trunk/; revision=32679
Diffstat (limited to 'pkgs/development/libraries/libzip')
-rw-r--r--pkgs/development/libraries/libzip/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libzip/default.nix b/pkgs/development/libraries/libzip/default.nix
index 0c490c63411..48ef55892c8 100644
--- a/pkgs/development/libraries/libzip/default.nix
+++ b/pkgs/development/libraries/libzip/default.nix
@@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
   
   propagatedBuildInputs = [ zlib ];
 
+  # At least mysqlWorkbench cannot find zipconf.h; I think also openoffice
+  # had this same problem.  This links it somewhere that mysqlworkbench looks.
+  postInstall = ''
+    ( cd $out/include ; ln -s ../lib/libzip/include/zipconf.h zipconf.h )
+  '';
+
   meta = {
     homepage = http://www.nih.at/libzip;
     description = "A C library for reading, creating and modifying zip archives";