We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb9778d commit 6c2316dCopy full SHA for 6c2316d
modules/pre-commit.nix
@@ -138,7 +138,7 @@ in
138
Useful for including into the developer environment.
139
'';
140
141
- default = builtins.map (hook: hook.package) (lib.filter (hook: hook.enable) (builtins.attrValues config.hooks));
+ default = builtins.map (hook: hook.package) (lib.filter (hook: hook.enable && hook.package != null) (builtins.attrValues config.hooks));
142
};
143
144
hooks =
0 commit comments