diff options
Diffstat (limited to 'nixos/modules')
-rw-r--r-- | nixos/modules/installer/tools/nixos-rebuild.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/installer/tools/nixos-rebuild.sh b/nixos/modules/installer/tools/nixos-rebuild.sh index 2d137dd52add1..d7b749573fa9e 100644 --- a/nixos/modules/installer/tools/nixos-rebuild.sh +++ b/nixos/modules/installer/tools/nixos-rebuild.sh @@ -1,5 +1,7 @@ #! @shell@ +if [ -x "@shell@" ]; then export SHELL="@shell@"; fi; + set -e showSyntax() { |