about summary refs log tree commit diff
path: root/pkgs/applications/editors/vscode/vscode.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/applications/editors/vscode/vscode.nix')
-rw-r--r--pkgs/applications/editors/vscode/vscode.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/editors/vscode/vscode.nix b/pkgs/applications/editors/vscode/vscode.nix
index 7788105e1d4f7..637aefc3074dd 100644
--- a/pkgs/applications/editors/vscode/vscode.nix
+++ b/pkgs/applications/editors/vscode/vscode.nix
@@ -46,6 +46,11 @@ in
 
     updateScript = ./update-vscode.sh;
 
+    # Editing the `code` binary within the app bundle causes the bundle's signature
+    # to be invalidated, which prevents launching starting with macOS Ventura, because VS Code is notarized.
+    # See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information.
+    dontFixup = stdenv.isDarwin;
+
     meta = with lib; {
       description = ''
         Open source source code editor developed by Microsoft for Windows,