File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3737 Nixpkgs to use in the pre-commit [`settings`](#opt-perSystem.pre-commit.settings).
3838 '' ;
3939 default = pkgs ;
40- defaultText = lib . literalMD "`pkgs` (module argument)" ;
40+ defaultText = lib . literalExpression "`pkgs` (module argument)" ;
4141 } ;
4242 settings = mkOption {
4343 type = types . submoduleWith {
5151 } ;
5252 shellHook = mkOption {
5353 type = types . str ;
54- description = "A shell hook that sets up the git hooks in a development shell." ;
54+ description = "A shell hook that installs up the git hooks in a development shell." ;
5555 default = cfg . settings . installationScript ;
5656 defaultText = lib . literalExpression "bash statements" ;
5757 readOnly = true ;
5858 } ;
5959 installationScript = mkOption {
6060 type = types . str ;
61- description = "A bash fragment that sets up [pre-commit](https://pre-commit.com/) ." ;
61+ description = "A bash snippet that sets up the git hooks in the current repository ." ;
6262 default = cfg . settings . installationScript ;
63- defaultText = lib . literalMD "bash statements" ;
63+ defaultText = lib . literalExpression "bash statements" ;
6464 readOnly = true ;
6565 } ;
6666 devShell = mkOption {
6767 type = types . package ;
68- description = "A development shell with pre-commit installed and setup ." ;
68+ description = "A development shell with the git hooks installed and all the packages made available ." ;
6969 readOnly = true ;
7070 } ;
7171 } ;
Original file line number Diff line number Diff line change 5757 name = mkOption {
5858 type = types . str ;
5959 default = name ;
60- defaultText = lib . literalMD "the attribute name the hook submodule is bound to, same as `id`" ;
60+ defaultText = lib . literalExpression "the attribute name the hook submodule is bound to, same as `id`" ;
6161 description =
6262 ''
6363 The name of the hook. Shown during hook execution.
You can’t perform that action at this time.
0 commit comments