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 a47abd4 commit 448303b
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 @@ -10,7 +10,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 448303b

Please sign in to comment.