Merge pull request #258721 from elohmeier/checksslcert-darwin

checkSSLCert: add darwin support
This commit is contained in:
Fabian Affolter 2023-10-03 11:08:05 +02:00 committed by GitHub
commit 75ef5c8764
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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