forked from mirrors/nixpkgs
libwacom: disable tests on risc-v
This commit is contained in:
parent
ed33222971
commit
570d4efc7c
|
@ -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"}"
|
||||||
|
|
Loading…
Reference in a new issue