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 25, 2024
1 parent 0245a80 commit 03ad54b
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 03ad54b

Please sign in to comment.