libzip: multiple outputs
This commit is contained in:
parent
b06f9aa015
commit
2a16c9d52b
@ -8,6 +8,8 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1mcqrz37vjrfr4gnss37z1m7xih9x9miq3mms78zf7wn7as1znw3";
|
sha256 = "1mcqrz37vjrfr4gnss37z1m7xih9x9miq3mms78zf7wn7as1znw3";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
outputs = [ "dev" "out" ];
|
||||||
|
|
||||||
# fix CVE-2015-2331 taken from Debian patch:
|
# 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
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=12;filename=libzip-0.11.2-1.2-nmu.diff;att=1;bug=780756
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
@ -22,7 +24,7 @@ stdenv.mkDerivation rec {
|
|||||||
# At least mysqlWorkbench cannot find zipconf.h; I think also openoffice
|
# At least mysqlWorkbench cannot find zipconf.h; I think also openoffice
|
||||||
# had this same problem. This links it somewhere that mysqlworkbench looks.
|
# had this same problem. This links it somewhere that mysqlworkbench looks.
|
||||||
postInstall = ''
|
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 = {
|
meta = {
|
||||||
|
Loading…
Reference in New Issue
Block a user