Fix Nix Go toolchain and x/net CVEs
Merged
RO
5mo ago+10+10+01234567890123456789-10-10-01234567890123456789
Summary
Fix the current Nix install failure and clear the Trivy x/net findings on main:
- update
flake.lockto a nixpkgs revision wherego_1_26is Go 1.26.4 - bump
golang.org/x/netto v0.55.0 andgolang.org/x/termto v0.43.0 - recompute
nix/package.nixvendorHashfor the updated module graph
Closes #504. Unblocks PR #450 by removing the go.mod Trivy findings.
Validation
GOWORK=off go test ./...GOWORK=off make tidy-checkGOWORK=off make provenance-checkdocker run --rm -v "$PWD":/src aquasec/trivy:0.70.0 fs /src --severity HIGH,CRITICAL --ignore-unfixed --format table --scanners vuln --skip-dirs /src/.ruby-lspconfirmsgo.modhas 0 findings- Nix build via pinned
nixos/nixDocker image with--cores 1 --max-jobs 1succeeds and uses cached Go 1.26.4
Note: full local Trivy without --skip-dirs /src/.ruby-lsp reports local editor Ruby LSP files that are not part of the tracked repo/CI checkout.
Summary by cubic
Fixes Nix install failures by pinning nixpkgs so go_1_26 resolves to Go 1.26.4 and updates golang.org/x/net to clear CVEs. Trivy is clean and Nix builds succeed; closes #504 and unblocks #450.
- Dependencies
- Update
flake.lockto use Go 1.26.4 forgo_1_26. - Bump
golang.org/x/netto v0.55.0 andgolang.org/x/termto v0.43.0. - Recompute
vendorHashinnix/package.nix.
- Update