Files
nixos/lib
oqyude 9b702ca171
test-runner / smoke (push) Successful in 2s
feat(ci): add shellcheck and PyYAML to the ci tool set
work/pxe-infra-automation is adding a Gitea Actions pipeline, and its
checks live in ci/check.sh: shellcheck over the build scripts AND over
the guest payload (image/*.sh, which is copied into the image verbatim),
plus a YAML validation of the workflow files.

That script exits 2 when shellcheck is missing, so on this runner —
where the job PATH is frozen into the systemd unit at activation time
and cannot gain a package without a nixos-rebuild — the linter has to
come from the ci devshell instead. shellcheck is now in lib/ci-tools.nix,
which is the single list both consumers use (the runner's hostPackages
and the devshell), so the two cannot drift apart.

The same list's plain python3 has no PyYAML, and ci/check.sh treats
the YAML validation as optional (it warns and skips). Wrapping python3
with PyYAML makes 'import yaml' work, so the validation actually runs
rather than silently skipping.

The nixos repo's own flake.lock pins nixpkgs; the pipeline uses that
revision instead of a floating nixos-unstable, because the nix registry
on sapphira is empty and 'nixpkgs#...' cannot resolve there.
2026-10-20 16:17:27 +03:00
..
2026-10-01 14:16:17 +03:00