mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
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:
parent
be4069b7da
commit
00adb0968c
1 changed files with 1 additions and 1 deletions
|
@ -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\(2024年12月\).ttf
|
||||
'';
|
||||
|
||||
meta = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue