Skip to content

Conversation

@sebastienhurtel
Copy link
Contributor

Try to replace nixpkgs-fmt with nixfmt.

@sebastienhurtel sebastienhurtel deleted the shu/replace-nixpkgs-fmt-with-nixfmt branch August 4, 2024 12:43
@sebastienhurtel
Copy link
Contributor Author

Wrong repo, sorry for the noise!

@sebastienhurtel sebastienhurtel restored the shu/replace-nixpkgs-fmt-with-nixfmt branch August 4, 2024 12:45
@inclyc inclyc reopened this Aug 4, 2024
@inclyc
Copy link
Member

inclyc commented Aug 4, 2024

Nice patch! Why cannot we just accept it?

Copy link
Member

@inclyc inclyc left a comment

Choose a reason for hiding this comment

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

Currently I see nixpkgs-fmt is archived, so I think generally it is a good step to set our default to nixfmt-rfc-style.

Regression tests depending on nixpkgs-fmt might be a funny fake-dependency that could be resolved. See issue #570

@sebastienhurtel
Copy link
Contributor Author

Hello,

I assume your talking about nixpkgs-fmt?
This project is indeed archived. I tried to remove useless lines as you requested.
Thank you for your time

@inclyc inclyc force-pushed the shu/replace-nixpkgs-fmt-with-nixfmt branch from 22c428d to fb9b136 Compare August 10, 2024 09:52
Copy link
Member

@inclyc inclyc left a comment

Choose a reason for hiding this comment

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

LGTM

@inclyc
Copy link
Member

inclyc commented Aug 10, 2024

@Aleksanaa why treefmt is still failing?

@inclyc inclyc requested a review from Aleksanaa August 10, 2024 10:35
@inclyc
Copy link
Member

inclyc commented Aug 10, 2024

Works now.

@inclyc inclyc merged commit 9355fa2 into nix-community:main Aug 10, 2024
@inclyc inclyc changed the title nixd: replace nixpkgs-fmt for nixfmt nixd: replace nixpkgs-fmt with nixfmt Aug 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants