Merge pull request #258801 from Izorkin/fix-netdata

authored by Ryan Lahfa and committed by GitHub 8fc9bb20 9523d16a

+9 -4
+2
nixos/doc/manual/release-notes/rl-2311.section.md
··· 398 399 - Suricata was upgraded from 6.0 to 7.0 and no longer considers HTTP/2 support as experimental, see [upstream release notes](https://forum.suricata.io/t/suricata-7-0-0-released/3715) for more details. 400 401 - `networking.nftables` now has the option `networking.nftables.table.<table>` to create tables 402 and have them be updated atomically, instead of flushing the ruleset. 403
··· 398 399 - Suricata was upgraded from 6.0 to 7.0 and no longer considers HTTP/2 support as experimental, see [upstream release notes](https://forum.suricata.io/t/suricata-7-0-0-released/3715) for more details. 400 401 + - Cloud support in the `netdata` package is now disabled by default. To enable it use the `netdataCloud` package. 402 + 403 - `networking.nftables` now has the option `networking.nftables.table.<table>` to create tables 404 and have them be updated atomically, instead of flushing the ruleset. 405
+3 -4
pkgs/tools/system/netdata/default.nix
··· 2 , CoreFoundation, IOKit, libossp_uuid 3 , nixosTests 4 , netdata-go-plugins 5 - , bash, curl, jemalloc, libuv, zlib, libyaml 6 , libcap, libuuid, lm_sensors, protobuf 7 , withCups ? false, cups 8 , withDBengine ? true, lz4 9 , withIpmi ? (!stdenv.isDarwin), freeipmi 10 , withNetfilter ? (!stdenv.isDarwin), libmnl, libnetfilter_acct 11 - , withCloud ? (!stdenv.isDarwin), json_c 12 , withCloudUi ? false 13 , withConnPubSub ? false, google-cloud-cpp, grpc 14 , withConnPrometheus ? false, snappy ··· 42 43 nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf ]; 44 # bash is only used to rewrite shebangs 45 - buildInputs = [ bash curl jemalloc libuv zlib libyaml ] 46 ++ lib.optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ] 47 ++ lib.optionals (!stdenv.isDarwin) [ libcap libuuid ] 48 ++ lib.optionals withCups [ cups ] 49 ++ lib.optionals withDBengine [ lz4 ] 50 ++ lib.optionals withIpmi [ freeipmi ] 51 ++ lib.optionals withNetfilter [ libmnl libnetfilter_acct ] 52 - ++ lib.optionals withCloud [ json_c ] 53 ++ lib.optionals withConnPubSub [ google-cloud-cpp grpc ] 54 ++ lib.optionals withConnPrometheus [ snappy ] 55 ++ lib.optionals (withCloud || withConnPrometheus) [ protobuf ]
··· 2 , CoreFoundation, IOKit, libossp_uuid 3 , nixosTests 4 , netdata-go-plugins 5 + , bash, curl, jemalloc, json_c, libuv, zlib, libyaml 6 , libcap, libuuid, lm_sensors, protobuf 7 , withCups ? false, cups 8 , withDBengine ? true, lz4 9 , withIpmi ? (!stdenv.isDarwin), freeipmi 10 , withNetfilter ? (!stdenv.isDarwin), libmnl, libnetfilter_acct 11 + , withCloud ? false 12 , withCloudUi ? false 13 , withConnPubSub ? false, google-cloud-cpp, grpc 14 , withConnPrometheus ? false, snappy ··· 42 43 nativeBuildInputs = [ autoreconfHook pkg-config makeWrapper protobuf ]; 44 # bash is only used to rewrite shebangs 45 + buildInputs = [ bash curl jemalloc json_c libuv zlib libyaml ] 46 ++ lib.optionals stdenv.isDarwin [ CoreFoundation IOKit libossp_uuid ] 47 ++ lib.optionals (!stdenv.isDarwin) [ libcap libuuid ] 48 ++ lib.optionals withCups [ cups ] 49 ++ lib.optionals withDBengine [ lz4 ] 50 ++ lib.optionals withIpmi [ freeipmi ] 51 ++ lib.optionals withNetfilter [ libmnl libnetfilter_acct ] 52 ++ lib.optionals withConnPubSub [ google-cloud-cpp grpc ] 53 ++ lib.optionals withConnPrometheus [ snappy ] 54 ++ lib.optionals (withCloud || withConnPrometheus) [ protobuf ]
+4
pkgs/top-level/all-packages.nix
··· 10263 inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit; 10264 protobuf = protobuf3_21; 10265 }; 10266 # Exposed here so the bots can auto-upgrade it 10267 netdata-go-plugins = callPackage ../tools/system/netdata/go.d.plugin.nix { }; 10268
··· 10263 inherit (darwin.apple_sdk.frameworks) CoreFoundation IOKit; 10264 protobuf = protobuf3_21; 10265 }; 10266 + netdataCloud = netdata.override { 10267 + withCloud = !stdenv.isDarwin; 10268 + withCloudUi = true; 10269 + }; 10270 # Exposed here so the bots can auto-upgrade it 10271 netdata-go-plugins = callPackage ../tools/system/netdata/go.d.plugin.nix { }; 10272