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

7 lines
173 B
Nix

{
openssl,
nodejs,
}:
if builtins.compareVersions nodejs.version "18" >= 0 && builtins.compareVersions openssl.version "3" >= 0
then "--openssl-legacy-provider"
else ""