mkRedundantOption: move into just a regular string

This commit is contained in:
greyweather committed 2026-09-01 23:25:51 +01:00
1 parent a41a05ac9f
commit 30ce28a0a6
1 file changed
+1 -14
+1 -14
View File
@@ -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>";
};
};
}