Files
nixpkgs/pkgs/development/web/nodejs/use-nix-codesign.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
619 B
Diff
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
diff --git a/test/parallel/test-macos-app-sandbox.js b/test/parallel/test-macos-app-sandbox.js
index 60ad67b3db..b6ac0dcef4 100644
--- a/test/parallel/test-macos-app-sandbox.js
+++ b/test/parallel/test-macos-app-sandbox.js
@@ -45,11 +45,11 @@ fs.copyFileSync(
// Sign the app bundle with sandbox entitlements:
assert.strictEqual(
- child_process.spawnSync('/usr/bin/codesign', [
+ child_process.spawnSync('@codesign@', [
'--entitlements', fixtures.path(
'macos-app-sandbox', 'node_sandboxed.entitlements'),
'--force', '-s', '-',
- appBundlePath,
+ appExecutablePath,
]).status,
0);