Health checks for your Nix flakes
Go to file
2023-05-22 23:04:02 +02:00
.github/workflows Remove script for getting branches list 2023-05-22 18:32:14 +02:00
src Remove unnecessary trait/struct complexity 2023-05-22 23:04:02 +02:00
.editorconfig Add editorconfig file 2023-05-19 17:16:52 +02:00
.envrc First commit; provide project basics 2023-05-19 15:36:19 +02:00
.gitignore Get allowed branches programmatically 2023-05-22 17:38:05 +02:00
Cargo.lock Make allowed refs manual again 2023-05-22 22:16:15 +02:00
Cargo.toml Make allowed refs manual again 2023-05-22 22:16:15 +02:00
flake.bad.lock Add bad flake.lock for testing 2023-05-19 17:45:03 +02:00
flake.lock First commit; provide project basics 2023-05-19 15:36:19 +02:00
flake.nix Remove unnecessary macOS dependencies 2023-05-22 22:20:33 +02:00
get-allowed-refs.sh Make allowed refs manual again 2023-05-22 22:16:15 +02:00
README.md Make structs a bit more robust for other flake ref types 2023-05-19 16:19:30 +02:00
rust-toolchain.toml Fix mismatch between struct field and get-refs script 2023-05-22 18:03:51 +02:00

flake-checker

nix build

./result/bin/flake-checker

# Or point to an explicit path
./result/bin/flake-checker /path/to/flake.lock

Currently performs two checks:

  • Checks that any explicit Nixpkgs Git refs are in this list:
    • nixos-22.11
    • nixos-22.11-small
    • nixos-unstable
    • nixos-unstable-small
    • nixpkgs-22.11-darwin
    • nixpkgs-unstable
  • Checks that any Nixpkgs dependencies are less than 30 days old