Skip to content

Commit 21fed6a

Browse files
committed
netdata: build cups plugin when enabled
1 parent 48eb49d commit 21fed6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/tools/system/netdata/default.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ stdenv.mkDerivation rec {
4343

4444
strictDeps = true;
4545

46-
nativeBuildInputs = [ cmake pkg-config makeWrapper go ninja ];
46+
nativeBuildInputs = [ cmake pkg-config makeWrapper go ninja ]
47+
++ lib.optionals withCups [ cups.dev ];
4748
# bash is only used to rewrite shebangs
4849
buildInputs = [ bash curl jemalloc json_c libuv zlib libyaml ]
4950
++ lib.optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ]

0 commit comments

Comments
 (0)