From 2db377afd15d6bfc564fa6df9b7ae3b0c54479f0 Mon Sep 17 00:00:00 2001 From: Moritz 'e1mo' Fromm Date: Sat, 26 Nov 2022 21:52:43 +0100 Subject: [PATCH] checkSSLCert: Add missing runtime dependencies Not all of the required or optional dependencies listed under were present, causing the program to fail due to the lack of the bc binary. --- .../servers/monitoring/nagios/plugins/check_ssl_cert.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix b/pkgs/servers/monitoring/nagios/plugins/check_ssl_cert.nix index 9ca3ebaf0e89..3caaf8ce4e6d 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; {