Skip to content

fix(nix): make deadnix and go-sec pass on main - #357

Merged
randomizedcoder merged 2 commits into
mainfrom
fix/deadnix-gosec
Nov 28, 2026
Merged

randomizedcoder merged 2 commits into
mainfrom
fix/deadnix-gosec

Conversation

@randomizedcoder

Copy link
Copy Markdown
Owner
  • deadnix: remove the unused lib argument from nix/ernic/oracle.nix and nix/checks/ernic-oracle.nix (and their call sites); rename the unused lambda argument in nix/ernic/run-many.nix to _brTaps.
  • go-sec: standalone gosec ignores //nolint, so the seeded math/rand in tools/ipfeed-fixture/main.go (G404) failed the check. The nolint is replaced by a path-scoped G404 rule in nix/checks/go-sec.nix and both golangci configs, each with its reason.
  • Verified: all 19 nix checks pass, including deadnix and go-sec.

🤖 Generated with Claude Code

randomizedcoder and others added 2 commits November 27, 2026 22:27
- deadnix: drop the unused lib argument from nix/ernic/oracle.nix and
  nix/checks/ernic-oracle.nix (and their call sites); rename the unused
  bridge-taps lambda argument in nix/ernic/run-many.nix to _brTaps.
- go-sec: standalone gosec ignores //nolint, so the seeded math/rand in
  tools/ipfeed-fixture/main.go (G404) failed the check. Replace the nolint
  with a path-scoped G404 rule in nix/checks/go-sec.nix and both golangci
  configs, each with its justification.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@randomizedcoder
randomizedcoder merged commit ee8caff into main Nov 28, 2026
1 check passed
@randomizedcoder
randomizedcoder deleted the fix/deadnix-gosec branch November 28, 2026 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant