diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2016-04-25 06:51:29 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2016-04-25 19:04:24 -0500 |
commit | 2a16c9d52bf3aa7e0206578faf6153e42d5d671a (patch) | |
tree | ad70b92a6711172965a80e05d32103b533516ebf /pkgs/development/libraries/libzip | |
parent | b06f9aa015521bb41e516e01a60d427a0ab7e178 (diff) |
libzip: multiple outputs
Diffstat (limited to 'pkgs/development/libraries/libzip')
-rw-r--r-- | pkgs/development/libraries/libzip/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/development/libraries/libzip/default.nix b/pkgs/development/libraries/libzip/default.nix index 4af9278c7b1b9..fff155ca81e77 100644 --- a/pkgs/development/libraries/libzip/default.nix +++ b/pkgs/development/libraries/libzip/default.nix @@ -8,6 +8,8 @@ stdenv.mkDerivation rec { sha256 = "1mcqrz37vjrfr4gnss37z1m7xih9x9miq3mms78zf7wn7as1znw3"; }; + outputs = [ "dev" "out" ]; + # fix CVE-2015-2331 taken from Debian patch: # https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=12;filename=libzip-0.11.2-1.2-nmu.diff;att=1;bug=780756 postPatch = '' @@ -22,7 +24,7 @@ stdenv.mkDerivation rec { # 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 ) + ( cd $dev/include ; ln -s ../lib/libzip/include/zipconf.h zipconf.h ) ''; meta = { |