3
0
Fork 0
forked from mirrors/nixpkgs

iterm2: fix on macOS 13

The fixup phase runs patch-shebangs, which modifies the shell
integration scripts included the iTerm2.app bundle. This causes iTerm2
to be identified as damaged on macOS 13, which prevents it from running.
This is due to changes in macOS 13 that checks signatures every time a
notarized app is run on macOS 13. Since iTerm2 is using upstream’s build
due to entitlements, it is notarized and must not be modified.

See https://eclecticlight.co/2022/06/17/app-security-changes-coming-in-ventura/
for more details on the changes.
This commit is contained in:
Randy Eckenrode 2022-08-13 20:12:11 -04:00
parent 9bde9353e9
commit 3ea22dab7d
No known key found for this signature in database
GPG key ID: 64C1CD4EC2A600D9

View file

@ -18,6 +18,8 @@ stdenvNoCC.mkDerivation rec {
sha256 = "sha256-ZE/uYBKB2popdIdZWA8AvyJiwMzt32u6u/H/AyNcoVo=";
};
dontFixup = true;
installPhase = ''
runHook preInstall
APP_DIR="$out/Applications/iTerm2.app"