mkRedundantOption: move into just a regular string
This commit is contained in:
1 file changed
+1
-14
@@ -55,20 +55,7 @@
|
||||
|
||||
mkRedundantOption = name: value: attrs: lib.mkOption {
|
||||
inherit (attrs) type default;
|
||||
description = ''
|
||||
${attrs.description}
|
||||
|
||||
|
||||
<div class="admonition-warning">
|
||||
<p class="admonition-title">
|
||||
::before
|
||||
Redundant
|
||||
</p>
|
||||
<p>
|
||||
${mkRedundantOptionDescription name value}
|
||||
</p>
|
||||
</div>
|
||||
'';
|
||||
description = "${attrs.description}\n\n<div class=\"admonition-warning\"><p class=\"admonition-title\">::before\nRedundant</p><p>${mkRedundantOptionDescription name value}</p></div>";
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in new issue
Block a user