jujutsu: fix tests in darwin sandbox (#401211)

This commit is contained in:
Matteo Pacini
2025-04-28 16:31:13 +01:00
committed by GitHub
+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";