From 2a16c9d52bf3aa7e0206578faf6153e42d5d671a Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Mon, 25 Apr 2016 06:51:29 -0500 Subject: [PATCH] libzip: multiple outputs --- pkgs/development/libraries/libzip/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/libzip/default.nix b/pkgs/development/libraries/libzip/default.nix index 4af9278c7b1..fff155ca81e 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 = {