2024-08-18 13:47:18 +02:00
|
|
|
{ ... }: { pkgs, lib, callPackage, allLocales ? false, locales ? [ "en_EU.UTF-8/UTF-8" ] }:
|
|
|
|
|
|
|
|
let glibcLocales = callPackage
|
|
|
|
(pkgs.path + "/pkgs/development/libraries/glibc/locales.nix")
|
|
|
|
{ inherit allLocales locales; };
|
|
|
|
in glibcLocales.overrideAttrs (prevAttrs: {
|
|
|
|
postPatch = prevAttrs.postPatch + ''
|
|
|
|
cp ${./en_EU} localedata/locales/en_EU
|
|
|
|
echo 'en_EU.UTF-8/UTF-8 \' >>localedata/SUPPORTED
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = prevAttrs.meta // {
|
|
|
|
maintainers = with lib.maintainers; [ mvs ];
|
2024-08-22 16:17:26 +02:00
|
|
|
platforms = prevAttrs.meta.platforms or lib.platforms.linux;
|
2024-08-18 13:47:18 +02:00
|
|
|
};
|
|
|
|
})
|