From c26a952af99b55a77dc7b978950ca5426674b6d1 Mon Sep 17 00:00:00 2001 From: Menno van Leeuwen Date: Wed, 22 Jan 2025 15:58:31 +0100 Subject: [PATCH] refactor: source Nix profile after installation to ensure proper environment setup --- setup.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.sh b/setup.sh index f245fff..75562a1 100755 --- a/setup.sh +++ b/setup.sh @@ -140,6 +140,7 @@ install_nix() { die "Failed to download Nix installer" 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_info "'~/dotfiles/setup.sh --continue' to continue setup."