diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index cab3a2103a54..70bb01e9346f 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -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 ]; diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 58edb3dc1be9..44ff8fd42b6a 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -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