oqyude d0df318553
test-runner / smoke (push) Successful in 0s
feat(ci): add shellcheck 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.

PyYAML did NOT make it in: the obvious fix,
`python3.withPackages (ps: [ ps.pyyaml ])`, is not a valid buildInput
(nix rejects it with 'Dependency is not of a valid type: element N of
buildInputs'), and the devshell is the consumer that breaks. The
workflow YAML stays validated on GitHub and locally, where PyYAML is
present; the Gitea job says so in its log instead of pretending to have
checked it.

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:30:25 +03:00
2026-05-04 20:23:20 +03:00
2026-08-11 02:31:00 +03:00
ref
2026-03-29 14:46:01 +03:00
2026-10-13 16:16:20 +03:00
2026-10-13 16:16:20 +03:00
2026-06-10 12:38:23 +03:00

I'm a super newbie who just posted my stuff here. Now maybe about intermediate

S
Description
My NixOS configuration
Readme
4.6 MiB
0 Stars 1 Watchers 0 Forks
Languages
Nix 82.8%
Python 9%
Shell 7.3%
Dockerfile 0.5%
Perl 0.4%