lib.{literalExpression, literalDocBook}: init as shims

Compatibility shims for https://github.com/NixOS/nixpkgs/pull/136909
This commit is contained in:
Robert Hensing
2021-10-09 15:00:00 +02:00
parent 781b1f8e3a
commit dcfdb79b09
2 changed files with 6 additions and 2 deletions
+4
View File
@@ -217,6 +217,10 @@ rec {
*/
literalExample = text: { _type = "literalExample"; inherit text; };
# Compatibility shims for https://github.com/NixOS/nixpkgs/pull/136909
literalExpression = literalExample;
literalDocBook = literalExample;
# Helper functions.
/* Convert an option, described as a list of the option parts in to a