Skip to content

Conversation

@SigmaSquadron
Copy link
Contributor

Updates Xen to 4.21. Some minor improvements to the builder while we're at it.
Includes a NixOS module change that needs testing. Particularly, we need to ascertain that the new Ocaml store daemon is the one used by Xen, instead of the deprecated one built into the derivation.

Might still need to override the upstream oxenstored systemd service.

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@SigmaSquadron SigmaSquadron requested a review from a team December 16, 2025 04:59
@SigmaSquadron SigmaSquadron added the 6.topic: xen-project Issues and PRs related to the Xen Project Hypervisor. label Dec 16, 2025
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: changelog This PR adds or changes release notes 8.has: module (update) This PR changes an existing module in `nixos/` 6.topic: ocaml OCaml is a general-purpose, high-level, multi-paradigm programming language. 8.has: documentation This PR adds or changes documentation labels Dec 16, 2025
SigmaSquadron and others added 2 commits December 16, 2025 17:18
- Updates Xen to 4.21, which includes the new json_c requirement.
- Removes 4.19-specific build requirements.
- Wraps ./configure flags in helper Nix functions.
- Fixes the missing `ocamlbuild` binary.
- Cleans up a comment left inside the script area of the `installPhase`.

Signed-off-by: Fernando Rodrigues <[email protected]>
Co-authored-by: Yaroslav Bolyukin <[email protected]>
Co-authored-by: Rane <[email protected]>
This will hopefully allow Xen to use the newer oxenstored instead of
the deprecated one built into the monorepo.

Signed-off-by: Fernando Rodrigues <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: ocaml OCaml is a general-purpose, high-level, multi-paradigm programming language. 6.topic: xen-project Issues and PRs related to the Xen Project Hypervisor. 8.has: changelog This PR adds or changes release notes 8.has: documentation This PR adds or changes documentation 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 11-100 This PR causes between 11 and 100 packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant