libwacom: disable tests on risc-v

(cherry picked from commit 0f7191d6d9)
This commit is contained in:
Jakob Leifhelm
2023-05-19 15:51:18 +02:00
committed by github-actions[bot]
parent edc5dba610
commit 988659956f

View File

@@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
libgudev
];
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
doCheck = stdenv.hostPlatform == stdenv.buildPlatform && lib.meta.availableOn stdenv.hostPlatform valgrind;
mesonFlags = [
"-Dtests=${if doCheck then "enabled" else "disabled"}"