mirror of
https://github.com/NixOS/nix
synced 2025-07-07 14:21:48 +02:00
Add a setting for enabling cgroups
This commit is contained in:
parent
ff12d1c1a1
commit
67bcb99700
4 changed files with 27 additions and 10 deletions
|
@ -43,10 +43,11 @@
|
|||
|
||||
```
|
||||
extra-experimental-features = cgroups
|
||||
use-cgroups = true
|
||||
```
|
||||
|
||||
to `nix.conf`. It is also automatically enabled for builds that
|
||||
require the `uid-range` system feature.
|
||||
to `nix.conf`. Cgroups are required for derivations that require the
|
||||
`uid-range` system feature.
|
||||
|
||||
* `nix build --json` now prints some statistics about top-level
|
||||
derivations, such as CPU statistics when cgroups are enabled.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue