Merge pull request #197249 from winterqt/vscode-ventura

authored by

Sandro and committed by
GitHub
501e1a29 46672dab

+7 -1
+2 -1
pkgs/applications/editors/vscode/generic.nix
··· 12 12 # Attributes inherit from specific versions 13 13 , version, src, meta, sourceRoot, commandLineArgs 14 14 , executableName, longName, shortName, pname, updateScript 15 + , dontFixup ? false 15 16 # sourceExecutableName is the name of the binary in the source archive, over 16 17 # which we have no control 17 18 , sourceExecutableName ? executableName ··· 21 22 inherit (stdenv.hostPlatform) system; 22 23 unwrapped = stdenv.mkDerivation { 23 24 24 - inherit pname version src sourceRoot; 25 + inherit pname version src sourceRoot dontFixup; 25 26 26 27 passthru = { 27 28 inherit executableName longName tests updateScript;
+5
pkgs/applications/editors/vscode/vscode.nix
··· 46 46 47 47 updateScript = ./update-vscode.sh; 48 48 49 + # Editing the `code` binary within the app bundle causes the bundle's signature 50 + # to be invalidated, which prevents launching starting with macOS Ventura, because VS Code is notarized. 51 + # See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information. 52 + dontFixup = stdenv.isDarwin; 53 + 49 54 meta = with lib; { 50 55 description = '' 51 56 Open source source code editor developed by Microsoft for Windows,