hactool: use hostPlatform instead of targetPlatform

Co-authored-by: Weijia Wang <9713184+wegank@users.noreply.github.com>
This commit is contained in:
ihaveahax
2025-01-10 19:49:07 -06:00
committed by GitHub
co-authored by Weijia Wang
parent 67899eb5e4
commit a4ff967c5e
+1 -1
View File
@@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
installPhase = ''
install -D hactool${stdenv.targetPlatform.extensions.executable} $out/bin/hactool${stdenv.targetPlatform.extensions.executable}
install -D hactool${stdenv.hostPlatform.extensions.executable} $out/bin/hactool${stdenv.hostPlatform.extensions.executable}
'';
meta = with lib; {