stackabletech / stackabletech/stackablectl

Nix pre-commit and ci checks

Offen
#298 2 Kommentare 0 Reaktionen 1 zugewiesene Person Auf GitHub ansehen

@NickLarsenNZ arbeitet bereits daran.

Seit 05.6.2024.

Vorherrschende Sprache
Rust
Sterne
10
Forks
5
Ø Merge
4 Std. 41 Min.
Gemergte PRs (30 T.)
4

Beschreibung

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, and
  • niv 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.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.