clightd: depend on wayland-scanner

Otherwise, wayland-scanner would be picked up from the wayland in
buildInputs, which isn't cross-friendly and will stop working when we
split wayland-scanner into a separate package.
This commit is contained in:
Alyssa Ross
2024-08-10 18:42:56 +03:00
committed by Florian Klink
parent ec9e0c6dc8
commit b8baf82e24
+6 -1
View File
@@ -1,5 +1,5 @@
{ lib, stdenv, fetchFromGitHub
, dbus, cmake, pkg-config
, dbus, cmake, pkg-config, wayland-scanner
, glib, udev, polkit, libusb1, libjpeg, libmodule
, pcre, libXdmcp, util-linux, libpthreadstubs
, enableDdc ? true, ddcutil
@@ -40,10 +40,15 @@ stdenv.mkDerivation rec {
++ optional enableScreen "-DENABLE_SCREEN=1"
++ optional enableYoctolight "-DENABLE_YOCTOLIGHT=1";
depsBuildBuild = [
pkg-config
];
nativeBuildInputs = [
dbus
cmake
pkg-config
wayland-scanner
];
buildInputs = with lib; [