From c2b34fed8fecfa03824fd25dff177045d98a23b4 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Sat, 11 Feb 2023 09:50:02 +0000 Subject: [PATCH] kitty: depend on wayland-scanner Otherwise, wayland-scanner would be picked up from the wayland in buildInputs, which isn't cross-friendly and will stop working when we split wayland-scanner into a separate package. --- pkgs/applications/terminal-emulators/kitty/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/applications/terminal-emulators/kitty/default.nix b/pkgs/applications/terminal-emulators/kitty/default.nix index 1bb165101e41..d4d640bca5f0 100644 --- a/pkgs/applications/terminal-emulators/kitty/default.nix +++ b/pkgs/applications/terminal-emulators/kitty/default.nix @@ -15,6 +15,7 @@ , UserNotifications , libcanberra , libicns +, wayland-scanner , libpng , python3 , zlib @@ -84,8 +85,12 @@ buildPythonApplication rec { ] ++ lib.optionals stdenv.isDarwin [ imagemagick libicns # For the png2icns tool. + ] ++ lib.optionals stdenv.isLinux [ + wayland-scanner ]; + depsBuildBuild = [ pkg-config ]; + outputs = [ "out" "terminfo" "shell_integration" "kitten" ]; patches = [