summaryrefslogtreecommitdiffstats
path: root/.bash_profile
blob: 14802fe4500bffe7cec6c79d9075f15fca6ae997 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# Honor per-interactive-shell startup file
if [ -f ~/.bashrc ]; then . ~/.bashrc; fi

export GUIX_EXTRA_PROFILES=$HOME/.guix-extra-profiles

for i in $GUIX_EXTRA_PROFILES/*; do
  profile=$i/$(basename "$i")
  if [ -f "$profile"/etc/profile ]; then
    GUIX_PROFILE="$profile"
    . "$GUIX_PROFILE"/etc/profile
  fi
  unset profile
done

export NIX_PATH=~/.nix-defexpr/channels/nixos/

. .profile