-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
image/images: Adapt remaining images to system.build.image & normalized filenames, #359345
base: master
Are you sure you want to change the base?
Conversation
4e802fe
to
4c1cdf8
Compare
You're the lucky first customer of #359704 :D |
4c1cdf8
to
bc627af
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, this makes the whole image story much more cleaned up in nixpkgs.
and rename: - sdImage.imageBaseName -> image.BaseName - sdImage.imageName -> image.fileName
and rename: - isoImage.isoBaseName -> image.baseName - isoImage.isoName -> image.fileName
and rename: - amazonImage.name -> image.baseName
New module to support qemu, qemu-efi, raw, raw-efi outputs as known from nixos-generators in system.build.images.
to achieve feature parity with nixos-generators
bc627af
to
e3347c1
Compare
Needed to rebase the changes to sd-image. Now that #347275 has been merged, it would be nice to get this reviewed/merged soon-ish as it would make nixos-rebuild build-image much more useful. |
This builds on changes in #359339 and adapts remaining images to declare system.build.image and normalize file names.
It also adds a generic disk-image.nix in order to be able to build plain qcow/raw images, similar to how nixos generators does.
It was split off #347275 in order to upstream that one in smaller chunks, easier to review, test and (hopefully not) revert.
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.