aboutsummaryrefslogtreecommitdiff
path: root/tests/nix-profile.sh
blob: c9c756b60c044ed9519832daeea1dc235dbdb97f (plain)
1
2
3
4
5
6
7
8
9
10
source common.sh

home=$TEST_ROOT/home
rm -rf $home
mkdir -p $home
HOME=$home $SHELL -e -c ". $sysconfdir/profile.d/nix.sh"
HOME=$home $SHELL -e -c ". $sysconfdir/profile.d/nix.sh" # test idempotency

[ -L $home/.nix-profile ]
[ -e $home/.nix-channels ]