diff --git a/setup.sh b/setup.sh index ad75f0b..7196aeb 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" + rm install-nix.sh || die "Failed to remove Nix installer" . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh || die "Failed to source Nix profile" }