diff options
| author | Arvin Sevilla <33614172+sevillaarvin@users.noreply.github.com> | 2023-08-13 16:54:23 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-08-13 16:54:23 +0800 |
| commit | 5c22b241f7bd998941248210bbf1340b5f38baff (patch) | |
| tree | 8582830d215dabf770c99d6fc8be100a6d895d19 | |
| parent | 426d38710b656b0a31f8eaae6e0002206a3b96d7 (diff) | |
chore(installer): capitalize the default option when reading user input
| -rw-r--r-- | pkgs/darwin-installer/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/darwin-installer/default.nix b/pkgs/darwin-installer/default.nix index 100d25c..afd53fe 100644 --- a/pkgs/darwin-installer/default.nix +++ b/pkgs/darwin-installer/default.nix @@ -63,7 +63,7 @@ stdenv.mkDerivation { # Skip when stdin is not a tty, eg. # $ yes | darwin-installer if test -t 0; then - read -p "Would you like to edit the default configuration.nix before starting? [y/n] " i + read -p "Would you like to edit the default configuration.nix before starting? [y/N] " i case "$i" in y|Y) PATH=$_PATH ''${EDITOR:-nano} "$config" @@ -75,7 +75,7 @@ stdenv.mkDerivation { darwinPath=$(NIX_PATH=$HOME/.nix-defexpr/channels nix-instantiate --eval -E '<darwin>' 2> /dev/null) || true if ! test -e "$darwinPath"; then if test -t 0; then - read -p "Would you like to manage <darwin> with nix-channel? [y/n] " i + read -p "Would you like to manage <darwin> with nix-channel? [Y/n] " i fi case "$i" in y|Y) |
