mkRedundantOption: remove multi-line string, manually add newlines
This commit is contained in:
1 file changed
+1
-7
@@ -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}
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user