nixpkgs-fmt -> nixfmt-rfc-style

This commit is contained in:
Sean Buckley 2024-11-07 22:51:20 -05:00
parent 3d3d29a83c
commit a201733f96
4 changed files with 3 additions and 6 deletions

View file

@ -30,9 +30,6 @@
in
{
formatter = forAllSystems (system:
nixpkgs.legacyPackages.${system}.nixpkgs-fmt);
lib = {
base64 = import lib/base64.nix;
gen-ssh-config = import lib/gen-ssh-config.nix lib;

View file

@ -18,9 +18,9 @@
lm_sensors
ncdu
nix-diff
nixfmt-rfc-style
nix-index
nix-prefetch-github
nixpkgs-fmt
nodejs
openssl
parted

View file

@ -58,7 +58,7 @@ in
{
name = "nix";
auto-format = true;
formatter.command = "nixpkgs-fmt";
formatter = { command = "nixfmt"; args = [ "--verify" ]; };
}
{
name = "python";

View file

@ -56,7 +56,7 @@ lspconfig.nil_ls.setup({
settings = {
['nil'] = {
formatting = {
command = { "nixpkgs-fmt" },
command = { "nixfmt", "--verify" },
},
},
},