diff --git a/pkgs/by-name/ha/hactool/package.nix b/pkgs/by-name/ha/hactool/package.nix index e38290f51285..8bc55829d8a5 100644 --- a/pkgs/by-name/ha/hactool/package.nix +++ b/pkgs/by-name/ha/hactool/package.nix @@ -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; {