mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-09-20 08:28:06 +03:00
11 lines
254 B
Bash
11 lines
254 B
Bash
|
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
|
||
|
|
||
|
[ -e $home/.nix-profile ]
|
||
|
[ -e $home/.nix-channels ]
|