Make chroot builds easier to set up
By default, we now include /bin/sh as a bind-mount of bash.
This commit is contained in:
parent
7a60ff9a62
commit
bb45092f72
2 changed files with 11 additions and 0 deletions
|
@ -48,6 +48,9 @@ Settings::Settings()
|
|||
useSubstitutes = true;
|
||||
buildUsersGroup = getuid() == 0 ? "nixbld" : "";
|
||||
useChroot = false;
|
||||
#ifdef DEFAULT_CHROOT_DIRS
|
||||
dirsInChroot = tokenizeString<StringSet>(DEFAULT_CHROOT_DIRS, ":");
|
||||
#endif
|
||||
useSshSubstituter = true;
|
||||
impersonateLinux26 = false;
|
||||
keepLog = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue