From 124392093c923021bde48c2ac54938ba87a2eb0f Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Tue, 20 Aug 2024 06:58:25 +0100 Subject: [PATCH] wine64Packages.wayland: add missing `wayland-scanner` build input Without the change the build fails on `staging` as: wine64-wayland> checking for wayland-scanner... Package wayland-scanner was not found in the pkg-config search path. wine64-wayland> Perhaps you should add the directory containing `wayland-scanner.pc' wine64-wayland> to the PKG_CONFIG_PATH environment variable wine64-wayland> No package 'wayland-scanner' found wine64-wayland> no ... wine64-wayland> configure: error: Wayland 64-bit development files not found or not new enough, the Wayland driver won't be supported. wine64-wayland> This is an error since --with-wayland was requested. --- pkgs/applications/emulators/wine/base.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/emulators/wine/base.nix b/pkgs/applications/emulators/wine/base.nix index 54fea4cc901e..dccf67a7a9bb 100644 --- a/pkgs/applications/emulators/wine/base.nix +++ b/pkgs/applications/emulators/wine/base.nix @@ -106,7 +106,7 @@ lib.optionalAttrs (buildScript != null) { builder = buildScript; } libX11 libXcomposite libXcursor libXext libXfixes libXi libXrandr libXrender libXxf86vm ]) ++ lib.optionals waylandSupport (with pkgs; [ - wayland libxkbcommon wayland-protocols wayland.dev libxkbcommon.dev + wayland wayland-scanner libxkbcommon wayland-protocols wayland.dev libxkbcommon.dev mesa # for libgbm ])));