Skip to content

Commit

Permalink
fix: lefthook: add --no-auto-install
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarewk committed Oct 17, 2024
1 parent bd5c82a commit 7bfd3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/cfg/lefthook.nix
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ let
mkScript = stage:
nixpkgs.writeScript "lefthook-${stage}" ''
#!${nixpkgs.runtimeShell}
[ "$LEFTHOOK" == "0" ] || ${lib.getExe nixpkgs.lefthook} run "${stage}" "$@"
[ "$LEFTHOOK" == "0" ] || ${lib.getExe nixpkgs.lefthook} run --no-auto-install "${stage}" "$@"
'';

toStagesConfig = config:
Expand Down

0 comments on commit 7bfd3bd

Please sign in to comment.