···12# Attributes inherit from specific versions
13, version, src, meta, sourceRoot, commandLineArgs
14, executableName, longName, shortName, pname, updateScript
015# sourceExecutableName is the name of the binary in the source archive, over
16# which we have no control
17, sourceExecutableName ? executableName
···21 inherit (stdenv.hostPlatform) system;
22 unwrapped = stdenv.mkDerivation {
2324- inherit pname version src sourceRoot;
2526 passthru = {
27 inherit executableName longName tests updateScript;
···12# Attributes inherit from specific versions
13, version, src, meta, sourceRoot, commandLineArgs
14, executableName, longName, shortName, pname, updateScript
15+, dontFixup ? false
16# sourceExecutableName is the name of the binary in the source archive, over
17# which we have no control
18, sourceExecutableName ? executableName
···22 inherit (stdenv.hostPlatform) system;
23 unwrapped = stdenv.mkDerivation {
2425+ inherit pname version src sourceRoot dontFixup;
2627 passthru = {
28 inherit executableName longName tests updateScript;
+5
pkgs/applications/editors/vscode/vscode.nix
···4647 updateScript = ./update-vscode.sh;
480000049 meta = with lib; {
50 description = ''
51 Open source source code editor developed by Microsoft for Windows,
···4647 updateScript = ./update-vscode.sh;
4849+ # 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+54 meta = with lib; {
55 description = ''
56 Open source source code editor developed by Microsoft for Windows,