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:
committed by
Florian Klink
parent
ec9e0c6dc8
commit
b8baf82e24
@@ -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; [
|
||||
|
||||
Reference in New Issue
Block a user