Skip to content

Commit

Permalink
Try with setting locale
Browse files Browse the repository at this point in the history
  • Loading branch information
fidel committed Jan 3, 2025
1 parent 8e3f7c3 commit 3aba7b3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 11 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/ruby_event_store-outbox_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,16 +96,6 @@ jobs:
ruby-version: "${{ env.RUBY_VERSION }}"
bundler-cache: true
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: |
nix-shell --run "locale" -E"
with import <nixpkgs> { };
mkShell {
inputsFrom = [
(import ../../support/nix/redis.nix)
];
}
"
working-directory: "${{ env.WORKING_DIRECTORY }}"
- run: |
nix-shell --run "make test" -E"
with import <nixpkgs> { };
Expand Down
6 changes: 5 additions & 1 deletion support/nix/redis.nix
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
with import <nixpkgs> {};

mkShell {
buildInputs = [ redis ];
buildInputs = [ redis glibcLocales ];

shellHook = ''
${builtins.readFile ./pushtrap.sh}
LOCALE_ARCHIVE = "${glibcLocales}/lib/locale/locale-archive"
LANG = "en_US.UTF-8"
LC_ALL = "en_US.UTF-8"
TMP=$(mktemp -d)
SOCKET=$TMP/redis.sock
PIDFILE=$TMP/redis.pid
Expand Down

0 comments on commit 3aba7b3

Please sign in to comment.