···1212# Attributes inherit from specific versions
1313, version, src, meta, sourceRoot, commandLineArgs
1414, executableName, longName, shortName, pname, updateScript
1515+, dontFixup ? false
1516# sourceExecutableName is the name of the binary in the source archive, over
1617# which we have no control
1718, sourceExecutableName ? executableName
···2122 inherit (stdenv.hostPlatform) system;
2223 unwrapped = stdenv.mkDerivation {
23242424- inherit pname version src sourceRoot;
2525+ inherit pname version src sourceRoot dontFixup;
25262627 passthru = {
2728 inherit executableName longName tests updateScript;
+5
pkgs/applications/editors/vscode/vscode.nix
···46464747 updateScript = ./update-vscode.sh;
48484949+ # Editing the `code` binary within the app bundle causes the bundle's signature
5050+ # to be invalidated, which prevents launching starting with macOS Ventura, because VS Code is notarized.
5151+ # See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/ for more information.
5252+ dontFixup = stdenv.isDarwin;
5353+4954 meta = with lib; {
5055 description = ''
5156 Open source source code editor developed by Microsoft for Windows,