freerdp3: don't set WAYLAND_SCANNER explicitly

This is in fact wrong since moving the binary to the `bin` output, and
works just fine only with it in `nativeBuildInputs`.

Also, add wayland-scanner to buildInputs, so the pkg-config machinery
does discover it.
This commit is contained in:
Florian Klink 2024-08-11 12:47:04 +03:00
parent dbffd9be77
commit 4509215980

View File

@ -145,6 +145,7 @@ stdenv.mkDerivation (finalAttrs: {
fuse3
systemd
wayland
wayland-scanner
] ++ lib.optionals stdenv.isDarwin [
AudioToolbox
AVFoundation
@ -160,7 +161,6 @@ stdenv.mkDerivation (finalAttrs: {
"-Wno-dev"
"-DCMAKE_INSTALL_LIBDIR=lib"
"-DDOCBOOKXSL_DIR=${docbook-xsl-nons}/xml/xsl/docbook"
"-DWAYLAND_SCANNER=${buildPackages.wayland-scanner}/bin/wayland-scanner"
] ++ lib.mapAttrsToList (k: v: "-D${k}=${cmFlag v}") {
BUILD_TESTING = false; # false is recommended by upstream
WITH_CAIRO = (cairo != null);