Skip to content

Commit aab5907

Browse files
Merge pull request #319032 from rhoriguchi/netdata/cups
netdata: build cups plugin when enabled
2 parents 6c2a4b2 + 21fed6a commit aab5907

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)