mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
libstore: Always mount `/dev/pts' individually.
This fixes problems such as Tcl's PTY handling: ERROR: The system has no more ptys. Ask your system administrator to create more.
This commit is contained in:
parent
9d6d50269b
commit
c98ea254dc
1 changed files with 5 additions and 0 deletions
|
@ -1750,6 +1750,11 @@ void DerivationGoal::startBuilder()
|
||||||
host file system. */
|
host file system. */
|
||||||
Paths defaultDirs;
|
Paths defaultDirs;
|
||||||
defaultDirs.push_back("/dev");
|
defaultDirs.push_back("/dev");
|
||||||
|
|
||||||
|
/* The `/dev/pts' directory must be mounted separately so that
|
||||||
|
newly-created pseudo-terminals show up. */
|
||||||
|
defaultDirs.push_back("/dev/pts");
|
||||||
|
|
||||||
defaultDirs.push_back("/proc");
|
defaultDirs.push_back("/proc");
|
||||||
Paths dirsInChroot = querySetting("build-chroot-dirs", defaultDirs);
|
Paths dirsInChroot = querySetting("build-chroot-dirs", defaultDirs);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue