diff options
author | Moritz 'e1mo' Fromm <git@e1mo.de> | 2022-11-26 21:52:43 +0100 |
---|---|---|
committer | Moritz 'e1mo' Fromm <git@e1mo.de> | 2022-11-26 21:53:16 +0100 |
commit | 2db377afd15d6bfc564fa6df9b7ae3b0c54479f0 (patch) | |
tree | b7150d8860351d9a2c36f6f1880162c23657a99e /pkgs/servers/monitoring | |
parent | 27e0e89d85e6a3c6e3cd8b609341d3e36808e424 (diff) |
checkSSLCert: Add missing runtime dependencies
Not all of the required or optional dependencies listed under <https://github.com/matteocorti/check_ssl_cert/blob/master/INSTALL.md> were present, causing the program to fail due to the lack of the bc binary.
Diffstat (limited to 'pkgs/servers/monitoring')
-rw-r--r-- | pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix index 9ca3ebaf0e89c..3caaf8ce4e6dd 100644 --- a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix +++ b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix @@ -6,6 +6,13 @@ , makeWrapper , which , curl +, bc +, coreutils # date and timeout binary +, bind # host and dig binary +, nmap +, iproute2 +, netcat-gnu +, python3 }: stdenv.mkDerivation rec { @@ -30,7 +37,7 @@ stdenv.mkDerivation rec { postInstall = '' wrapProgram $out/bin/check_ssl_cert \ - --prefix PATH : "${lib.makeBinPath [ openssl file which curl ]}" + --prefix PATH : "${lib.makeBinPath [ openssl file which curl bc coreutils bind nmap iproute2 netcat-gnu python3 ]}" ''; meta = with lib; { |