This repository has been archived on 2024-10-13. You can view files and clone it, but cannot push or open issues or pull requests.
nix-packages/lib/opensslLegacyProvider.nix

8 lines
173 B
Nix
Raw Permalink Normal View History

{
openssl,
nodejs,
}:
2022-10-30 16:35:21 +00:00
if builtins.compareVersions nodejs.version "18" >= 0 && builtins.compareVersions openssl.version "3" >= 0
then "--openssl-legacy-provider"
else ""