From 7bfd3bd08fc778f9a5cb79397094e7b5ce0c41dd Mon Sep 17 00:00:00 2001 From: Krzysztof Nazarewski Date: Thu, 17 Oct 2024 09:43:43 +0200 Subject: [PATCH] fix: lefthook: add --no-auto-install related to https://github.com/evilmartians/lefthook/issues/840 --- src/lib/cfg/lefthook.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/cfg/lefthook.nix b/src/lib/cfg/lefthook.nix index c34180fd..c5bf0d17 100644 --- a/src/lib/cfg/lefthook.nix +++ b/src/lib/cfg/lefthook.nix @@ -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: