From 95f48de13357e06ef10d03fcee5122af3f905c76 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 10 Sep 2025 16:13:41 +0000 Subject: [PATCH] rofi: fix cross compilation move the `wayland-*` inputs to the buildInputs/nativeBuildInputs as appropriate, using the old `rofi-wayland` package as a reference (see deleted lines from 188b91103b59ec731f4897c6503ba87da9886d59). --- pkgs/applications/misc/rofi/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/rofi/default.nix b/pkgs/applications/misc/rofi/default.nix index 87f74bd6075c..4524d3fab92a 100644 --- a/pkgs/applications/misc/rofi/default.nix +++ b/pkgs/applications/misc/rofi/default.nix @@ -62,6 +62,10 @@ stdenv.mkDerivation rec { ninja pandoc pkg-config + ] + ++ lib.optionals waylandSupport [ + wayland-protocols + wayland-scanner ]; buildInputs = [ cairo @@ -76,7 +80,6 @@ stdenv.mkDerivation rec { ++ lib.optionals waylandSupport [ wayland wayland-protocols - wayland-scanner ] ++ lib.optionals x11Support [ libxcb