edusong: ensure correct filename in installPhase

fetchzip's unzipping the file without any special options will create a
file with garbled characters (mojibake) and 'invalid encoding' appended
to the filename. The original filename can be seen using unzipNLS with
option -O CP950. Also see
https://wiki.archlinux.org/title/Character_encoding#Troubleshooting.
This commit is contained in:
x 2025-04-22 15:09:11 +08:00
parent be4069b7da
commit 00adb0968c

View file

@ -16,7 +16,7 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
mkdir -p $out/share/fonts/
mv *.ttf $out/share/fonts/
mv eduSong_Unicode*.ttf $out/share/fonts/eduSong_Unicode\(202412\).ttf
'';
meta = {