Experiment

This commit is contained in:
Mikael 2024-07-26 18:30:12 +02:00
parent b0325f0328
commit 019d9b5e6b

View file

@ -3,8 +3,9 @@
outputs = { self, ... }: { outputs = { self, ... }: {
overlays.default = final: prev: { overlays.default = final: prev: {
glibcLocales = prev.glibcLocales.overrideAttrs (base: { glibcLocales = prev.glibcLocales.overrideAttrs (base: {
nativeBuildInputs = base.nativeBuildInputs or [ ] ++ [ self.outPath ];
postPatch = base.postPatch + '' postPatch = base.postPatch + ''
cp ${prev.lib.escapeShellArg ./en_EU} localedata/locales/en_EU ln -s ${./en_EU} localedata/locales/en_EU
echo 'en_EU.UTF-8/UTF-8 \' >>localedata/SUPPORTED echo 'en_EU.UTF-8/UTF-8 \' >>localedata/SUPPORTED
''; '';
}); });