blob: 80d968e5670ebd46ece9cac66ebf8550358a4fab (
plain) (
tree)
|
|
#!/usr/bin/env bash
# Source nix environment
nix_profile="$NIX_SYSTEM_PATH/etc/profile.d/nix.sh"
# shellcheck source=$NIX_SYSTEM_PATH/etc/profile.d/nix.sh
[ -e "${nix_profile}" ] && . "${nix_profile}"
# Propagate UTF8
# https://github.com/NixOS/nix/issues/599#issuecomment-153885553
LOCALE_ARCHIVE="$NIX_SYSTEM_PATH/lib/locale/locale-archive"
export LOCALE_ARCHIVE
PATH="$NIX_PROFILE/bin:$PATH:$NIX_SYSTEM_PATH/bin"
|