Health checks for your Nix flakes
Go to file
2023-05-24 02:43:38 +02:00
.github/workflows Fix names of GHA jobs 2023-05-23 23:35:05 +02:00
src Fix UrlNode structure 2023-05-24 02:43:38 +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 Re-add non-root summary.md to Git 2023-05-24 00:55:19 +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.dirty.lock Make the dirty flake lock dirtier 2023-05-23 23:29:20 +02:00
flake.lock Create separate templates for clean and dirty 2023-05-23 23:27:35 +02:00
flake.nix Create separate templates for clean and dirty 2023-05-23 23:27:35 +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
summary.md Add emojis directly into template 2023-05-24 01:41:53 +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