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.
This commit is contained in:
Moritz 'e1mo' Fromm 2022-11-26 21:52:43 +01:00
parent 27e0e89d85
commit 2db377afd1
No known key found for this signature in database
GPG key ID: 1D5D79A439E787F1

View file

@ -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; {