knot-resolver: temporarily make it pass

even if luajitPackages.http is broken.
I'm confident that most people don't use it,
so at least those should get immediately unblocked.
(The main derivation only uses it for this test.)
This commit is contained in:
Vladimír Čunát
2024-04-01 20:25:17 +02:00
parent ef44d46775
commit 4cad0502db
@@ -53,6 +53,8 @@ unwrapped = stdenv.mkDerivation rec {
echo 'os.exit(77)' > daemon/lua/trust_anchors.test/bootstrap.test.lua
sed -E '/^[[:blank:]]*test_(dstaddr|headers),?$/d' -i \
tests/config/doh2.test.lua modules/http/http_doh.test.lua
'' + /* FIXME: see PR #286822 */ ''
sed '/doh2\.test\.lua/d' -i tests/config/meson.build
'';
preConfigure = ''
@@ -118,6 +120,7 @@ wrapped-full = runCommand unwrapped.name
allowSubstitutes = false;
inherit (unwrapped) meta;
}
assert false; # FIXME: the http module won't work; see PR #286822
(''
mkdir -p "$out"/bin
makeWrapper '${unwrapped}/bin/kresd' "$out"/bin/kresd \