wheel: 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 15:52:57 +02:00 committed by Jonathan Ringer
parent 1be74eb17d
commit cb3813b7b6

View file

@ -18,7 +18,7 @@ buildPythonPackage rec {
name = "${pname}-${version}-source";
extraPostFetch = ''
cd $out
mv tests/testdata/unicode.dist/unicodedist/åäö_.py \
mv tests/testdata/unicode.dist/unicodedist/åäö_.py \
tests/testdata/unicode.dist/unicodedist/æɐø_.py
patch -p1 < ${./0001-tests-Rename-a-a-o-_-.py-_-.py.patch}
'';