bencodetools: use stdenv.buildPlatform.canExecute

This commit is contained in:
Peder Bergebakken Sundt
2024-10-21 11:47:19 +02:00
parent 66c524ac40
commit 191df7805e

View File

@@ -29,7 +29,7 @@ stdenv.mkDerivation {
];
# installCheck instead of check due to -install_name'd library on Darwin
doInstallCheck = stdenv.buildPlatform == stdenv.hostPlatform;
doInstallCheck = stdenv.buildPlatform.canExecute stdenv.hostPlatform;
installCheckTarget = "check";
meta = with lib; {