datacenterbingo/.forgejo/workflows
Sergei Poljanski caaccfc3a4
Some checks failed
Build and Deploy to Production / test (push) Failing after 11s
Build and Deploy to Production / build (push) Has been skipped
Build and Deploy to Production / deploy (push) Has been skipped
Set nix options through NIX_CONFIG in CI
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:38 +04:00
..
deploy.yaml Set nix options through NIX_CONFIG in CI 2026-10-18 09:34:38 +04:00
test.yaml Set nix options through NIX_CONFIG in CI 2026-10-18 09:34:38 +04:00