Skip to content

feat: add flake-aware Nix language support#438

Merged
tirth8205 merged 7 commits into
mainfrom
nix-extension
May 7, 2026
Merged

feat: add flake-aware Nix language support#438
tirth8205 merged 7 commits into
mainfrom
nix-extension

Conversation

@tirth8205
Copy link
Copy Markdown
Owner

Summary

  • Adds Nix language parsing support (flake-aware: flake.nix inputs produce IMPORTS_FROM edges to GitHub flake URLs)
  • Parser handles import/callPackage expressions and top-level attribute-set bindings
  • Adds TestNixParsing test class covering language detection, binding extraction, flake-input edges, and CONTAINS wiring
  • Adds Nix fixtures (tests/fixtures/sample.nix, tests/fixtures/sample_module.nix)

This PR replaces #412 (BrockLeeBytes/code-review-graph → feat: add flake-aware Nix language support), which had merge conflicts with main. All original Nix changes are preserved; conflict in tests/test_multilang.py was resolved by keeping both the new TestNixParsing class and the Spring/Temporal/Kafka test classes added by main.

Test plan

  • uv run pytest tests/test_multilang.py -k TestNix -v passes
  • uv run pytest tests/test_parser.py -v passes
  • uv run ruff check code_review_graph/ clean
  • Full CI matrix (3.10–3.13) passes

🤖 Generated with Claude Code

@tirth8205 tirth8205 merged commit 55347c6 into main May 7, 2026
3 of 9 checks passed
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.

2 participants