From 3ea22dab7d906f400cc5983874dbadeb8127c662 Mon Sep 17 00:00:00 2001 From: Randy Eckenrode Date: Sat, 13 Aug 2022 20:12:11 -0400 Subject: [PATCH] iterm2: fix on macOS 13 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- pkgs/applications/terminal-emulators/iterm2/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/applications/terminal-emulators/iterm2/default.nix b/pkgs/applications/terminal-emulators/iterm2/default.nix index e8fbb8cb9fa..bc42b6102c6 100644 --- a/pkgs/applications/terminal-emulators/iterm2/default.nix +++ b/pkgs/applications/terminal-emulators/iterm2/default.nix @@ -18,6 +18,8 @@ stdenvNoCC.mkDerivation rec { sha256 = "sha256-ZE/uYBKB2popdIdZWA8AvyJiwMzt32u6u/H/AyNcoVo="; }; + dontFixup = true; + installPhase = '' runHook preInstall APP_DIR="$out/Applications/iTerm2.app"