Skip to content

Commit ee451c1

Browse files
roberthsrid
authored andcommitted
maint: Remove mdDoc call
It has been removed upstream in Nixpkgs. This fixes documentation rendering with the latest Nixpkgs.
1 parent 781a209 commit ee451c1

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

nix/flake-module.nix

+10-10
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ in
1515
options = {
1616
description = mkOption {
1717
type = types.nullOr types.str;
18-
description = lib.mdDoc ''
18+
description = ''
1919
A description of what this script does.
2020
2121
This will be displayed in the banner and help menu.
@@ -24,14 +24,14 @@ in
2424
};
2525
category = mkOption {
2626
type = types.str;
27-
description = lib.mdDoc ''
27+
description = ''
2828
The category under which this script will be gropuped.
2929
'';
3030
default = "Commands";
3131
};
3232
exec = mkOption {
3333
type = types.oneOf [ types.str types.package ];
34-
description = lib.mdDoc ''
34+
description = ''
3535
The script or package to run
3636
3737
The $FLAKE_ROOT environment variable will be set to the
@@ -41,7 +41,7 @@ in
4141
};
4242
cdToProjectRoot = mkOption {
4343
type = types.bool;
44-
description = lib.mdDoc ''
44+
description = ''
4545
Whether to change the working directory to the project root
4646
before running the script.
4747
'';
@@ -54,21 +54,21 @@ in
5454
options = {
5555
wrapperName = mkOption {
5656
type = types.str;
57-
description = lib.mdDoc ''
57+
description = ''
5858
The name of the wrapper script
5959
'';
6060
default = ",";
6161
};
6262
scripts = mkOption {
6363
type = types.attrsOf scriptSubmodule;
64-
description = lib.mdDoc ''
64+
description = ''
6565
List of scripts to be added to the shell
6666
'';
6767
default = { };
6868
};
6969
wrapper = mkOption {
7070
type = types.package;
71-
description = lib.mdDoc ''
71+
description = ''
7272
The generated wrapper script.
7373
'';
7474
default = import ./wrapper.nix {
@@ -79,15 +79,15 @@ in
7979
};
8080
banner = mkOption {
8181
type = types.str;
82-
description = lib.mdDoc ''
82+
description = ''
8383
The generated shell banner.
8484
'';
8585
default = import ./banner.nix { inherit (config) wrapper wrapperName; };
8686
defaultText = lib.literalMD "generated package";
8787
};
8888
devShell = mkOption {
8989
type = types.package;
90-
description = lib.mdDoc ''
90+
description = ''
9191
A devShell containing the banner and wrapper.
9292
'';
9393
readOnly = true;
@@ -104,7 +104,7 @@ in
104104
{
105105
options.mission-control = lib.mkOption {
106106
type = mainSubmodule;
107-
description = lib.mdDoc ''
107+
description = ''
108108
Specification for the scripts in dev shell
109109
'';
110110
default = { };

0 commit comments

Comments
 (0)