nixpkgs/ci
Wolfgang Walther f7c25f0bf9
ci/pinned: manage nixpkgs and treefmt-nix with npins
Instead of rolling our own update script which only works for a single
pin, let's use npins. We can then use it for the treefmtNix pin as well,
which was mostly unmaintained, so far.
2025-06-02 09:13:11 +02:00
..
codeowners-validator ci: Add codeowners validator 2024-10-08 22:14:59 +02:00
eval workflows/eval: add header for packages in summary 2025-05-31 14:35:05 +02:00
request-reviews ci/request-reviews: Don't fail when there's too many reviewers 2025-01-20 19:45:28 +01:00
check-cherry-picks.md workflows/check-cherry-picks: post review comments 2025-06-01 09:35:47 +02:00
check-cherry-picks.sh workflows/check-cherry-picks: truncate long diffs after 10k characters 2025-06-01 09:35:51 +02:00
default.nix ci/pinned: manage nixpkgs and treefmt-nix with npins 2025-06-02 09:13:11 +02:00
nixpkgs-vet.nix workflows/nixpkgs-vet: use nixpkgs-vet from pinned nixpkgs 2025-05-25 15:01:42 +02:00
nixpkgs-vet.sh ci/nixpkgs-vet: remove left-over pin 2025-06-02 09:13:08 +02:00
OWNERS OWNERS: simplify workflow/ci owners 2025-05-31 17:04:54 +02:00
parse.nix ci/parse: init 2025-05-11 12:14:57 +02:00
pinned.json ci/pinned: manage nixpkgs and treefmt-nix with npins 2025-06-02 09:13:11 +02:00
README.md ci/pinned: manage nixpkgs and treefmt-nix with npins 2025-06-02 09:13:11 +02:00
supportedSystems.json workflows/eval: load supportedSystems from JSON file 2025-05-11 22:22:45 +02:00
update-pinned.sh ci/pinned: manage nixpkgs and treefmt-nix with npins 2025-06-02 09:13:11 +02:00

CI support files

This directory contains files to support CI, such as GitHub Actions and Ofborg. This is in contrast with maintainers/scripts which is for human use instead.

Pinned Nixpkgs

CI may need certain packages from Nixpkgs. In order to ensure that the needed packages are generally available without building, pinned.json contains a pinned Nixpkgs version tested by Hydra.

Run update-pinned.sh to update it.

ci/nixpkgs-vet.sh BASE_BRANCH [REPOSITORY]

Runs the nixpkgs-vet tool on the HEAD commit, closely matching what CI does. This can't do exactly the same as CI, because CI needs to rely on GitHub's server-side Git history to compute the mergeability of PRs before the check can be started. In turn, when contributors are running this tool locally, we don't want to have to push commits to test them, and we can also rely on the local Git history to do the mergeability check.

Arguments:

  • BASE_BRANCH: The base branch to use, e.g. master or release-24.05
  • REPOSITORY: The repository from which to fetch the base branch. Defaults to https://github.com/NixOS/nixpkgs.git.