Fixed incorrect nix.sh location

This commit is contained in:
2024-03-30 23:03:50 +00:00
parent e15112b8e3
commit 1b2c0b67d3

View File

@@ -38,7 +38,6 @@ if ! nix --version &>/dev/null; then
echo -e "${YELLOW}[E] Nix not found.${ENDCOLOR}" echo -e "${YELLOW}[E] Nix not found.${ENDCOLOR}"
echo -e "${GREEN}[+] Installing the Nix package manager...${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 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 . /nix/var/nix/profiles/default/etc/profile.d/nix-daemon.sh
echo -e "${GREEN}[I] Installed Nix.${ENDCOLOR}" echo -e "${GREEN}[I] Installed Nix.${ENDCOLOR}"
fi fi