Add locale file to build inputs
This commit is contained in:
parent
b0325f0328
commit
cdbb4e8970
1 changed files with 1 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
||||||
outputs = { self, ... }: {
|
outputs = { self, ... }: {
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
glibcLocales = prev.glibcLocales.overrideAttrs (base: {
|
glibcLocales = prev.glibcLocales.overrideAttrs (base: {
|
||||||
|
buildInputs = base.buildInputs ++ [ ./en_EU ];
|
||||||
postPatch = base.postPatch + ''
|
postPatch = base.postPatch + ''
|
||||||
cp ${prev.lib.escapeShellArg ./en_EU} localedata/locales/en_EU
|
cp ${prev.lib.escapeShellArg ./en_EU} localedata/locales/en_EU
|
||||||
echo 'en_EU.UTF-8/UTF-8 \' >>localedata/SUPPORTED
|
echo 'en_EU.UTF-8/UTF-8 \' >>localedata/SUPPORTED
|
||||||
|
|
Reference in a new issue