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

we're using the wrong formatter! (and other formatting issues) #221

Merged
merged 3 commits into from
Sep 17, 2024

Conversation

cafkafk
Copy link
Member

@cafkafk cafkafk commented Sep 17, 2024

Change the formatter to nixfmt-rfc-style, and remove deadnix.

Also formats the code with the new correct formatter.

  • build(deps): bump flake 2024-09-17
  • build(deps): nixos 23.11 -> 24.05
  • style: remove deadnix formatter
  • style: use new nixpkgs rfc formatter
  • style: treewide formatting

stacked on #220

@cafkafk cafkafk marked this pull request as draft September 17, 2024 05:32
@srhb srhb self-assigned this Sep 17, 2024
@cafkafk cafkafk marked this pull request as ready for review September 17, 2024 07:25
Remove deadnix from linters, since it doesn't make sense for morph,
considering we may have "dead" nix code that's actually used to deploy
to hosts.

Signed-off-by: Christina Sørensen <[email protected]>
We're currently using the now defunct nixpkgs-fmt, moved to nixfmt,
which is the one with the actual nixfmt-rfc-style.

pre-commit-checks.nix doesn't understand that nixfmt is nixfmt-rfc-style
yet, so we also make a slight workaround.

Signed-off-by: Christina Sørensen <[email protected]>
Signed-off-by: Christina Sørensen <[email protected]>
@srhb srhb merged commit d13c3d6 into master Sep 17, 2024
2 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