Skip to content

Installer assumes no TTY when a TTY is present #5238

@winterqt

Description

@winterqt

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions