mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-31 09:14:28 +00:00
zerotierone: use stdenv.buildPlatform.canExecute
This commit is contained in:
parent
56783f8200
commit
66c524ac40
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user