Experiment
This commit is contained in:
parent
b0325f0328
commit
befafa0265
1 changed files with 4 additions and 2 deletions
|
@ -2,9 +2,11 @@
|
|||
description = "Custom locale";
|
||||
outputs = { self, ... }: {
|
||||
overlays.default = final: prev: {
|
||||
glibcLocales = prev.glibcLocales.overrideAttrs (base: {
|
||||
glibcLocales = prev.glibcLocales.overrideAttrs (base:
|
||||
let locale = ./en_EU;
|
||||
in {
|
||||
postPatch = base.postPatch + ''
|
||||
cp ${prev.lib.escapeShellArg ./en_EU} localedata/locales/en_EU
|
||||
cp ${prev.lib.escapeShellArg locale} localedata/locales/en_EU
|
||||
echo 'en_EU.UTF-8/UTF-8 \' >>localedata/SUPPORTED
|
||||
'';
|
||||
});
|
||||
|
|
Reference in a new issue