mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
nsis: use zlib outputs directly
This commit is contained in:
parent
f929120b1b
commit
ec4bdc860e
@ -1,9 +1,6 @@
|
|||||||
{ stdenv, symlinkJoin, fetchurl, fetchzip, scons, zlib }:
|
{ stdenv, fetchurl, fetchzip, scons, zlib }:
|
||||||
|
|
||||||
let
|
stdenv.mkDerivation rec {
|
||||||
ZLIB_HOME = symlinkJoin { name="zlib-wrap"; paths = [ zlib zlib.dev ]; };
|
|
||||||
|
|
||||||
in stdenv.mkDerivation rec {
|
|
||||||
name = "nsis-${version}";
|
name = "nsis-${version}";
|
||||||
version = "3.04";
|
version = "3.04";
|
||||||
|
|
||||||
@ -32,8 +29,8 @@ in stdenv.mkDerivation rec {
|
|||||||
"SKIPPLUGINS=all"
|
"SKIPPLUGINS=all"
|
||||||
"SKIPUTILS=all"
|
"SKIPUTILS=all"
|
||||||
"SKIPMISC=all"
|
"SKIPMISC=all"
|
||||||
"APPEND_CPPPATH=${ZLIB_HOME}/include"
|
"APPEND_CPPPATH=${zlib.dev}/include"
|
||||||
"APPEND_LIBPATH=${ZLIB_HOME}/lib"
|
"APPEND_LIBPATH=${zlib}/lib"
|
||||||
"NSIS_CONFIG_CONST_DATA=no"
|
"NSIS_CONFIG_CONST_DATA=no"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user