Unverified Commit 8cf85d32 authored by Matteo Pacini's avatar Matteo Pacini Committed by GitHub
Browse files

jujutsu: fix tests in darwin sandbox (#401211)

parents ee756618 d8750e2b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -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";