s2n-tls: enable strictDeps, enable structuredAttrs (#568987)

This commit is contained in:
Stefan Frijters
2026-10-02 12:26:54 +00:00
committed by GitHub

View File

@@ -27,6 +27,8 @@ stdenv.mkDerivation (finalAttrs: {
buildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).
strictDeps = true;
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF" # disable -Werror
@@ -50,6 +52,8 @@ stdenv.mkDerivation (finalAttrs: {
inherit nix;
};
__structuredAttrs = true;
meta = {
description = "C99 implementation of the TLS/SSL protocols";
homepage = "https://github.com/aws/s2n-tls";