Skip to content

Conversation

CertainLach
Copy link
Member

Description of changes

Things done

  • Built on platform(s)
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)
    • sandbox = relaxed
    • sandbox = true
  • Tested, as applicable:
  • Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
  • Tested basic functionality of all binary files (usually in ./result/bin/)
  • 24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)
    • (Package updates) Added a release notes entry if the change is major or breaking
    • (Module updates) Added a release notes entry if the change is significant
    • (Module addition) Added a release notes entry if adding a new NixOS module
  • Fits CONTRIBUTING.md.

Add a 👍 reaction to pull requests you find important.

@github-actions github-actions bot added the 6.topic: xen-project Issues and PRs related to the Xen Project Hypervisor. label Sep 29, 2024
@ofborg ofborg bot added the 8.has: package (new) This PR adds a new package label Sep 29, 2024
@ofborg ofborg bot added 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. labels Sep 29, 2024
Copy link
Contributor

@SigmaSquadron SigmaSquadron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I am extremely surprised it was this trivial. I can't test this as I don't have any ARM hardware, but excellent work!

@@ -717,8 +721,9 @@ stdenv.mkDerivation (finalAttrs: {

mainProgram = "xl";

# Evaluates to x86_64-linux.
platforms = lib.lists.intersectLists lib.platforms.linux lib.platforms.x86_64;
# Evaluates to [x86_64-linux aarch64-linux].
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
# Evaluates to [x86_64-linux aarch64-linux].
# Evaluates to [ "x86_64-linux" "aarch64-linux" ].

nixfmt-rfc-style won't pick up the comment.

@SigmaSquadron SigmaSquadron added the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 29, 2024
@SigmaSquadron
Copy link
Contributor

I do wonder if we can begin building xtf and xen-guest-agent on ARM now.

@@ -381,7 +384,8 @@ stdenv.mkDerivation (finalAttrs: {
]
++ lib.lists.optional withInternalOVMF nasm
++ lib.lists.optional withFlask checkpolicy
++ lib.lists.optional (lib.strings.versionOlder version "4.19") systemdMinimal;
++ lib.lists.optional (lib.strings.versionOlder version "4.19") systemdMinimal
++ lib.lists.optional stdenv.targetPlatform.isAarch64 dtc;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

targetPlatform only applies to compilers. You want either stdenv.hostPlatform, which is the platform the resulting package will run on, or stdenv.buildPlatform, the platform the build is running on. Probably the former.

@SigmaSquadron SigmaSquadron added the 2.status: merge conflict This PR has merge conflicts with the target branch label Oct 7, 2024
@SigmaSquadron SigmaSquadron added the 2.status: backlog This is a low priority label May 13, 2025
@nixpkgs-ci nixpkgs-ci bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Jun 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.status: backlog This is a low priority 2.status: merge conflict This PR has merge conflicts with the target branch 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: xen-project Issues and PRs related to the Xen Project Hypervisor. 8.has: package (new) This PR adds a new package 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 11.by: package-maintainer This PR was created by a maintainer of all the package it changes. 12.approvals: 1 This PR was reviewed and approved by one person.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants