Health checks for your Nix flakes
Go to file
2023-05-25 07:59:25 -04:00
.github/workflows build and distribute 2023-05-25 07:59:25 -04:00
src Submit telemetry about how many of each issue we identified 2023-05-25 07:59:06 -04: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 Submit telemetry about how many of each issue we identified 2023-05-25 07:59:06 -04:00
Cargo.toml Submit telemetry about how many of each issue we identified 2023-05-25 07:59:06 -04:00
crane.nix build and distribute 2023-05-25 07:59:25 -04:00
flake.dirty.lock Make the dirty flake lock dirtier 2023-05-23 23:29:20 +02:00
flake.lock build and distribute 2023-05-25 07:59:25 -04:00
flake.nix build and distribute 2023-05-25 07:59:25 -04:00
get-allowed-refs.sh Make allowed refs manual again 2023-05-22 22:16:15 +02:00
README.md Submit telemetry about how many of each issue we identified 2023-05-25 07:59:06 -04: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

Telemetry

The goal of the Determinate Flake Checker is to help teams stay on recent and supported versions of Nixpkgs. The flake checker collects a little bit of telemetry information to help us make that true.

Here is a table of the telemetry data we collect:

Field Use
distinct_id An opaque string which represents your project, by sha256 hashing repository and organization details.
version The version of the Determinate Flake Checker.
is_ci Whether the installer is being used in CI (e.g. GitHub Actions).
disallowed The number of inputs using unsupported branches of Nixpkgs.
outdated The number of inputs using outdated versions of Nixpkgs.
non_upstream The number of inputs using forks of Nixpkgs.

To disable diagnostic reporting, set the diagnostics URL to an empty string by passing --no-telemetry or setting FLAKE_CHECKER_NO_TELEMETRY=true.

You can read the full privacy policy for Determinate Systems, the creators of the Determinate Nix Installer, here.