File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,15 +19,13 @@ with lib; let
1919
2020 attrsToXml = indent : attrs :
2121 if isTaggedStruct attrs
22- then
23- let
24- content = attrs . content ;
25- contentStr =
26- if isAttrs content
27- then "\n ${ attrsToXml ( indent + " " ) content } ${ indent } "
28- else toString content ;
29- in
30- "${ indent } <${ attrs . tag } >${ contentStr } </${ attrs . tag } >"
22+ then let
23+ inherit ( attrs ) content ;
24+ contentStr =
25+ if isAttrs content
26+ then "\n ${ attrsToXml ( indent + " " ) content } ${ indent } "
27+ else toString content ;
28+ in "${ indent } <${ attrs . tag } >${ contentStr } </${ attrs . tag } >"
3129 else if isList attrs
3230 then
3331 concatStringsSep "\n " ( map ( item :
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ with lib; {
128128 type = types . str ;
129129 description = "The path to the FFmpeg application file or folder containing FFmpeg." ;
130130 default = "${ pkgs . jellyfin-ffmpeg } " ;
131- defaultText = literalExpression ''"'' ${pkgs.jellyfin-ffmpeg}"'' ;
131+ defaultText = literalExpression ''"$ ${pkgs.jellyfin-ffmpeg}"'' ;
132132 } ;
133133
134134 vaapiDevice = mkOption {
You can’t perform that action at this time.
0 commit comments