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
cacert,
28
extraFeatures ? false, # catch-all if defaults aren't enough
29
}:
30
-
let # un-indented, over the whole file
31
-
32
result = if extraFeatures then wrapped-full else unwrapped;
33
34
inherit (lib) optional optionals optionalString;
···
36
37
unwrapped = stdenv.mkDerivation rec {
38
pname = "knot-resolver";
39
-
version = "5.7.4";
40
41
src = fetchurl {
42
url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz";
43
-
hash = "sha256-a22m7PBoKAQa+tRN+iJ3gfCuNK0YOmZwCFCTVdGL2cg=";
44
};
45
46
outputs = [
···
67
# Even though they should already be loaded and they're in RPATH, too.
68
for f in daemon/lua/{kres,zonefile}.lua; do
69
substituteInPlace "$f" \
70
-
--replace "ffi.load(" "ffi.load('${lib.getLib knot-dns}/lib/' .. "
71
done
72
-
''
73
-
# https://gitlab.nic.cz/knot/knot-resolver/-/issues/925
74
-
+ ''
75
-
patch modules/http/meson.build <<EOF
76
-
@@ -22 +21,0 @@
77
-
- ['http', files('http.test.lua')],
78
-
EOF
79
''
80
# some tests have issues with network sandboxing, apparently
81
+ optionalString doInstallCheck ''
···
27
cacert,
28
extraFeatures ? false, # catch-all if defaults aren't enough
29
}:
30
+
let
0
31
result = if extraFeatures then wrapped-full else unwrapped;
32
33
inherit (lib) optional optionals optionalString;
···
35
36
unwrapped = stdenv.mkDerivation rec {
37
pname = "knot-resolver";
38
+
version = "5.7.5";
39
40
src = fetchurl {
41
url = "https://secure.nic.cz/files/knot-resolver/${pname}-${version}.tar.xz";
42
+
sha256 = "80239cf9aa92599d9cbad4642dea5520b2ccfbc9c6f968886ea46179cb3cdf66";
43
};
44
45
outputs = [
···
66
# Even though they should already be loaded and they're in RPATH, too.
67
for f in daemon/lua/{kres,zonefile}.lua; do
68
substituteInPlace "$f" \
69
+
--replace-fail "ffi.load(" "ffi.load('${lib.getLib knot-dns}/lib/' .. "
70
done
0
0
0
0
0
0
0
71
''
72
# some tests have issues with network sandboxing, apparently
73
+ optionalString doInstallCheck ''