diff --git a/pkgs/by-name/ha/hactool/package.nix b/pkgs/by-name/ha/hactool/package.nix index 815fdfb87c58..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 $out/bin/hactool + install -D hactool${stdenv.hostPlatform.extensions.executable} $out/bin/hactool${stdenv.hostPlatform.extensions.executable} ''; meta = with lib; { @@ -34,7 +34,7 @@ stdenv.mkDerivation rec { longDescription = "A tool to view information about, decrypt, and extract common file formats for the Nintendo Switch, especially Nintendo Content Archives"; license = licenses.isc; maintainers = [ ]; - platforms = platforms.unix; + platforms = platforms.all; mainProgram = "hactool"; }; }