diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix index 23fefe80e764..427bdb597aa9 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -1,15 +1,16 @@ { lib, stdenv, fetchurl, pkg-config, gnutls, liburcu, lmdb, libcap_ng, libidn2, libunistring , systemd, nettle, libedit, zlib, libiconv, libintl, libmaxminddb, libbpf, nghttp2, libmnl , autoreconfHook, nixosTests, knot-resolver +, fetchpatch }: stdenv.mkDerivation rec { pname = "knot-dns"; - version = "3.1.9"; + version = "3.2.0"; src = fetchurl { url = "https://secure.nic.cz/files/knot-dns/knot-${version}.tar.xz"; - sha256 = "sha256-s8pPHUROlf8n0gltPMWkfBDB1poeSIWuipcngfYnnYI="; + sha256 = "426d120994daf93af348aa6c48428e583dd286656415de4daf7a59106fd98631"; }; outputs = [ "bin" "out" "dev" ]; @@ -21,6 +22,11 @@ stdenv.mkDerivation rec { ]; patches = [ + (fetchpatch { + name = "test-32bit-xdp.patch"; + url = "https://gitlab.nic.cz/knot/knot-dns/-/commit/325dfeefdfd8a3dd318cfe0ab52cd7efbf839ccd.diff"; + sha256 = "E5J2Jf4/m5H59Xn6TyATu2gKs3CgShYlMF2Qj1SW1zw="; + }) # Don't try to create directories like /var/lib/knot at build time. # They are later created from NixOS itself. ./dont-create-run-time-dirs.patch