gnutls: fix build on 32-bit ARM

Add an upstream patch to fix failing tests. The patch actually affects gnulib,
which is included as a vendored dependency.
This commit is contained in:
Ben Wolsieffer
2020-11-21 20:02:22 -05:00
parent 0f5235b688
commit f54266824d
2 changed files with 49 additions and 1 deletions
@@ -34,7 +34,10 @@ stdenv.mkDerivation {
patches = [ ./nix-ssl-cert-file.patch ]
# Disable native add_system_trust.
++ lib.optional (isDarwin && !withSecurity) ./no-security-framework.patch;
++ lib.optional (isDarwin && !withSecurity) ./no-security-framework.patch
# fix gnulib tests on 32-bit ARM. Included on gnutls master.
# https://lists.gnu.org/r/bug-gnulib/2020-08/msg00225.html
++ lib.optional stdenv.hostPlatform.isAarch32 ./fix-gnulib-tests-arm.patch;
# Skip some tests:
# - pkgconfig: building against the result won't work before installing (3.5.11)