mkRedundantOption: remove multi-line string, manually add newlines

This commit is contained in:
greyweather committed 2026-09-01 22:37:08 +01:00
1 parent 78defcb9e9
commit f1567e6123
1 file changed
+1 -7
+1 -7
View File
@@ -55,13 +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!!! warning\n ${mkRedundantOptionDescription name value}";
${attrs.description}
!!! warning
${" " + mkRedundantOptionDescription name value}
'';
}; };
}; };
} }