jujutsu: fix tests in darwin sandbox
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user