Merge #158349: pythonPackages.cchardet: fix build on non-x86_64

...into staging.  This time I'm merging the right commit.  I'm sorry.
This commit is contained in:
Vladimír Čunát
2022-02-08 11:10:28 +01:00

View File

@@ -26,9 +26,9 @@ buildPythonPackage rec {
cp -R src/tests $TMPDIR
pushd $TMPDIR
'' + lib.optionalString (stdenv.hostPlatform.system != "x86_64-linux") ''
rm $TMPDIR/testdata/th/tis-620.txt # identified as iso-8859-11, which is fine for all practical purposes
rm $TMPDIR/testdata/ga/iso-8859-1.txt # identified as windows-1252, which is fine for all practical purposes
rm $TMPDIR/testdata/fi/iso-8859-1.txt # identified as windows-1252, which is fine for all practical purposes
rm $TMPDIR/tests/testdata/th/tis-620.txt # identified as iso-8859-11, which is fine for all practical purposes
rm $TMPDIR/tests/testdata/ga/iso-8859-1.txt # identified as windows-1252, which is fine for all practical purposes
rm $TMPDIR/tests/testdata/fi/iso-8859-1.txt # identified as windows-1252, which is fine for all practical purposes
'';
checkPhase = ''