nixos-rebuild: changed $SHELL to /bin/sh

$SHELL is not always bash, /bin/sh always is. This is a problem when running nixos-rebuild in fish.

$SHELL appears many times in nixpkgs. If I'm not mistaken, each occurence should be replaced by /bin/sh. Should I also do this ?