forked from lix-project/lix
Merge pull request #7524 from ncfavier/sandbox-paths-closure
doc: sandbox-paths computes closures
This commit is contained in:
commit
8c52f8ea9d
|
@ -329,7 +329,7 @@ public:
|
||||||
Whether to execute builds inside cgroups.
|
Whether to execute builds inside cgroups.
|
||||||
This is only supported on Linux.
|
This is only supported on Linux.
|
||||||
|
|
||||||
Cgroups are required and enabled automatically for derivations
|
Cgroups are required and enabled automatically for derivations
|
||||||
that require the `uid-range` system feature.
|
that require the `uid-range` system feature.
|
||||||
|
|
||||||
> **Warning**
|
> **Warning**
|
||||||
|
@ -491,6 +491,9 @@ public:
|
||||||
for example, `/dev/nvidiactl?` specifies that `/dev/nvidiactl` will
|
for example, `/dev/nvidiactl?` specifies that `/dev/nvidiactl` will
|
||||||
only be mounted in the sandbox if it exists in the host filesystem.
|
only be mounted in the sandbox if it exists in the host filesystem.
|
||||||
|
|
||||||
|
If the source is in the Nix store, then its closure will be added to
|
||||||
|
the sandbox as well.
|
||||||
|
|
||||||
Depending on how Nix was built, the default value for this option
|
Depending on how Nix was built, the default value for this option
|
||||||
may be empty or provide `/bin/sh` as a bind-mount of `bash`.
|
may be empty or provide `/bin/sh` as a bind-mount of `bash`.
|
||||||
)",
|
)",
|
||||||
|
|
Loading…
Reference in a new issue