elitak / nixos-infect

[GPLv3+] install nixos over the existing OS in a DigitalOcean droplet (and others with minor modifications)
GNU General Public License v3.0
1.37k stars 221 forks source link

Using sh instead of $SHELL #96

Closed vincentbernat closed 2 years ago

vincentbernat commented 2 years ago

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".