Merge pull request #203118 from e1mo/check_ssl_cert-bc-path

checkSSLCert: Add missing runtime dependencies
This commit is contained in:
Fabian Affolter 2022-11-30 22:31:38 +01:00 committed by GitHub
commit c369ad1339
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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