When I set environment.sessionVariables.LC_COLLATE = "en_US.UTF-8" in nix-on-droid.nix, I get (with set -x in session-init.sh)
++ export LC_COLLATE=en_US.UTF-8
++ LC_COLLATE=en_US.UTF-8
/data/data/com.termux.nix/files/home/.nix-profile/etc/profile.d/nix-on-droid-session-init.sh: line 24: warning: setlocale: LC_COLLATE: cannot change locale (en_US.UTF-8): No such file or directory
The strange thing is that running export LC_COLLATE="en_US.UTF-8" as the first command does not produce this warning. It also does not show this warning when the environment variable is not set in session-init.sh but set as first command.
I don't know what causes this issue, do you have an idea?
When I set
environment.sessionVariables.LC_COLLATE = "en_US.UTF-8"
innix-on-droid.nix
, I get (withset -x
insession-init.sh
)The strange thing is that running
export LC_COLLATE="en_US.UTF-8"
as the first command does not produce this warning. It also does not show this warning when the environment variable is not set insession-init.sh
but set as first command.I don't know what causes this issue, do you have an idea?