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:
parent
27e0e89d85
commit
2db377afd1
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue