refactor: remove Nix installer script after installation to clean up environment
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
All checks were successful
Nix Format Check / check-format (push) Successful in 38s
This commit is contained in:
parent
d1ae208acf
commit
ded7a858da
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"
|
||||||
|
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"
|
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh || die "Failed to source Nix profile"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user