hactool: fix windows cross-compilation (#372773)

This commit is contained in:
Weijia Wang
2025-01-11 03:07:56 +01:00
committed by GitHub
+2 -2
View File
@@ -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";
};
}