From 27498cd2d1fca5bf34c2da0785482d04f53d1efb Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 6 Mar 2019 10:45:57 -0500 Subject: [PATCH] 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. --- pkgs/tools/archivers/gnutar/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/tools/archivers/gnutar/default.nix b/pkgs/tools/archivers/gnutar/default.nix index b64696a34202..c2e7f75fc7fc 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`,