mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-08-24 02:24:25 -05:00
Use nixfmt's current package name in the flake
The nixpkgs package set renamed the Nix code formatter: what used to be called nixfmt-rfc-style is now simply nixfmt, and the old name lives on only as an alias. Both names resolve to the identical program, so this doesn't change how anything gets formatted. The rename comes first because the dependency update in the next commit makes that alias start printing a deprecation warning, so doing it in this order means no commit in the history evaluates with one.
This commit is contained in:
@@ -109,8 +109,8 @@
|
||||
};
|
||||
|
||||
treefmt = {
|
||||
programs.nixfmt.enable = pkgs.lib.meta.availableOn pkgs.stdenv.buildPlatform pkgs.nixfmt-rfc-style.compiler;
|
||||
programs.nixfmt.package = pkgs.nixfmt-rfc-style;
|
||||
programs.nixfmt.enable = pkgs.lib.meta.availableOn pkgs.stdenv.buildPlatform pkgs.nixfmt.compiler;
|
||||
programs.nixfmt.package = pkgs.nixfmt;
|
||||
programs.gofmt.enable = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user