diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm index bf1ec48e55..98a8ccc7a4 100644 --- a/gnu/packages/xorg.scm +++ b/gnu/packages/xorg.scm @@ -5289,7 +5289,12 @@ EGLStream families of extensions.") xkeyboard-config xorgproto xtrans)) - (native-inputs (list pkg-config)) + (native-inputs (cons pkg-config + (if (%current-target-system) + (list pkg-config-for-build + wayland + wayland-protocols) + '()))) (build-system meson-build-system) (arguments `(#:configure-flags