File tree Expand file tree Collapse file tree 1 file changed +0
-25
lines changed
Expand file tree Collapse file tree 1 file changed +0
-25
lines changed Original file line number Diff line number Diff line change 5050 description = lib . mdDoc
5151 ''
5252 An optional package that provides the hook.
53-
54- For most hooks, the package name matches the name of the hook and can be overridden directly.
55-
56- ```
57- hooks.nixfmt.package = pkgs.nixfmt;
58- ```
59-
60- Some hooks may require multiple packages or a wrapper script to function correctly.
61- Such hooks can expose additional named packages as `packageOverrides`.
62-
63- ```
64- hooks.rustfmt.packageOverrides.cargo = pkgs.cargo;
65- hooks.rustfmt.packageOverrides.rustfmt = pkgs.rustfmt;
66- ```
67- '' ;
68- } ;
69-
70- packageOverrides = mkOption {
71- type = types . submodule {
72- freeformType = types . attrsOf types . package ;
73- } ;
74- default = { } ;
75- description = lib . mdDoc
76- ''
77- Additional packages required to construct the hook package.
7853 '' ;
7954 } ;
8055
You can’t perform that action at this time.
0 commit comments