stackabletech / stackabletech/stackablectl
Nix pre-commit and ci checks
Open
@NickLarsenNZ is already working on this.
Since Jun 5, 2024.
- Dominant language
- Rust
- Stars
- 10
- Forks
- 5
- Avg merge
- 4h 41m
- Merged PRs (30d)
- 4
Description
Currently, the nix lock files (for crate2nix and for the packages via niv) are only updated when one of the Nix users runs:
make regenerate-nix, andniv update
This means that dependencies in Cargo.lock and Cargo.nix might be at different versions.
To resolve this, we can:
- Add the update commands to the pre-commit hooks, and/or
- Run the commands in CI and check for changes
Optionally, perhaps make regenerate-nix could also do the niv update so there is one command.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.