mirror of
https://github.com/NixOS/nix.git
synced 2024-10-31 22:30:52 +00:00
Another attempt at getting pseudoterminals to work on macOS
This commit is contained in:
parent
2743bf0bb1
commit
3cc1125595
@ -2196,6 +2196,9 @@ void DerivationGoal::startBuilder()
|
||||
|
||||
if (chown(slaveName.c_str(), buildUser->getUID(), 0))
|
||||
throw SysError("changing owner of pseudoterminal slave");
|
||||
} else {
|
||||
if (grantpt(builderOut.readSide.get()))
|
||||
throw SysError("granting access to pseudoterminal slave");
|
||||
}
|
||||
|
||||
#if 0
|
||||
|
Loading…
Reference in New Issue
Block a user