File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ pkgs.mkShell {
11
11
nativeBuildInputs = with pkgs ; [
12
12
# nix related stuff (such as dependency management)
13
13
niv
14
- nixpkgs-fmt
14
+ # TODO use "nixfmt" once it is stable - likely in nixpkgs @ NixOS 24.11
15
+ nixfmt-rfc-style
15
16
16
17
# Integration test dependencies
17
18
swtpm
Original file line number Diff line number Diff line change @@ -261,9 +261,9 @@ fn run_fmt_project(fmt_opt: &FmtOpt) -> Result<()> {
261
261
}
262
262
263
263
// fmt nix
264
- if has_cmd ( "nixpkgs-fmt " ) {
264
+ if has_cmd ( "nixfmt " ) {
265
265
eprintln ! ( "Formatting: nix" ) ;
266
- let mut command = Command :: new ( "nixpkgs-fmt " ) ;
266
+ let mut command = Command :: new ( "nixfmt " ) ;
267
267
if fmt_opt. check {
268
268
command. arg ( "--check" ) ;
269
269
}
You can’t perform that action at this time.
0 commit comments