Fixed incorrect nix.sh location
This commit is contained in:
@@ -38,7 +38,6 @@ if ! nix --version &>/dev/null; then
|
||||
echo -e "${YELLOW}[E] Nix not found.${ENDCOLOR}"
|
||||
echo -e "${GREEN}[+] Installing the Nix package manager...${ENDCOLOR}"
|
||||
curl --proto '=https' --tlsv1.2 -sSf -L https://install.determinate.systems/nix | sh -s -- install
|
||||
. $HOME/.nix-profile/etc/profile.d/nix.sh
|
||||
. /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
|
||||
echo -e "${GREEN}[I] Installed Nix.${ENDCOLOR}"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user