Merge pull request #197249 from winterqt/vscode-ventura

This commit is contained in:
Sandro 2022-10-23 17:14:59 +02:00 committed by GitHub
commit 501e1a299f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

View File

@ -12,6 +12,7 @@
# Attributes inherit from specific versions
, version, src, meta, sourceRoot, commandLineArgs
, executableName, longName, shortName, pname, updateScript
, dontFixup ? false
# sourceExecutableName is the name of the binary in the source archive, over
# which we have no control
, sourceExecutableName ? executableName
@ -21,7 +22,7 @@ let
inherit (stdenv.hostPlatform) system;
unwrapped = stdenv.mkDerivation {
inherit pname version src sourceRoot;
inherit pname version src sourceRoot dontFixup;
passthru = {
inherit executableName longName tests updateScript;

View File

@ -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,