Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace nixpkgs-fmt with nixfmt #75

Merged
merged 1 commit into from
Mar 23, 2024
Merged

Replace nixpkgs-fmt with nixfmt #75

merged 1 commit into from
Mar 23, 2024

Conversation

kachick
Copy link
Owner

@kachick kachick commented Mar 23, 2024

No description provided.

in
{
formatter = pkgs.nixpkgs-fmt;
let pkgs = nixpkgs.legacyPackages.${system};
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If 2 lines, it splits. But squash for 1 line .... 🤔

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@@ -9,7 +9,7 @@
"nix.serverSettings": {
"nil": {
"formatting": {
"command": ["nixpkgs-fmt"]
"command": ["nixfmt"]
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just calling without path checks direnv dir, but this looks okay 🤔

NixOS/nixfmt#151

@kachick
Copy link
Owner Author

kachick commented Mar 23, 2024

@kachick kachick merged commit cb81420 into main Mar 23, 2024
9 checks passed
@kachick kachick deleted the nixfmt branch March 23, 2024 14:51
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