Skip to content

Commit 85526bb

Browse files
committed
Fix nixpkgs-fmt consistency between pre-commit config and GHA
1 parent 291918b commit 85526bb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pre-commit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
- name: Install Dependencies with Nix
2929
run: |
3030
# Install all dependencies via Nix
31-
nix profile install nixpkgs#pre-commit nixpkgs#nixfmt-rfc-style nixpkgs#shellcheck
31+
nix profile install nixpkgs#pre-commit nixpkgs#nixpkgs-fmt nixpkgs#shellcheck
3232
3333
- name: Run pre-commit hooks
3434
run: |

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ repos:
1818
- id: nixpkgs-fmt
1919
name: nixpkgs-fmt
2020
description: Format nix code with nixpkgs-fmt
21-
entry: nixfmt
21+
entry: nixpkgs-fmt
2222
language: system
2323
files: \.nix$
2424

0 commit comments

Comments
 (0)