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 {
|
mkRedundantOption = name: value: attrs: lib.mkOption {
|
||||||
inherit (attrs) type default;
|
inherit (attrs) type default;
|
||||||
description = ''
|
description = "${attrs.description}\n\n<div class=\"admonition-warning\"><p class=\"admonition-title\">::before\nRedundant</p><p>${mkRedundantOptionDescription name value}</p></div>";
|
||||||
${attrs.description}
|
|
||||||
|
|
||||||
|
|
||||||
<div class="admonition-warning">
|
|
||||||
<p class="admonition-title">
|
|
||||||
::before
|
|
||||||
Redundant
|
|
||||||
</p>
|
|
||||||
<p>
|
|
||||||
${mkRedundantOptionDescription name value}
|
|
||||||
</p>
|
|
||||||
</div>
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user