zerotierone: use stdenv.buildPlatform.canExecute

This commit is contained in:
Peder Bergebakken Sundt 2024-10-21 11:34:21 +02:00
parent 56783f8200
commit 66c524ac40

View File

@ -115,7 +115,7 @@ in stdenv.mkDerivation {
buildFlags = [ "all" "selftest" ];
doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
doCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
checkPhase = ''
runHook preCheck
./zerotier-selftest