Merge #126619: knot-resolver: skip tests on aarch64-darwin

(cherry picked from commit 9affc60b0cd7575c075a7be13d500928b0909fd1)
It looks good on nixpkgs master (and other platforms don't even rebuild):
https://hydra.nixos.org/build/145261694
This commit is contained in:
Vladimír Čunát 2021-06-12 07:10:04 +02:00
parent 20fb587164
commit 1ba7a494bf
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -79,7 +79,8 @@ unwrapped = stdenv.mkDerivation rec {
rm -r "$out"/lib/sysusers.d/ # ATM more likely to harm than help
'';
doInstallCheck = with stdenv; hostPlatform == buildPlatform;
doInstallCheck = with stdenv; hostPlatform == buildPlatform
&& !(isDarwin && isAarch64); # avoid luarocks, as it's broken ATM on the platform
installCheckInputs = [ cmocka which cacert lua.cqueues lua.basexx lua.http ];
installCheckPhase = ''
meson test --print-errorlogs