checkSSLCert: add darwin support

This commit is contained in:
Enno Richter 2023-10-03 06:51:41 +02:00
parent 4d29250d5b
commit 8d58b64400

View file

@ -37,7 +37,7 @@ stdenv.mkDerivation rec {
postInstall = ''
wrapProgram $out/bin/check_ssl_cert \
--prefix PATH : "${lib.makeBinPath [ openssl file which curl bc coreutils bind nmap iproute2 netcat-gnu python3 ]}"
--prefix PATH : "${lib.makeBinPath ([ openssl file which curl bc coreutils bind nmap netcat-gnu python3 ] ++ lib.optional stdenv.isLinux iproute2) }"
'';
meta = with lib; {