]> git.immae.eu Git - github/fretlink/docker-nix.git/blob - files/.profile
2fadec23bba0e09dd90e119fb8756f5571cd9002
[github/fretlink/docker-nix.git] / files / .profile
1 #!/usr/bin/env bash
2
3 # Source nix environment
4 nix_profile="/home/nixuser/.nix-profile/etc/profile.d/nix.sh"
5 # shellcheck source=/home/nixuser/.nix-profile/etc/profile.d/nix.sh
6 [ -e "${nix_profile}" ] && . "${nix_profile}"
7
8 # Propagate UTF8
9 # https://github.com/NixOS/nix/issues/599#issuecomment-153885553
10 LOCALE_ARCHIVE="$(nix-env --installed --no-name --out-path --query glibc-locales)/lib/locale/locale-archive"
11 export LOCALE_ARCHIVE