Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix "Failed tcsetattr(TCSADRAIN)" when
nix repl
is not a TTY
Before: ``` $ echo builtins.nixVersion | nix repl Welcome to Nix 2.18.1. Type :? for help. Failed tcsetattr(TCSADRAIN): Inappropriate ioctl for device "2.18.1" Failed tcsetattr(TCSADRAIN): Inappropriate ioctl for device ``` After: ``` $ echo builtins.nixVersion | nix repl Nix 2.21.0pre20240131_dirty Type :? for help. "2.21.0pre20240131_dirty" ```
- Loading branch information