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:22:32 +02:00
parent ef44d46775
commit 4cad0502db
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
1 changed files with 3 additions and 0 deletions

View File

@ -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 \