lib/utils: add nestedLiteral and nestedLiteralLua

`nestedLiteral` converts a `literalExpression` into a `toPretty` style
pretty-printer.

`nestedLiteralLua` composes `nestedLiteral` and `literalLua` together.
This commit is contained in:
Matt Sturgeon 2024-11-15 13:45:46 +00:00
parent eb76e62a9b
commit da6e3499d4
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
3 changed files with 88 additions and 0 deletions

View file

@ -97,6 +97,8 @@ lib.fix (
mkIfNonNull'
mkRaw
mkRawKey
nestedLiteral
nestedLiteralLua
override
overrideDerivation
toRawKeys