Open pbsds opened 1 year ago
Yeah we need to figure out what we're going to do regarding this. I'm thinking we'll simply have to set LC_ALL=C if you're running outside of NixOS, which limits us to English outside of NixOS.
I was able to get by this issue by using LC_ALL="C" nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nixified-ai/flake#invokeai-amd -- --web
in case anyone using nix-shell has this same issue
To get luatex working in the past i added this line to environment variable to mkShell:
LOCALE_ARCHIVE = "${pkgs.glibcLocales}/lib/locale/locale-archive";
Possibly something to look into
During initial setup with
nix run .#invokeai-nvidia
on a non-nixos machine i gotError: unsupported locale setting
thrown fromnix/store/iw1vmh509hcbby8dbpsaanbri4zsq7dj-python3-3.10.10/lib/python3.10/locale.py:620
.The fix is as easy as
export LC_ALL=C
, but it is not something i want to add to my bash profile. I've run into something like this before, and my fix at the time was to include more locales in the runtime closure.Additional context
The setup worked fine on my nixos machine, which also uses a norwegian locale.