tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
knot-resolver: 5.7.4 -> 5.7.5 (#402568)
Vladimír Čunát
9 months ago
2b7e4557
43bac27d
+4
-12
1 changed file
expand all
collapse all
unified
split
pkgs
servers
dns
knot-resolver
default.nix
+4
-12
pkgs/servers/dns/knot-resolver/default.nix
···
27
27
cacert,
28
28
extraFeatures ? false, # catch-all if defaults aren't enough
29
29
}:
30
30
-
let # un-indented, over the whole file
31
31
-
30
30
+
let
32
31
result = if extraFeatures then wrapped-full else unwrapped;
33
32
34
33
inherit (lib) optional optionals optionalString;
···
36
35
37
36
unwrapped = stdenv.mkDerivation rec {
38
37
pname = "knot-resolver";
39
39
-
version = "5.7.4";
38
38
+
version = "5.7.5";
40
39
41
40
src = fetchurl {
42
41
url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz";
43
43
-
hash = "sha256-a22m7PBoKAQa+tRN+iJ3gfCuNK0YOmZwCFCTVdGL2cg=";
42
42
+
sha256 = "80239cf9aa92599d9cbad4642dea5520b2ccfbc9c6f968886ea46179cb3cdf66";
44
43
};
45
44
46
45
outputs = [
···
67
66
# Even though they should already be loaded and they're in RPATH, too.
68
67
for f in daemon/lua/{kres,zonefile}.lua; do
69
68
substituteInPlace "$f" \
70
70
-
--replace "ffi.load(" "ffi.load('${lib.getLib knot-dns}/lib/' .. "
69
69
+
--replace-fail "ffi.load(" "ffi.load('${lib.getLib knot-dns}/lib/' .. "
71
70
done
72
72
-
''
73
73
-
# https://gitlab.nic.cz/knot/knot-resolver/-/issues/925
74
74
-
+ ''
75
75
-
patch modules/http/meson.build <<EOF
76
76
-
@@ -22 +21,0 @@
77
77
-
- ['http', files('http.test.lua')],
78
78
-
EOF
79
71
''
80
72
# some tests have issues with network sandboxing, apparently
81
73
+ optionalString doInstallCheck ''