Skip to content

Commit

Permalink
Use pkgs.lib.getExe
Browse files Browse the repository at this point in the history
  • Loading branch information
jwillikers committed Nov 18, 2024
1 parent e1ce39a commit 3ef2252
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pre-commit-hooks.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# todo Not integrated with Nix?
check-format = {
enable = true;
entry = "${treefmtEval.config.build.wrapper}/bin/treefmt --fail-on-change";
entry = "${pkgs.lib.getExe treefmtEval.config.build.wrapper} --fail-on-change";
};

check-json.enable = true;
Expand Down

0 comments on commit 3ef2252

Please sign in to comment.