mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
ci: explicitly define programs.nixfmt.package
Currently treefmt-nix is still defaulting `programs.nixfmt.package` to the `nixfmt-rfc-style` alias. This makes sense, as they do not know for certain which revision of nixpkgs is in use. We do know, however, so we can explicitly use the non-alias name.
This commit is contained in:
parent
1974b7e30c
commit
e981b17a96
1 changed files with 4 additions and 1 deletions
|
|
@ -62,7 +62,10 @@ let
|
|||
|
||||
# This uses nixfmt underneath, the default formatter for Nix code.
|
||||
# See https://github.com/NixOS/nixfmt
|
||||
programs.nixfmt.enable = true;
|
||||
programs.nixfmt = {
|
||||
enable = true;
|
||||
package = pkgs.nixfmt;
|
||||
};
|
||||
|
||||
programs.yamlfmt = {
|
||||
enable = true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue