From 98202b0d28be151d097e41b5be3b84ede0bfe8b8 Mon Sep 17 00:00:00 2001 From: Easton Man Date: Wed, 1 Jan 2025 15:50:17 +0800 Subject: [PATCH] fix: add glibc local to shell.nix this fixes locales problem on non-nixos env --- shell.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell.nix b/shell.nix index 8b7c5ef..5cdeaf1 100755 --- a/shell.nix +++ b/shell.nix @@ -48,9 +48,11 @@ pkgs.mkShell { pkgs.nix-output-monitor pkgs.mdbook pkgs.graphviz + pkgs.glibcLocales my-python3 ]; shellHook = '' + export LOCALE_ARCHIVE=${pkgs.glibcLocales}/lib/locale/locale-archive h ''; }