chore: nixfmt-rfc-style -> nixfmt - #29
Conversation
Fixes this warning during evaluation ``` evaluation warning: nixfmt-rfc-style is now the same as pkgs.nixfmt which should be used instead. ```
📝 WalkthroughWalkthroughThis PR replaces the nixfmt-rfc-style formatter with nixfmt across development configuration and documentation, and adds mfourmax to the documented list of known hosts. All changes are configuration and documentation updates with no logic modifications. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Pull Request Review: chore: nixfmt-rfc-style -> nixfmtSummaryThis PR addresses a deprecation warning by replacing Code Quality ✅
Best Practices ✅
Potential Issues
|
There was a problem hiding this comment.
Pull request overview
This PR updates deprecated package references from nixfmt-rfc-style to nixfmt to resolve an evaluation warning. The nixfmt-rfc-style package has been merged with pkgs.nixfmt, making the old name redundant.
Changes:
- Replaced all
nixfmt-rfc-stylereferences withnixfmtin Nix configuration files - Updated package references in home-manager configuration and flake devShell
- Updated formatter definitions for both aarch64-darwin and x86_64-linux platforms
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| home-manager/default.nix | Updated nixfmt-rfc-style to nixfmt in home packages list |
| flake.nix | Updated nixfmt-rfc-style to nixfmt in devShell packages and formatter definitions for both architectures |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
AGENTS.md (1)
6-20: Keep the “Apply changes” host list in sync.
mfourmaxis added to the host list above, but the “Apply changes” line still omits it. That’s likely to confuse users.📌 Suggested doc tweak
-- **Apply changes**: `sudo darwin-rebuild switch --flake .#<host>` (hosts: higgins, benson, spaceblack, dunston) +- **Apply changes**: `sudo darwin-rebuild switch --flake .#<host>` (hosts: higgins, benson, spaceblack, dunston, mfourmax)
Fixes this warning during evaluation
Summary by CodeRabbit
Documentation
Chores
✏️ Tip: You can customize this high-level summary in your review settings.