gettext: fix darwin build

The CF configure flags broke with the last update but based on
fa9c81f694 and the comment it seems like
these are not necessary anymore.

    $ nix-build -A stdenv.__bootPackages.stdenv.__bootPackages.gettext
    /nix/store/dii9p8717rjnbzar4kh1q3sxk77dbbkd-gettext-0.20.1

    $ nix-store -qR /nix/store/dii9p8717rjnbzar4kh1q3sxk77dbbkd-gettext-0.20.1
    /nix/store/2ws9cmamvr7xyvdg4d2nnd1bmr1zjrrq-bootstrap-tools
    /nix/store/2yn28axagwyifnvdm8npy2f982jxr986-libiconv-osx-10.12.6
    /nix/store/dii9p8717rjnbzar4kh1q3sxk77dbbkd-gettext-0.20.1
This commit is contained in:
Daiderd Jordan 2019-11-14 18:07:23 +01:00
parent da76deffd1
commit 27313767b8
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -21,10 +21,6 @@ stdenv.mkDerivation rec {
configureFlags = [
"--disable-csharp" "--with-xz"
# avoid retaining reference to CF during stdenv bootstrap
] ++ lib.optionals stdenv.isDarwin [
"gt_cv_func_CFPreferencesCopyAppValue=no"
"gt_cv_func_CFLocaleCopyCurrent=no"
] ++ stdenv.lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
# On cross building, gettext supposes that the wchar.h from libc
# does not fulfill gettext needs, so it tries to work with its