Skip to content

Commit

Permalink
fix: add glibc local to shell.nix
Browse files Browse the repository at this point in the history
this fixes locales problem on non-nixos env
  • Loading branch information
eastonman committed Jan 1, 2025
1 parent 5de5e88 commit 98202b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
'';
}

0 comments on commit 98202b0

Please sign in to comment.