glib: Use libiconvOrNull' instead of
libiconv'.
This commit is contained in:
parent
f959a26e33
commit
11602dad82
@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, gettext, perl, libiconv, zlib, libffi
|
{ stdenv, fetchurl, pkgconfig, gettext, perl, libiconvOrNull, zlib, libffi
|
||||||
, python, pcre }:
|
, python, pcre }:
|
||||||
|
|
||||||
# TODO:
|
# TODO:
|
||||||
@ -20,7 +20,11 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
# configure script looks for d-bus but it is only needed for tests
|
# configure script looks for d-bus but it is only needed for tests
|
||||||
buildInputs = [ pcre ] ++ stdenv.lib.optional (!stdenv.isLinux) libiconv;
|
buildInputs = [ pcre ]
|
||||||
|
++ (if libiconvOrNull != null
|
||||||
|
then [ libiconvOrNull ]
|
||||||
|
else []);
|
||||||
|
|
||||||
buildNativeInputs = [ perl pkgconfig gettext python ];
|
buildNativeInputs = [ perl pkgconfig gettext python ];
|
||||||
|
|
||||||
propagatedBuildInputs = [ zlib libffi ];
|
propagatedBuildInputs = [ zlib libffi ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user