Fixes CVE-2022-45872.
Changelog:
```
- Change DECRQSS response to patch a security
hole.
- Fix crash when dragging a tab out of a window.
- Improve crash reporting to include Objective-C
exceptions, which Apple broke.
```
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 is a mostly cosmetical commit, in the sense it doesn't change the contents
of any package, but reorganizes the overall Nixpkgs expressions.
Terminal emulators are an ubiquitous tool for any Unix user; even the beginners
are routinely familiarized to it. And, manifestly, there are many
implementations of terminal emulators out there, from those traditionally made
in C and C++ to those written in Haskell and Go.
Terminal emulators deserve more highlight. This commit does that by creating a
category for them.