-if [ -f $HOME/path_add-function ]; then
- . $HOME/path_add-function
- path_add /usr/sbin /usr/local/sbin /sbin
- path_add /a/exe /a/opt/bin $HOME/.cabal/bin
+if [ -f $HOME/path-add-function ]; then
+ . $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