mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 15:22:59 +01:00
Merge #132422: knot-dns: disable tests broken on aarch64-darwin
This commit is contained in:
commit
43c5cae2c6
1 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,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 a new issue