nixpkgs/pkgs/os-specific
Robert Hensing 472dfb3888 nixos-rebuild: Add tty only to "sudo-able" commands for target
This solves again the problem solved by 09fd207cb8.

To quote:

> We always want to use `ssh -t` to force PTY allocation as there may be
> interactive SSH prompts like trusting unknown hosts.

However, the creation of a pseudoterminal causes the remote stdout and stderr
to point to the same tty, resulting in a single stream in the ssh client,
which breaks other usages of ssh, such as `--build-host`.

Hence, this commit only sets the flag for invocations that need it -
or would need it if sudo were disabled. That should help with development
and gives a somewhat more consistent user experience.
2024-01-14 01:14:33 +01:00
..
bsd freebsd.libc: fix build with LLVM 16+ 2024-01-02 20:29:57 -08:00
darwin Merge pull request #275928 from Ovyerus/xcode-15 2024-01-11 06:00:58 +01:00
linux nixos-rebuild: Add tty only to "sudo-able" commands for target 2024-01-14 01:14:33 +01:00
solo5
windows windows.mcfgthreads: unstable-2023-06-06 -> 1.6.1, refactor 2024-01-12 22:10:44 +01:00