From b9cf99535b52ad60cf2925b98578d9dc45c18270 Mon Sep 17 00:00:00 2001 From: andre4ik3 Date: Tue, 14 Jan 2025 08:38:53 +0400 Subject: [PATCH] vscodium: fix bundle resources being modified on darwin --- pkgs/applications/editors/vscode/vscodium.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/editors/vscode/vscodium.nix b/pkgs/applications/editors/vscode/vscodium.nix index 625d048b8da0..fdc8c05b090b 100644 --- a/pkgs/applications/editors/vscode/vscodium.nix +++ b/pkgs/applications/editors/vscode/vscodium.nix @@ -57,6 +57,11 @@ callPackage ./generic.nix rec { updateScript = ./update-vscodium.sh; + # Editing the `codium` binary (and shell scripts) within the app bundle causes the bundle's signature + # to be invalidated, which prevents launching starting with macOS Ventura, because VSCodium is notarized. + # See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information. + dontFixup = stdenv.hostPlatform.isDarwin; + meta = with lib; { description = '' Open source source code editor developed by Microsoft for Windows,