1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-14 11:57:34 +00:00

Update pkgs/darwin-installer/default.nix

Co-authored-by: Michael Hoang <Enzime@users.noreply.github.com>
This commit is contained in:
Arvin Sevilla 2023-08-13 18:04:12 +08:00 committed by GitHub
parent 5c22b241f7
commit d21a7e30e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)