Merge pull request #319032 from rhoriguchi/netdata/cups

netdata: build cups plugin when enabled
This commit is contained in:
éclairevoyant
2024-08-11 16:05:20 +00:00
committed by GitHub
+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 ]