From 6fdd315178580e2b16633c6d3dcbb389a96621e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20=C4=8Cun=C3=A1t?= Date: Fri, 5 Jul 2019 11:00:51 +0200 Subject: [PATCH] knot-resolver: add a check for the last problem --- pkgs/servers/dns/knot-resolver/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/servers/dns/knot-resolver/default.nix b/pkgs/servers/dns/knot-resolver/default.nix index 8299a4fe511d..ce84bb7cb417 100644 --- a/pkgs/servers/dns/knot-resolver/default.nix +++ b/pkgs/servers/dns/knot-resolver/default.nix @@ -101,6 +101,10 @@ wrapped-full = ln -sr '${unwrapped}/share/man' "$out"/share/ ln -sr "$out"/{bin,sbin} + + echo "Checking that 'http' module loads, i.e. lua search paths work:" + echo "modules.load('http')" > test-http.lua + echo -e 'quit()' | env -i "$out"/bin/kresd -a 127.0.0.1#53535 -c test-http.lua ''; in result