Merge pull request #72187 from Izorkin/netdata-fix
nixos/netdata: add which to path
This commit is contained in:
commit
266d3dd7f6
@ -138,7 +138,7 @@ in {
|
|||||||
description = "Real time performance monitoring";
|
description = "Real time performance monitoring";
|
||||||
after = [ "network.target" ];
|
after = [ "network.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
path = (with pkgs; [ gawk curl ]) ++ lib.optional cfg.python.enable
|
path = (with pkgs; [ curl gawk which ]) ++ lib.optional cfg.python.enable
|
||||||
(pkgs.python3.withPackages cfg.python.extraPackages);
|
(pkgs.python3.withPackages cfg.python.extraPackages);
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Environment="PYTHONPATH=${pkgs.netdata}/libexec/netdata/python.d/python_modules";
|
Environment="PYTHONPATH=${pkgs.netdata}/libexec/netdata/python.d/python_modules";
|
||||||
|
Loading…
Reference in New Issue
Block a user