Merge pull request #269777 from thefloweringash/monitoring-plugins-ping
monitoring-plugins: fix path to ping in check_ping
This commit is contained in:
commit
6a5ba089a1
@ -34,7 +34,6 @@ let
|
||||
lm_sensors
|
||||
net-snmp
|
||||
procps
|
||||
unixtools.ping
|
||||
];
|
||||
|
||||
mailq = runCommand "mailq-wrapper" { preferLocalBuild = true; } ''
|
||||
@ -76,8 +75,8 @@ stdenv.mkDerivation rec {
|
||||
-e 's|^DEFAULT_PATH=.*|DEFAULT_PATH=\"${binPath}\"|'
|
||||
|
||||
configureFlagsArray+=(
|
||||
--with-ping-command='ping -4 -n -U -w %d -c %d %s'
|
||||
--with-ping6-command='ping -6 -n -U -w %d -c %d %s'
|
||||
--with-ping-command='${lib.getBin unixtools.ping}/bin/ping -4 -n -U -w %d -c %d %s'
|
||||
--with-ping6-command='${lib.getBin unixtools.ping}/bin/ping -6 -n -U -w %d -c %d %s'
|
||||
)
|
||||
|
||||
install -Dm555 ${share} $out/share
|
||||
|
Loading…
Reference in New Issue
Block a user