gnutls: patch an API breakage from last update

https://github.com/NixOS/nixpkgs/pull/247704#issuecomment-1672810322

+11 -2
+11 -2
pkgs/development/libraries/gnutls/default.nix
··· 1 1 { config, lib, stdenv, fetchurl, zlib, lzo, libtasn1, nettle, pkg-config, lzip 2 2 , perl, gmp, autoconf, automake, libidn2, libiconv 3 + , fetchpatch, texinfo 3 4 , unbound, dns-root-data, gettext, util-linux 4 5 , cxxBindings ? !stdenv.hostPlatform.isStatic # tries to link libstdc++.so 5 6 , tpmSupport ? false, trousers, which, nettools, libunistring ··· 45 46 outputInfo = "devdoc"; 46 47 outputDoc = "devdoc"; 47 48 48 - patches = [ ./nix-ssl-cert-file.patch ]; 49 + patches = [ 50 + (fetchpatch { #TODO: when updating drop this patch and texinfo 51 + name = "GNUTLS_NO_EXTENSIONS.patch"; 52 + url = "https://gitlab.com/gnutls/gnutls/-/commit/abfa8634db940115a11a07596ce53c8f9c4f87d2.diff"; 53 + hash = "sha256-3M5WdNoVx9gUwTUPgu/sXmsaNg+j5d6liXs0UZz8fGU="; 54 + }) 55 + 56 + ./nix-ssl-cert-file.patch 57 + ]; 49 58 50 59 # Skip some tests: 51 60 # - pkg-config: building against the result won't work before installing (3.5.11) ··· 80 89 ++ lib.optional (withP11-kit) p11-kit 81 90 ++ lib.optional (tpmSupport && stdenv.isLinux) trousers; 82 91 83 - nativeBuildInputs = [ perl pkg-config ] 92 + nativeBuildInputs = [ perl pkg-config texinfo ] 84 93 ++ lib.optionals doCheck [ which nettools util-linux ]; 85 94 86 95 propagatedBuildInputs = [ nettle ]