change from nixpkgs-fmt to rfc style formatter

This commit is contained in:
Jörg Thalheim 2024-03-17 19:44:49 +01:00
parent 50aa98c53a
commit 916e4dff84
1 changed files with 1 additions and 3 deletions

View File

@ -7,8 +7,6 @@
];
perSystem = { self', pkgs, ... }: {
treefmt.projectRootFile = "flake.nix";
treefmt.flakeCheck = true;
treefmt.flakeFormatter = true;
treefmt.programs.shellcheck.enable = true;
treefmt.programs.mypy.enable = true;
@ -25,7 +23,7 @@
# First deadnix
${lib.getExe pkgs.deadnix} --edit "$@"
# Then nixpkgs-fmt
${lib.getExe pkgs.nixpkgs-fmt} "$@"
${lib.getExe pkgs.nixfmt-rfc-style} "$@"
''
"--" # this argument is ignored by bash
];