Skip to content

Commit 0c3c4d0

Browse files
committed
ci: enable cgroups feature alongside auto-allocate-uids
Nix needs both experimental features (auto-allocate-uids + cgroups) plus the use-cgroups setting for the nspawn container tests to run.
1 parent da4d76b commit 0c3c4d0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,11 @@ jobs:
1212

1313
- uses: DeterminateSystems/nix-installer-action@main
1414
with:
15-
# nspawn container tests need auto-allocate-uids + uid-range.
15+
# nspawn container tests need auto-allocate-uids + cgroups.
1616
extra-conf: |
17-
extra-experimental-features = auto-allocate-uids
17+
extra-experimental-features = auto-allocate-uids cgroups
1818
auto-allocate-uids = true
19+
use-cgroups = true
1920
2021
- uses: DeterminateSystems/magic-nix-cache-action@main
2122

0 commit comments

Comments
 (0)