From fa760c9f6951de0dbb9cbba538b6190b0ef6bcd2 Mon Sep 17 00:00:00 2001 From: Szymon Fiedler Date: Fri, 3 Jan 2025 23:54:34 +0100 Subject: [PATCH] This is plenty for a valid locale in nix-shell --- support/nix/redis.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/support/nix/redis.nix b/support/nix/redis.nix index eeb83bafab..5d8ab5051f 100644 --- a/support/nix/redis.nix +++ b/support/nix/redis.nix @@ -1,14 +1,13 @@ with import {}; mkShell { - buildInputs = [ redis glibcLocales ]; + buildInputs = [ redis ]; shellHook = '' ${builtins.readFile ./pushtrap.sh} - LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive" - LANG = "en_US.UTF-8" - LC_ALL = "en_US.UTF-8" + LANG=C + LC_ALL=C TMP=$(mktemp -d) SOCKET=$TMP/redis.sock