libiconvOrEmpty: always return a list

- fixes nixpkgs-tarball
This commit is contained in:
Mathijs Kwik 2012-08-22 16:56:01 +02:00
parent aa4ce18077
commit af3a95d6f3

View File

@ -4148,7 +4148,7 @@ let
libiconv = callPackage ../development/libraries/libiconv { };
libiconvOrEmpty = if (libiconvOrNull == null) then [] else libiconv;
libiconvOrEmpty = if (libiconvOrNull == null) then [] else [libiconv];
libiconvOrNull =
if ((gcc ? libc && (gcc.libc != null)) || stdenv.isGlibc)