mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 07:53:19 +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
|
||||
ZLIB_HOME = symlinkJoin { name="zlib-wrap"; paths = [ zlib zlib.dev ]; };
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nsis-${version}";
|
||||
version = "3.04";
|
||||
|
||||
@ -32,8 +29,8 @@ in stdenv.mkDerivation rec {
|
||||
"SKIPPLUGINS=all"
|
||||
"SKIPUTILS=all"
|
||||
"SKIPMISC=all"
|
||||
"APPEND_CPPPATH=${ZLIB_HOME}/include"
|
||||
"APPEND_LIBPATH=${ZLIB_HOME}/lib"
|
||||
"APPEND_CPPPATH=${zlib.dev}/include"
|
||||
"APPEND_LIBPATH=${zlib}/lib"
|
||||
"NSIS_CONFIG_CONST_DATA=no"
|
||||
];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user