Skip to content

Conversation

@arianvp
Copy link
Member

@arianvp arianvp commented Apr 29, 2025

Given that we're building the AMIs in https://github.com/NixOS/amis now it's wasteful to store the entire disk image in the cache. We keep building the config that goes into the image though so that we can block the channel on regressions.

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/)
  • 25.05 Release Notes (or backporting 24.11 and 25.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.

Given that we're building the AMIs in https://github.com/NixOS/amis now
it's wasteful to store the entire disk image in the cache. We keep
building the config that goes *into* the image though so that we can
block the channel on regressions.
@github-actions github-actions bot added the 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS label Apr 29, 2025
@arianvp arianvp marked this pull request as ready for review April 29, 2025 10:38
@arianvp
Copy link
Member Author

arianvp commented Apr 29, 2025

Need to merge NixOS/amis#262 first but then we can merge this

@arianvp arianvp requested review from Mic92 and mweinelt April 29, 2025 10:39
@github-actions github-actions bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. labels Apr 29, 2025

# A disk image that can be imported to Amazon EC2 and registered as an AMI
amazonImage = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] (
# The config for A disk image that can be imported to Amazon EC2 and registered as an AMI
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
# The config for A disk image that can be imported to Amazon EC2 and registered as an AMI
# The config for a disk image that can be imported to Amazon EC2 and registered as an AMI

@mweinelt mweinelt requested review from K900 and vcunat April 29, 2025 11:26
Copy link
Member

@vcunat vcunat left a comment

Choose a reason for hiding this comment

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

nixos/release-combined.nix needs to do something about this line

        (onSystems [ "x86_64-linux" "aarch64-linux" ] "nixos.amazonImage")

(drop or rename; this is the channel-blocking set of builds)

@nixpkgs-ci nixpkgs-ci bot added the 2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md label Oct 26, 2025
@arianvp arianvp closed this Jan 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2.status: stale https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants