summaryrefslogtreecommitdiff
path: root/ci/nixpkgs-vet.nix (follow)
Commit message (Expand)AuthorAgeFilesLines
* ci/nixpkgs-vet: try to fix race•••This is another attempt at fixing the annoying nixpkgs-vet errors in CI, which just throw with `error: SQLite database '...' is busy`. The assumption is that this happens while initially setting up the state directories. nixpkgs-vet runs `nix-instantiate` on both the base and the head commit and these two could interfere. Wolfgang Walther2025-10-181-0/+1
* ci/nixpkgs-vet: ignore .github/ and ci/ folders•••nixpkgs-vet doesn't care about our CI infrastructure, so ignoring these files will lead to more cache hits when iterating on CI related PRs. Wolfgang Walther2025-08-201-1/+4
* ci/nixpkgs-vet: memoize filesets•••Speeds up evaluation a bit, because `filtered head` doesn't need to be evaluated 3x. Wolfgang Walther2025-08-201-3/+6
* ci/nixpkgs-vet: add badFiles and conflictingPaths checks•••Those checks are part of top-level/nixpkgs-basic-release-checks.nix, but can be run in CI already to prevent regressions. The idea is to upstream them into nixpkgs-vet eventually, but we can just as well run them as-is in the same derivation already. Wolfgang Walther2025-06-101-0/+20
* ci/nixpkgs-vet: fix random errors•••Every now and then, the nixpkgs-vet CI job currently fails with one of: error: creating symlink '/build/.local/share/nix/root/nix/var/nix/gcroots/profiles' -> '/build/.local/share/nix/root/nix/var/nix/profiles': File exists error: SQLite database '/build/.local/share/nix/root/nix/var/nix/db/db.sqlite' is busy It's hard to reproduce for me, so just taking a guess with the required changes. Wolfgang Walther2025-06-021-0/+2
* workflows/nixpkgs-vet: use nixpkgs-vet from pinned nixpkgs•••We have added nixpkgs-vet as a regular package to nixpkgs a while ago, so we can now use it from pinned nixpkgs. This avoids pulling a platform-specific binary version from upstream. This change also allows to run the tool easily locally, the same way as other tools: nix-build ci -A nixpkgs-vet This will do a full check of the repo with the exception of nixpkgs-vet's "ratchet" checks: Those depend on having two branches to compare, but the default is to only look at the head branch. Those ratchet checks will still be run in CI, though. Wolfgang Walther2025-05-251-0/+31