mirror of
https://github.com/NixOS/nix.git
synced 2025-11-17 07:52:43 +01:00
parent
5597d68e2d
commit
f094ba7386
5 changed files with 69 additions and 48 deletions
|
|
@ -209,7 +209,7 @@ void LocalDerivationGoal::tryLocalBuild()
|
|||
|
||||
#if __linux__
|
||||
if (useChroot) {
|
||||
if (!mountNamespacesSupported() || !pidNamespacesSupported()) {
|
||||
if (!mountAndPidNamespacesSupported()) {
|
||||
if (!settings.sandboxFallback)
|
||||
throw Error("this system does not support the kernel namespaces that are required for sandboxing; use '--no-sandbox' to disable sandboxing");
|
||||
debug("auto-disabling sandboxing because the prerequisite namespaces are not available");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue