mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-02 13:00:23 +00:00
s2n-tls: enable strictDeps, enable structuredAttrs (#568987)
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user