Skip to content

Commit f91f2dc

Browse files
committed
ibus: Fix cross No package 'wayland-scanner' found
The autoconf `PKG_CHECK_MODULES` macro and so on aren't made with cross in mind, so there isn't an easy way to change them to use PKG_CONFIG_FOR_BUILD. `"PKG_CONFIG_WAYLAND_SCANNER_WAYLAND_SCANNER=${lib.getBin buildPackages.wayland-scanner}/bin/wayland-scanner"` in `configureFlags` isn't necessary `wayland-scanner` is still required in `nativeBuildInputs`, otherwise there's an error `No rule to make target '/input-method-unstable-v1.xml', needed by 'input-method-unstable-v1-protocol.c'. Stop.`
1 parent 72f5bfc commit f91f2dc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkgs/tools/inputmethods/ibus/default.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ stdenv.mkDerivation (finalAttrs: {
196196
libxkbcommon
197197
wayland
198198
wayland-protocols
199+
wayland-scanner # For cross, build uses $PKG_CONFIG to look for wayland-scanner
199200
];
200201

201202
enableParallelBuilding = true;

0 commit comments

Comments
 (0)