1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-30 11:43:15 +02:00

Add option ‘build-extra-chroot-dirs’

This is useful for extending (rather than overriding) the default set
of chroot paths.
This commit is contained in:
Eelco Dolstra 2014-08-04 18:00:00 +02:00
parent 4d73e2e893
commit d5a076c36f
5 changed files with 10 additions and 14 deletions

View file

@ -48,9 +48,6 @@ 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;
@ -148,7 +145,6 @@ void Settings::update()
get(useSubstitutes, "build-use-substitutes");
get(buildUsersGroup, "build-users-group");
get(useChroot, "build-use-chroot");
get(dirsInChroot, "build-chroot-dirs");
get(impersonateLinux26, "build-impersonate-linux-26");
get(keepLog, "build-keep-log");
get(compressLog, "build-compress-log");