Merge pull request #291372 from K900/í

aspellDicts: extend cp1252 workaround to all platforms
This commit is contained in:
Weijia Wang 2024-02-26 06:03:04 +01:00 committed by GitHub
commit a6d0d38f44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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