refactor: source Nix profile after installation to ensure proper environment setup
All checks were successful
Nix Format Check / check-format (push) Successful in 40s
All checks were successful
Nix Format Check / check-format (push) Successful in 40s
This commit is contained in:
parent
089010b33c
commit
c26a952af9
1
setup.sh
1
setup.sh
@ -140,6 +140,7 @@ install_nix() {
|
|||||||
die "Failed to download Nix installer"
|
die "Failed to download Nix installer"
|
||||||
|
|
||||||
sh install-nix.sh install || die "Failed to install Nix"
|
sh install-nix.sh install || die "Failed to install Nix"
|
||||||
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh || die "Failed to source Nix profile"
|
||||||
|
|
||||||
log_success "Nix has been installed. Please open a new shell and re-run the script."
|
log_success "Nix has been installed. Please open a new shell and re-run the script."
|
||||||
log_info "'~/dotfiles/setup.sh --continue' to continue setup."
|
log_info "'~/dotfiles/setup.sh --continue' to continue setup."
|
||||||
|
Loading…
x
Reference in New Issue
Block a user