3
0
Fork 0
forked from mirrors/nixpkgs

sphinx: Normalize the filename with NFC

The original problem with the normalization of the filename only
occurred because it was in NFC. However, when trying to fix it by
`mv`ing the file to a normalization-indifferent name, I used the NFD
normalized name from my file system. This means it only works on
normalizing file systems. The filename must be in the original encoding
and will be normalized by normalizing file systems like HFS+.
This commit is contained in:
toonn 2021-10-13 16:00:28 +02:00 committed by Jonathan Ringer
parent cb3813b7b6
commit 9b277c2891

View file

@ -39,7 +39,7 @@ buildPythonPackage rec {
sha256 = "129x3kljxq7sbg5cc12z3cmjsili6l3qrsxllkx97id1a85f7zmj";
extraPostFetch = ''
cd $out
mv tests/roots/test-images/testimäge.png \
mv tests/roots/test-images/testimäge.png \
tests/roots/test-images/testimæge.png
patch -p1 < ${./0001-test-images-Use-normalization-equivalent-character.patch}
'';