-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Generate fallback-paths in a flake output instead of "hidden" perl #11565
Conversation
27951ab
to
6ab29bf
Compare
This implements the `fallback-paths.nix` format in NixOS
6ab29bf
to
7bd3f3b
Compare
See my comment here. We shouldn't have multiple release processes. |
My answer here: NixOS/nixpkgs#343657 (comment) |
Yeah I marked it as draft when I realized this was (obviously) already in the release script.
I'll update the description |
It's unnecessarily difficult to simplify the release script without having an example of this on Hydra, so I'll make this a two-parter. Part one ready for review, right here! |
Does it though? I feel that
is simpler than
|
Most of the complexity is in the interfacing with Hydra. What weighs heavier to me is that it's hidden away in a release script.
Fair. I meant to refer to all system types, but that's not clear at all.
Ok.
... back to draft |
Motivation
Currently,
nix-fallback-paths.nix
is generated in the release script. Let's make it more declarative instead, so thatThe new package provides the contents for
nix-fallback-paths.nix
in NixOS, but without the weirdly specific name that's for the purpose ofnixos-rebuild
.TODOFollow-up:Question:
Do we want to rename this and provide JSON? I think using a data format for data is good, as it makes alternative use cases possible. The current name is a layer violation.
(Ideally we should have a store-level json based package description format, but that's overkill for this particular use case; it would make the entire solution reusable though, whereas the current thing or this PR are still an ad hoc format.)
Context
Priorities and Process
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.