3
0
Fork 0
forked from mirrors/nixpkgs

libwacom: disable tests on risc-v

This commit is contained in:
Jakob Leifhelm 2023-05-19 15:51:18 +02:00 committed by Alyssa Ross
parent ed33222971
commit 570d4efc7c

View file

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