builders: add support for systemd-nspawn containers#986
Draft
jfly wants to merge 1 commit intoNixOS:mainfrom
Draft
builders: add support for systemd-nspawn containers#986jfly wants to merge 1 commit intoNixOS:mainfrom
jfly wants to merge 1 commit intoNixOS:mainfrom
Conversation
13 tasks
jfly
commented
Mar 24, 2026
| @@ -0,0 +1,13 @@ | |||
| { | |||
| # From <https://github.com/NixOS/nixpkgs/blob/master/nixos/doc/manual/development/running-nixos-tests.section.md#system-requirements-sec-running-nixos-tests-requirements>: | |||
Contributor
Author
There was a problem hiding this comment.
(I don't know why these docs don't show up on https://nixos.org/manual/nixos/unstable/index.html#sec-running-nixos-tests-requirements yet.)
Member
|
Drafting while we find out how crazy it is to pass |
Contributor
Author
|
@mweinelt, to get things unbroken ASAP, I would propose that we:
|
This is part of NixOS#987. It gets standalone nspawn containers working, but not tests that include both nspawn containers and qemu vms. We discussed this at our last team meeting, and folks didn't seem to object to enabling these tests. At the time, I thought it was a purely hypothetical conversation, but it turns out that some of our jobsets in Hydra actually do [include these new tests](NixOS/nixpkgs#478109 (comment)).
01f10bc to
b481df7
Compare
Mic92
reviewed
Mar 24, 2026
|
|
||
| # Required for communication between nspawn containers and qemu vms. | ||
| # Disabled for now, see <https://github.com/NixOS/infra/issues/987>. | ||
| # nix.settings.sandbox-paths = [ "/dev/net" ]; |
Member
There was a problem hiding this comment.
Interesting, I wasn't aware of this feature.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is part of #987. It gets
standalone nspawn containers working, but not tests that include both
nspawn containers and qemu vms.
We discussed this at our last team meeting, and folks didn't seem to
object to enabling these tests.
At the time, I thought it was a purely hypothetical conversation, but it
turns out that some of our jobsets in Hydra actually do include these
new tests.