-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
nixos/tools: start cleanup #343075
nixos/tools: start cleanup #343075
Conversation
It has no other consumers anyway. Also saves some work.
The main objective of the mentioned PR, was to avoid rebuilding system-path on every commit. Making the packages overridable was kind of a side mission. I'm also very much in favour of this change by itself though, it's annoying when packages are not easily overridable. |
That's going to be in the next commits that I haven't finished yet :) |
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!
3ac493c
to
558158a
Compare
@NixOS/nixpkgs-vet that's an interesting failure mode |
@ofborg test nixos-rebuild installer |
558158a
to
51b4762
Compare
@ofborg test nixos-rebuild installer |
OK, looking at nixos-generate-config, that'll be a huge pain to untangle and I'm considering just rewriting it entirely, so I'm going to send this as is, as it's already an improvement. |
Nice work on this @K900. |
Description of changes
This is kind of a spiritual successor to #238557, achieved by just moving more things out of the NixOS module system and into normal packages. This iteration starts with
nixos-build-vms
,nixos-enter
andnixos-install
, all three of which don't depend on any config state except Nix itself.nixos-generate-config
can probably also move out, but will require some refactoring to do so, and I'm not sure aboutnixos-version
, but this is a start.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.