knot-resolver: apply upstream patch

Encrypted ZFS users were affected, in particular some NixOS users
who reported the issue upstream.  Close #81188.
This commit is contained in:
Vladimír Čunát 2020-03-04 13:35:43 +01:00
parent 5760e001ca
commit b7f5450e4d
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -23,6 +23,14 @@ unwrapped = stdenv.mkDerivation rec {
sha256 = "4a93264ad0cda7ea2252d1ba057e474722f77848165f2893e0c76e21ae406415";
};
patches = [
(fetchpatch { # merged to upstream master, remove on update
name = "zfs-cpu-usage.diff";
url = "https://gitlab.labs.nic.cz/knot/knot-resolver/merge_requests/946.diff";
sha256 = "0mcvx4pfnl19h6zrv2fcgxdjarqzczn2dz85sylcczsfvdmn6i5m";
})
];
outputs = [ "out" "dev" ];
# Path fixups for the NixOS service.