aspellDicts: extend cp1252 workaround to all platforms

This commit is contained in:
K900 2024-02-25 17:58:29 +03:00
parent 5c270b3109
commit 2c93b5fb8b

View File

@ -103,8 +103,9 @@ let
homepage = "http://ftp.gnu.org/gnu/aspell/dict/0index.html";
} // (args.meta or {});
} // lib.optionalAttrs (stdenv.isDarwin && lib.elem language [ "is" "nb" ]) {
# tar: Cannot open: Illegal byte sequence
} // lib.optionalAttrs (lib.elem language [ "is" "nb" ]) {
# These have Windows-1251 encoded non-ASCII characters,
# so need some special handling.
unpackPhase = ''
runHook preUnpack