- . $HOME/path_add-function
- path_add /usr/sbin /usr/local/sbin /sbin /a/exe /a/opt/bin
- path_add --end $HOME/.cabal/bin
+ . $HOME/path_add-function
+ path_add /usr/sbin /usr/local/sbin /sbin /a/exe /a/opt/bin
+ path_add --end $HOME/.cabal/bin
+
+ if [ -r /etc/alternatives/java_sdk ]; then
+ export JAVA_HOME=/etc/alternatives/java_sdk
+ path_add /etc/alternatives/java_sdk
+ fi
+
+ export GUIX_PROFILE=/root/.config/guix/current
+ if [[ -e $GUIX_PROFILE/etc/profile ]]; then
+ source $GUIX_PROFILE/etc/profile
+ fi
+ path_add $HOME/.guix-profile/bin
+ export GUIX_LOCPATH=$HOME/.guix-profile/lib/locale