Skip to content

Commit

Permalink
Fix LOCAL_ARCHIVE export
Browse files Browse the repository at this point in the history
  • Loading branch information
fzakaria committed Jul 13, 2020
1 parent 0d2a6d8 commit df6b218
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions envs/jruby/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,10 @@ mkShell {

# Make UTF8 the default as it's more sane
LANG = "en_US.UTF-8";
# https://nixos.org/nixpkgs/manual/#locales
LOCALE_ARCHIVE =
optionalString isLinux "${glibcLocales}/lib/locale/locale-archive";
shellHook = ''
# https://nixos.org/nixpkgs/manual/#locales
export optionalString isLinux LOCALE_ARCHIVE=${glibcLocales}/lib/locale/locale-archive
# JRuby wants to install Gem's in the nix-store which is read-only
# set GEM_HOME to make it a writable directory
export GEM_HOME=$(${jruby}/bin/ruby -e 'puts Gem.user_dir')
Expand Down

0 comments on commit df6b218

Please sign in to comment.