mirror of
https://github.com/DeterminateSystems/flake-checker.git
synced 2024-10-27 15:40:44 +03:00
Health checks for your Nix flakes
.github/workflows | ||
src | ||
.editorconfig | ||
.envrc | ||
.gitignore | ||
Cargo.lock | ||
Cargo.toml | ||
flake.dirty.lock | ||
flake.lock | ||
flake.nix | ||
get-allowed-refs.sh | ||
README.md | ||
rust-toolchain.toml | ||
summary.md |
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