asxpio/.forgejo/workflows
Sergei Poljanski 642bec845a
Some checks failed
Build and Deploy to Production / test (push) Failing after 15s
Build and Deploy to Production / build (push) Has been skipped
Build and Deploy to Production / deploy (push) Has been skipped
ci: set nix options through NIX_CONFIG
The runner mounts a persistent nix-store volume over /nix. The current
nixos/nix image makes /etc/nix/nix.conf a symlink into /nix/store, and
the volume does not hold that path, so the link dangles and appending
to it fails before checkout: "/etc/nix/nix.conf: No such file or
directory".

Pass the settings in NIX_CONFIG instead. Without a config file Nix also
falls back to build-users-group = nixbld, which the container lacks, so
set it empty and turn the sandbox off, as the image config does.

Assisted-by: Claude:opus-5-5
2026-10-18 09:34:44 +04:00
..
deploy.yaml ci: set nix options through NIX_CONFIG 2026-10-18 09:34:44 +04:00
test.yaml ci: set nix options through NIX_CONFIG 2026-10-18 09:34:44 +04:00