Skip to content

Commit

Permalink
This is plenty for a valid locale in nix-shell
Browse files Browse the repository at this point in the history
  • Loading branch information
fidel committed Jan 3, 2025
1 parent e3118d6 commit d2e7d1e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions support/nix/redis.nix
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
with import <nixpkgs> {};

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
Expand Down

0 comments on commit d2e7d1e

Please sign in to comment.