gnutar: disable CFLocaleCopyPreferredLanguages

These pull in the system CoreFoundation framework for some reason. In
the future, we should figure out a way for it to get these features
from the pure CoreFoundation (they do have the symbol). But right now
this is an issue with sandboxing in gnutar. Fixes #56591.
This commit is contained in:
Matthew Bauer 2019-03-06 10:45:57 -05:00
parent 8e64f4665a
commit 27498cd2d1

View File

@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
configureFlags = stdenv.lib.optionals stdenv.isDarwin [ configureFlags = stdenv.lib.optionals stdenv.isDarwin [
"gt_cv_func_CFPreferencesCopyAppValue=no" "gt_cv_func_CFPreferencesCopyAppValue=no"
"gt_cv_func_CFLocaleCopyCurrent=no" "gt_cv_func_CFLocaleCopyCurrent=no"
"gt_cv_func_CFLocaleCopyPreferredLanguages=no"
]; ];
# gnutar tries to call into gettext between `fork` and `exec`, # gnutar tries to call into gettext between `fork` and `exec`,