mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-02 17:09:09 +03:00
knot-dns: disable tests broken on aarch64-darwin
Upstream is aware but they don't have a fix yet. I'm not aware of NixPkgs being used for another platform affected by this (e.g. ppc64le).
This commit is contained in:
parent
2afe544fe5
commit
895ce97eea
@ -29,6 +29,12 @@ stdenv.mkDerivation rec {
|
||||
./runtime-deps.patch
|
||||
];
|
||||
|
||||
# Disable knotd journal tests on platforms that don't use 4k sysconf(_SC_PAGESIZE).
|
||||
# The journal most likely works fine, but some of the tests currently don't.
|
||||
postPatch = lib.optionalString (doCheck && stdenv.isDarwin && stdenv.isAarch64) ''
|
||||
sed '/^\tknot\/test_journal\>/d' -i tests/Makefile.am
|
||||
'';
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
buildInputs = [
|
||||
gnutls liburcu libidn2 libunistring
|
||||
|
Loading…
Reference in New Issue
Block a user