mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-23 06:26:15 +02:00
Mention --no-sandbox if sandboxing is unsupported
This commit is contained in:
parent
4e61877b5c
commit
c5c0617d6f
1 changed files with 1 additions and 1 deletions
|
@ -211,7 +211,7 @@ void LocalDerivationGoal::tryLocalBuild()
|
||||||
if (useChroot) {
|
if (useChroot) {
|
||||||
if (!mountNamespacesSupported() || !pidNamespacesSupported()) {
|
if (!mountNamespacesSupported() || !pidNamespacesSupported()) {
|
||||||
if (!settings.sandboxFallback)
|
if (!settings.sandboxFallback)
|
||||||
throw Error("this system does not support the kernel namespaces that are required for sandboxing");
|
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");
|
debug("auto-disabling sandboxing because the prerequisite namespaces are not available");
|
||||||
useChroot = false;
|
useChroot = false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue