Remove cachix-push pinning, extract paths from JSON directly
Problem
The cachix-push tool was failing because it requires a --prefix for pinning, and without one the pin names started with - which was interpreted as a command-line flag.
We don't need pinning at all - we just want to push build outputs to cachix.
Solution
Extract store paths directly from the omnix JSON and pipe to cachix:
jq -r '.result.ROOT.build.outPaths[]' om.json | xargs cachix push horizon
This is simpler and avoids:
- Dependency on external cachix-push tool (not in nixpkgs)
- Pinning complexity we don't need
- The prefix naming issue
Changes
- Update
nix/modules/cachix.nixto extract paths with jq - Update
nix/ci.nixtest to match - Update
test/module-test/nix/goldenexpected output - Update
ChangeLog.mdto reflect the simpler approach