From 5c22b241f7bd998941248210bbf1340b5f38baff Mon Sep 17 00:00:00 2001 From: Arvin Sevilla <33614172+sevillaarvin@users.noreply.github.com> Date: Sun, 13 Aug 2023 16:54:23 +0800 Subject: chore(installer): capitalize the default option when reading user input --- pkgs/darwin-installer/default.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkgs') 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 '' 2> /dev/null) || true if ! test -e "$darwinPath"; then if test -t 0; then - read -p "Would you like to manage with nix-channel? [y/n] " i + read -p "Would you like to manage with nix-channel? [Y/n] " i fi case "$i" in y|Y) -- cgit v1.2.3