netdata: build cups plugin when enabled

This commit is contained in:
Ryan Horiguchi
2024-07-24 23:02:58 +02:00
parent 48eb49d949
commit 21fed6a80f
+2 -1
View File
@@ -43,7 +43,8 @@ stdenv.mkDerivation rec {
strictDeps = true;
nativeBuildInputs = [ cmake pkg-config makeWrapper go ninja ];
nativeBuildInputs = [ cmake pkg-config makeWrapper go ninja ]
++ lib.optionals withCups [ cups.dev ];
# bash is only used to rewrite shebangs
buildInputs = [ bash curl jemalloc json_c libuv zlib libyaml ]
++ lib.optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ]