From 019d9b5e6b5dd0af4b0903a59b85e6b7bdaebb4b Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Fri, 26 Jul 2024 18:30:12 +0200 Subject: [PATCH] Experiment --- flake.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index a712b3e..accdcbb 100644 --- a/flake.nix +++ b/flake.nix @@ -3,8 +3,9 @@ outputs = { self, ... }: { overlays.default = final: prev: { glibcLocales = prev.glibcLocales.overrideAttrs (base: { + nativeBuildInputs = base.nativeBuildInputs or [ ] ++ [ self.outPath ]; 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 ''; });