Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Update various flake inputs and the flake.lock file. Adapt the flake.nix file, as well as the Rust source code, to accomodate the latest changes (new clippy warnings, etc.).
This PR has been split off #2037, which started to mix too many concerns. The pure workflow changes are left in #2037.
Topiary is getting hard to use from the flake, because there are two conflicting versions: the one that is pulled from the flake's input to be used in the CI (checking that files are properly formatted), and the one built into Nickel via cargo. Both must agree (or at least there might be a difference in formatting between the two if they aren't the same version). Since the addition of dynamic loading of grammars, the flake input's Topiary has become harder to build from Nix, and is also failing the CI even if we don't update it because of tweag/topiary#702.
To avoid all those pitfalls, this commit gets rid of the Topiary as a flake input, and use
nickel format
instead, ensuring that the formatting is consistent. As a consequence, Topiary isn't included in the development shell anymore, but it's arguably not an issue: it was included beforenickel format
, as we needed a third party formatter, but now one can just build Nickel locally with one's preferred method and usenickel format
.