summaryrefslogtreecommitdiff
path: root/pkgs
diff options
context:
space:
mode:
authorArvin Sevilla <33614172+sevillaarvin@users.noreply.github.com>2023-08-13 16:54:23 +0800
committerGitHub <noreply@github.com>2023-08-13 16:54:23 +0800
commit5c22b241f7bd998941248210bbf1340b5f38baff (patch)
tree8582830d215dabf770c99d6fc8be100a6d895d19 /pkgs
parent426d38710b656b0a31f8eaae6e0002206a3b96d7 (diff)
chore(installer): capitalize the default option when reading user input
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/darwin-installer/default.nix4
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)