shell: don't run nix-build in .zshenv

This commit is contained in:
Jez Cope 2021-07-26 10:50:48 +01:00
parent 195af0a98a
commit 09a3f9cbf4
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
[[ -r /etc/profile.d/nix.sh ]] && source /etc/profile.d/nix.sh
[[ -r $HOME/.nix-profile/etc/profile.d/nix.sh ]] && source $HOME/.nix-profile/etc/profile.d/nix.sh
export LOCALE_ARCHIVE="$(nix-build --no-out-link "<nixpkgs>" -A glibcLocales)/lib/locale/locale-archive"
export LOCALE_ARCHIVE="${pkgs.glibcLocales}/lib/locale/locale-archive"
ZSH_CUSTOM=$HOME/.zsh/omz-custom
unset LIBGL_DRIVERS_PATH LD_LIBRARY_PATH