|
15 | 15 | options = { |
16 | 16 | description = mkOption { |
17 | 17 | type = types.nullOr types.str; |
18 | | - description = lib.mdDoc '' |
| 18 | + description = '' |
19 | 19 | A description of what this script does. |
20 | 20 |
|
21 | 21 | This will be displayed in the banner and help menu. |
|
24 | 24 | }; |
25 | 25 | category = mkOption { |
26 | 26 | type = types.str; |
27 | | - description = lib.mdDoc '' |
| 27 | + description = '' |
28 | 28 | The category under which this script will be gropuped. |
29 | 29 | ''; |
30 | 30 | default = "Commands"; |
31 | 31 | }; |
32 | 32 | exec = mkOption { |
33 | 33 | type = types.oneOf [ types.str types.package ]; |
34 | | - description = lib.mdDoc '' |
| 34 | + description = '' |
35 | 35 | The script or package to run |
36 | 36 |
|
37 | 37 | The $FLAKE_ROOT environment variable will be set to the |
|
41 | 41 | }; |
42 | 42 | cdToProjectRoot = mkOption { |
43 | 43 | type = types.bool; |
44 | | - description = lib.mdDoc '' |
| 44 | + description = '' |
45 | 45 | Whether to change the working directory to the project root |
46 | 46 | before running the script. |
47 | 47 | ''; |
|
54 | 54 | options = { |
55 | 55 | wrapperName = mkOption { |
56 | 56 | type = types.str; |
57 | | - description = lib.mdDoc '' |
| 57 | + description = '' |
58 | 58 | The name of the wrapper script |
59 | 59 | ''; |
60 | 60 | default = ","; |
61 | 61 | }; |
62 | 62 | scripts = mkOption { |
63 | 63 | type = types.attrsOf scriptSubmodule; |
64 | | - description = lib.mdDoc '' |
| 64 | + description = '' |
65 | 65 | List of scripts to be added to the shell |
66 | 66 | ''; |
67 | 67 | default = { }; |
68 | 68 | }; |
69 | 69 | wrapper = mkOption { |
70 | 70 | type = types.package; |
71 | | - description = lib.mdDoc '' |
| 71 | + description = '' |
72 | 72 | The generated wrapper script. |
73 | 73 | ''; |
74 | 74 | default = import ./wrapper.nix { |
|
79 | 79 | }; |
80 | 80 | banner = mkOption { |
81 | 81 | type = types.str; |
82 | | - description = lib.mdDoc '' |
| 82 | + description = '' |
83 | 83 | The generated shell banner. |
84 | 84 | ''; |
85 | 85 | default = import ./banner.nix { inherit (config) wrapper wrapperName; }; |
86 | 86 | defaultText = lib.literalMD "generated package"; |
87 | 87 | }; |
88 | 88 | devShell = mkOption { |
89 | 89 | type = types.package; |
90 | | - description = lib.mdDoc '' |
| 90 | + description = '' |
91 | 91 | A devShell containing the banner and wrapper. |
92 | 92 | ''; |
93 | 93 | readOnly = true; |
|
104 | 104 | { |
105 | 105 | options.mission-control = lib.mkOption { |
106 | 106 | type = mainSubmodule; |
107 | | - description = lib.mdDoc '' |
| 107 | + description = '' |
108 | 108 | Specification for the scripts in dev shell |
109 | 109 | ''; |
110 | 110 | default = { }; |
|
0 commit comments