diff options
| author | Vladimír Čunát <v@cunat.cz> | 2021-08-02 16:29:01 +0200 |
|---|---|---|
| committer | github-actions[bot] <github-actions[bot]@users.noreply.github.com> | 2021-08-03 06:29:57 +0000 |
| commit | 2a18907734f3d9f6d3a4ce7f99c2fb6866111591 (patch) | |
| tree | ce538f3cd860be99f185d65c8a66fce732f927db | |
| parent | Merge pull request #125246 from NixOS/backport-123895-to-release-21.05 (diff) | |
| download | nixpkgs-2a18907734f3d9f6d3a4ce7f99c2fb6866111591.tar.gz | |
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).
(cherry picked from commit 895ce97eeadded30c897022b1768b645df21501e)
| -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 880865d7b4ea..499393d5e84a 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 |
