kitty: use makeBinaryWrapper to wrap kitty executable (#352795)

This commit is contained in:
Weijia Wang 2024-11-12 11:20:32 +01:00 committed by GitHub
commit 62cfb3e8d8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 5 additions and 0 deletions

View File

@ -28,6 +28,8 @@
, go_1_23
, buildGo123Module
, nix-update-script
, makeBinaryWrapper
, autoSignDarwinBinariesHook
}:
with python3Packages;
@ -85,9 +87,11 @@ buildPythonApplication rec {
sphinx-inline-tabs
go_1_23
fontconfig
makeBinaryWrapper
] ++ lib.optionals stdenv.hostPlatform.isDarwin [
imagemagick
libicns # For the png2icns tool.
autoSignDarwinBinariesHook
] ++ lib.optionals stdenv.hostPlatform.isLinux [
wayland-scanner
];

View File

@ -1616,6 +1616,7 @@ with pkgs;
kitty = darwin.apple_sdk_11_0.callPackage ../applications/terminal-emulators/kitty {
harfbuzz = harfbuzz.override { withCoreText = stdenv.hostPlatform.isDarwin; };
inherit (darwin) autoSignDarwinBinariesHook;
inherit (darwin.apple_sdk_11_0) Libsystem;
inherit (darwin.apple_sdk_11_0.frameworks)
Cocoa