Merge pull request #285518 from lucasnethaj/nng-fix

nng: fix mbedtlsSupport override
This commit is contained in:
Peder Bergebakken Sundt 2024-04-14 00:52:25 +02:00 committed by GitHub
commit a9595a05b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
buildInputs = lib.optionals mbedtlsSupport [ mbedtls ];
cmakeFlags = [ "-G Ninja" "-DNNG_ENABLE_TLS=ON" ]
++ lib.optionals mbedtlsSupport [ "-DMBEDTLS_ROOT_DIR=${mbedtls}" ];
cmakeFlags = [ "-G Ninja" ]
++ lib.optionals mbedtlsSupport [ "-DMBEDTLS_ROOT_DIR=${mbedtls}" "-DNNG_ENABLE_TLS=ON" ];
meta = with lib; {
homepage = "https://nng.nanomsg.org/";