diff options
author | Vladimír Čunát <v@cunat.cz> | 2021-08-02 16:29:01 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2021-08-02 16:29:01 +0200 |
commit | 895ce97eeadded30c897022b1768b645df21501e (patch) | |
tree | aa5e9182813d5d9bd2f9ff1caf6796e7949b005e /pkgs/servers/dns | |
parent | 2afe544fe56bb9f70a259031e7bd0adbfd056f59 (diff) |
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).
Diffstat (limited to 'pkgs/servers/dns')
-rw-r--r-- | pkgs/servers/dns/knot-dns/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/servers/dns/knot-dns/default.nix b/pkgs/servers/dns/knot-dns/default.nix index fb4efba383c08..d5f0661066519 100644 --- a/pkgs/servers/dns/knot-dns/default.nix +++ b/pkgs/servers/dns/knot-dns/default.nix @@ -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 |