jujutsu: fix tests in darwin sandbox

This commit is contained in:
Winter
2025-04-23 15:34:54 -04:00
parent 6c679116a4
commit d8750e2b0a
+6
View File
@@ -63,6 +63,12 @@ rustPlatform.buildRustPackage (finalAttrs: {
"jj-cli"
];
# taplo-cli (used in tests) always creates a reqwest client, which
# requires configd access on macOS.
sandboxProfile = ''
(allow mach-lookup (global-name "com.apple.SystemConfiguration.configd"))
'';
env = {
# Disable vendored libraries.
ZSTD_SYS_USE_PKG_CONFIG = "1";