From b8baf82e243c9ac07cc6dc066a6ee63bae310823 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Wed, 8 Feb 2023 22:03:59 +0000 Subject: [PATCH] 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. --- pkgs/applications/misc/clight/clightd.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/misc/clight/clightd.nix b/pkgs/applications/misc/clight/clightd.nix index b6958d86bbd0..7283cc32640e 100644 --- a/pkgs/applications/misc/clight/clightd.nix +++ b/pkgs/applications/misc/clight/clightd.nix @@ -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; [