flatbuffers_2_0: use stdenv.buildPlatform.canExecute

This commit is contained in:
Peder Bergebakken Sundt 2024-10-21 11:34:19 +02:00
parent 80a7af3715
commit 59dd05ed24

View File

@ -23,7 +23,7 @@ stdenv.mkDerivation rec {
"-DFLATBUFFERS_OSX_BUILD_UNIVERSAL=OFF"
];
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
checkTarget = "test";
meta = with lib; {