Browse Source

fix spelling

nixos-19.03
Arseniy Seroka 7 years ago
parent
commit
61910861dc
  1. 2
      maintainers/scripts/dep-licenses.sh
  2. 2
      nixos/modules/installer/tools/nixos-rebuild.sh

2
maintainers/scripts/dep-licenses.sh

@ -17,7 +17,7 @@ trap "exitHandler" EXIT
# fetch the trace and the drvPath of the attribute.
nix-instantiate $NIXPKGS -A $attr --show-trace > "$tmp/drvPath" 2> "$tmp/trace" || {
cat 1>&2 - "$tmp/trace" <<EOF
An error occured while evaluating $attr.
An error occurred while evaluating $attr.
EOF
exit 1
}

2
nixos/modules/installer/tools/nixos-rebuild.sh

@ -235,7 +235,7 @@ fi
# default and/or activate it now.
if [ "$action" = switch -o "$action" = boot -o "$action" = test -o "$action" = dry-activate ]; then
if ! $pathToConfig/bin/switch-to-configuration "$action"; then
echo "warning: error(s) occured while switching to the new configuration" >&2
echo "warning: error(s) occurred while switching to the new configuration" >&2
exit 1
fi
fi

Loading…
Cancel
Save