aboutsummaryrefslogtreecommitdiff
path: root/pkgs/tools/archivers
diff options
context:
space:
mode:
authorMatthew Bauer <mjbauer95@gmail.com>2019-03-06 10:45:57 -0500
committerMatthew Bauer <mjbauer95@gmail.com>2019-04-26 21:54:52 -0400
commit27498cd2d1fca5bf34c2da0785482d04f53d1efb (patch)
tree0f2da4fc54bf9f4a36aa45716c9ef2adb48389d9 /pkgs/tools/archivers
parent8e64f4665a13f4bcbad40b9455b3d32a8c51be4a (diff)
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.
Diffstat (limited to 'pkgs/tools/archivers')
-rw-r--r--pkgs/tools/archivers/gnutar/default.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/tools/archivers/gnutar/default.nix b/pkgs/tools/archivers/gnutar/default.nix
index b64696a3420..c2e7f75fc7f 100644
--- a/pkgs/tools/archivers/gnutar/default.nix
+++ b/pkgs/tools/archivers/gnutar/default.nix
@@ -13,6 +13,7 @@ stdenv.mkDerivation rec {
configureFlags = stdenv.lib.optionals stdenv.isDarwin [
"gt_cv_func_CFPreferencesCopyAppValue=no"
"gt_cv_func_CFLocaleCopyCurrent=no"
+ "gt_cv_func_CFLocaleCopyPreferredLanguages=no"
];
# gnutar tries to call into gettext between `fork` and `exec`,