Revert "mkRedundantOption: use lib.literalMd to hopefully format correctly"
This reverts commit 9846cf8d3b.
This commit is contained in:
1 file changed
+1
-7
@@ -55,13 +55,7 @@
|
||||
|
||||
mkRedundantOption = name: value: attrs: lib.mkOption {
|
||||
inherit (attrs) type default;
|
||||
description = lib.literalMD ''
|
||||
${attrs.description}
|
||||
|
||||
|
||||
!!! warning
|
||||
${mkRedundantOptionDescription name value}";
|
||||
'';
|
||||
description = "${attrs.description}\n\n!!! warning\n ${mkRedundantOptionDescription name value}";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user