mirror of
https://github.com/NixOS/nix
synced 2025-06-30 07:33:16 +02:00
* Add /dev/pts to the default nix.conf.
This commit is contained in:
parent
2b7c839b4e
commit
4166b11a53
2 changed files with 8 additions and 9 deletions
|
@ -1744,15 +1744,14 @@ void DerivationGoal::startBuilder()
|
|||
autoDelChrootTmp = boost::shared_ptr<AutoDelete>(new AutoDelete(chrootTmpDir));
|
||||
|
||||
/* Bind-mount a user-configurable set of directories from the
|
||||
host file system. */
|
||||
host file system. The `/dev/pts' directory must be mounted
|
||||
separately so that newly-created pseudo-terminals show
|
||||
up. */
|
||||
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);
|
||||
|
||||
dirsInChroot.push_front(nixStore);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue