diff options
author | Lucas Rasmussen <lucasnethaj@gmail.com> | 2024-02-01 10:48:51 +0100 |
---|---|---|
committer | Lucas Rasmussen <lucasnethaj@gmail.com> | 2024-02-01 10:48:51 +0100 |
commit | 8af634a8ace910951c80e95c693da3826fda22f0 (patch) | |
tree | eaf63218a8db55616f69a174049cf958b1362186 /pkgs/development/libraries/nng | |
parent | 4116f0379e4f6219c548efc4e29a3b4c1dd9de3f (diff) |
lib.nng: fix mbedtlsSupport override
previously overriding the mbedtlsSupport flag would result in a configure error because the build would still search for the necessarry mbedtls libraries
Diffstat (limited to 'pkgs/development/libraries/nng')
-rw-r--r-- | pkgs/development/libraries/nng/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/nng/default.nix b/pkgs/development/libraries/nng/default.nix index 643866329722a..dc35e2fe6ebe7 100644 --- a/pkgs/development/libraries/nng/default.nix +++ b/pkgs/development/libraries/nng/default.nix @@ -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/"; |