forked from lix-project/lix
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
|
@ -1750,6 +1750,11 @@ void DerivationGoal::startBuilder()
|
|||
host file system. */
|
||||
Paths defaultDirs;
|
||||
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");
|
||||
Paths dirsInChroot = querySetting("build-chroot-dirs", defaultDirs);
|
||||
|
||||
|
|
Loading…
Reference in a new issue