Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installer assumes no TTY when a TTY is present #5238

Open
winterqt opened this issue Sep 12, 2021 · 3 comments
Open

Installer assumes no TTY when a TTY is present #5238

winterqt opened this issue Sep 12, 2021 · 3 comments

Comments

@winterqt
Copy link
Member

winterqt commented Sep 12, 2021

Describe the bug

When running the installer with curl -L https://nixos.org/nix/install | sh -s -- --darwin-use-unencrypted-nix-store-volume --daemon as recommended in the manual, the script assumes that no TTY is present.

Steps To Reproduce

  1. Run curl -L https://nixos.org/nix/install | sh -s -- --darwin-use-unencrypted-nix-store-volume --daemon

Expected behavior

For the script to detect a TTY successfully

nix-env --version output

n/a

Additional context

I am using the iTerm terminal emulator on macOS. I am unsure if this is relevant, but I would not be surprised.

@winterqt winterqt added the bug label Sep 12, 2021
@abathur
Copy link
Member

abathur commented Sep 13, 2021

AFAIK this is expected behavior with the pipe syntax while sh <(curl...) would do what you expect?

@winterqt
Copy link
Member Author

while sh <(curl...) would do what you expect?

This doesn't work on Fish, sadly.

@stale
Copy link

stale bot commented Apr 16, 2022

I marked this as stale due to inactivity. → More info

@stale stale bot added the stale label Apr 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants