helpers: fix typo

This commit is contained in:
Gaetan Lepage 2024-01-01 20:44:50 +01:00 committed by Gaétan Lepage
parent abd1c4007a
commit 99ebb5f074

View file

@ -161,9 +161,7 @@ with lib; rec {
# documentation # documentation
mkNullableWithRaw = type: mkNullable (maybeRaw type); mkNullableWithRaw = type: mkNullable (maybeRaw type);
mkLua = default: desc: let mkLua = default: desc:
defaultDesc = "default: `${default}`";
in
mkNullOrLua mkNullOrLua
( (
(optionalString (desc != "") '' (optionalString (desc != "") ''
@ -175,10 +173,6 @@ with lib; rec {
'' ''
); );
${defaultDesc}
''
);
mkLuaFn = default: desc: let mkLuaFn = default: desc: let
defaultDesc = "default: `${default}`"; defaultDesc = "default: `${default}`";
in in