mirror of
https://github.com/elitak/nixos-infect
synced 2024-11-22 19:23:28 +00:00
Using sh instead of $SHELL (#96)
Nix install script should be parsed by a Bourne-like shell, like bash or sh. If the user invokes the script using a Korn shell or a Z Shell, the script won't work. Nix documentation says to use "sh".
This commit is contained in:
parent
e649f34f79
commit
d9012e22d3
1 changed files with 1 additions and 1 deletions
|
@ -264,7 +264,7 @@ infect() {
|
|||
#addgroup nixbld -g 30000 || true
|
||||
#for i in {1..10}; do adduser -DH -G nixbld nixbld$i || true; done
|
||||
|
||||
curl -L https://nixos.org/nix/install | $SHELL
|
||||
curl -L https://nixos.org/nix/install | sh
|
||||
|
||||
# shellcheck disable=SC1090
|
||||
source ~/.nix-profile/etc/profile.d/nix.sh
|
||||
|
|
Loading…
Reference in a new issue