Files
JakeHillion 8dd8532f72
commit-validation / validate-single-commit (pull_request) Successful in 8s
buildbot/nix-eval Build done. (451 warnings)
buildbot/nix-build Build done.
buildbot/nix-effects Build done.
nix-iris-push: split OUT_PATHS into one path per line
The post-build hook piped `echo "$OUT_PATHS"` into `ogygia iris push`,
which reads one store path per line. Nix sets OUT_PATHS to a
space-separated list, so every multi-output derivation arrived as a
single unparseable path, the push aborted before signing anything, and
the `|| exit 0` swallowed the failure. Unsigned paths are excluded from
the irisd bloom filter, so peers could not fetch them: boron held 1609
such paths, including linux-6.18.39 and its -dev and -modules outputs.

Replace the echo with `printf '%s\n' $OUT_PATHS`, unquoted so the shell
word-splits on the spaces and emits one path per line. Store paths
cannot contain spaces, so the split is unambiguous.

Test plan:
- CI
- Built the hook with `nix build '.#nixosConfigurations."boron.cx.neb.jakehillion.me".config.nix.settings.post-build-hook'` and inspected the generated script
- Ran the generated pipeline under bash with a three-output OUT_PATHS: `Processing 3 store paths` (previously 1)
- Ran it with two real store paths: both resolved in the Nix DB and were correctly filtered as non-ultimate
- Ran it with an empty OUT_PATHS under `set -u`: exits cleanly with "No store paths provided on stdin"
2026-07-26 23:47:01 +01:00
..