Skip to content

Commit

Permalink
knot-resolver: 5.1.3 -> 5.2.0
Browse files Browse the repository at this point in the history
https://lists.nic.cz/pipermail/knot-resolver-users/2020/000318.html

NixOS service: we'll probably want to switch listenDoH
to the new 'doh2' kind, but let me leave that for later.
  • Loading branch information
vcunat committed Nov 11, 2020
1 parent 5259fcc commit 280e273
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkgs/servers/dns/knot-resolver/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ lua = luajitPackages;

unwrapped = stdenv.mkDerivation rec {
pname = "knot-resolver";
version = "5.1.3";
version = "5.2.0";

src = fetchurl {
url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz";
sha256 = "20cd829027e39a9f7d993894e3640e886825b492d9ac1a744ac5616cc101458b";
sha256 = "8824267ca3331fa06d418c1351b68c648da0af121bcbc84c6e08f5b1e28d9433";
};

outputs = [ "out" "dev" ];
Expand Down Expand Up @@ -67,6 +67,7 @@ unwrapped = stdenv.mkDerivation rec {
postInstall = ''
rm "$out"/lib/libkres.a
rm "$out"/lib/knot-resolver/upgrade-4-to-5.lua # not meaningful on NixOS
rm -r "$out"/lib/sysusers.d/ # ATM more likely to harm than help
'';

doInstallCheck = with stdenv; hostPlatform == buildPlatform;
Expand Down

0 comments on commit 280e273

Please sign in to comment.