s2n-tls: disable unsupported feature (post-quantum cryptography) on mips64 (#161163)

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
main
Adam Joseph 2 years ago committed by GitHub
parent 8b319c06f2
commit 33772708c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      pkgs/development/libraries/s2n-tls/default.nix

@ -25,6 +25,9 @@ stdenv.mkDerivation rec {
"-DBUILD_SHARED_LIBS=ON"
"-DCMAKE_SKIP_BUILD_RPATH=OFF"
"-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF" # disable -Werror
] ++ lib.optionals stdenv.hostPlatform.isMips64 [
# See https://github.com/aws/s2n-tls/issues/1592 and https://github.com/aws/s2n-tls/pull/1609
"-DS2N_NO_PQ=ON"
];
propagatedBuildInputs = [ openssl ]; # s2n-config has find_dependency(LibCrypto).

Loading…
Cancel
Save