Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 2, column: 6, }, end: Position { line: 2, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 24, }, }, }, ), Raw( PartRaw { content: "freeswitch", span: Span { start: Position { line: 4, column: 25, }, end: Position { line: 4, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkg", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 5, column: 13, }, end: Position { line: 5, column: 20, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configDirectory", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 6, column: 21, }, end: Position { line: 6, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 6, column: 26, }, end: Position { line: 6, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "freeswitch-config-d", span: Span { start: Position { line: 6, column: 38, }, end: Position { line: 6, column: 57, }, }, }, ), ], span: Span { start: Position { line: 6, column: 37, }, end: Position { line: 6, column: 58, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 6, column: 59, }, end: Position { line: 6, column: 62, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p $out\ncp -rT ", span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 8, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 8, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configTemplate", span: Span { start: Position { line: 8, column: 18, }, end: Position { line: 8, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " $out\nchmod -R +w $out\n", span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 10, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 23, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 10, column: 25, }, end: Position { line: 10, column: 27, }, }, }, ), ], span: Span { start: Position { line: 10, column: 24, }, end: Position { line: 10, column: 28, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 10, column: 30, }, end: Position { line: 10, column: 44, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "fileName", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "filePath", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p $out/$(dirname ", span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 11, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "fileName", span: Span { start: Position { line: 11, column: 33, }, end: Position { line: 11, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: ")\ncp ", span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 12, column: 10, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "filePath", span: Span { start: Position { line: 12, column: 12, }, end: Position { line: 12, column: 20, }, }, }, ), }, ), Raw( PartRaw { content: " $out/", span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 12, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "fileName", span: Span { start: Position { line: 12, column: 29, }, end: Position { line: 12, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 13, column: 5, }, }, }, ), ], span: Span { start: Position { line: 10, column: 66, }, end: Position { line: 13, column: 7, }, }, }, ), span: Span { start: Position { line: 10, column: 56, }, end: Position { line: 13, column: 7, }, }, }, ), span: Span { start: Position { line: 10, column: 46, }, end: Position { line: 13, column: 7, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "configDir", span: Span { start: Position { line: 13, column: 13, }, end: Position { line: 13, column: 22, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 14, column: 3, }, }, }, ), ], span: Span { start: Position { line: 6, column: 63, }, end: Position { line: 14, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configPath", span: Span { start: Position { line: 15, column: 3, }, end: Position { line: 15, column: 13, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 19, }, end: Position { line: 15, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableReload", span: Span { start: Position { line: 15, column: 23, }, end: Position { line: 15, column: 35, }, }, }, ), ], default: None, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "/etc/freeswitch", span: Span { start: Position { line: 16, column: 11, }, end: Position { line: 16, column: 26, }, }, }, ), ], span: Span { start: Position { line: 16, column: 10, }, end: Position { line: 16, column: 27, }, }, }, ), else_: Identifier( Identifier { id: "configDirectory", span: Span { start: Position { line: 17, column: 10, }, end: Position { line: 17, column: 25, }, }, }, ), span: Span { start: Position { line: 15, column: 16, }, end: Position { line: 17, column: 25, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 13, }, }, }, ), Raw( PartRaw { content: "freeswitch", span: Span { start: Position { line: 20, column: 14, }, end: Position { line: 20, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 21, column: 32, }, end: Position { line: 21, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 21, column: 36, }, end: Position { line: 21, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "FreeSWITCH", span: Span { start: Position { line: 21, column: 43, }, end: Position { line: 21, column: 53, }, }, }, ), ], span: Span { start: Position { line: 21, column: 42, }, end: Position { line: 21, column: 54, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableReload", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 22, column: 22, }, end: Position { line: 22, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 23, column: 19, }, end: Position { line: 23, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 24, column: 22, }, end: Position { line: 24, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 25, column: 9, }, end: Position { line: 25, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 25, column: 23, }, end: Position { line: 25, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 25, column: 27, }, end: Position { line: 25, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Issue the `reloadxml` command to FreeSWITCH when configuration directory changes (instead of restart).\nSee [FreeSWITCH documentation](https://freeswitch.org/confluence/display/FREESWITCH/Reloading) for more info.\nThe configuration directory is exposed at {file}`/etc/freeswitch`.\nSee also `systemd.services.*.restartIfChanged`.\n", span: Span { start: Position { line: 26, column: 1, }, end: Position { line: 30, column: 9, }, }, }, ), ], span: Span { start: Position { line: 25, column: 33, }, end: Position { line: 30, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 31, }, end: Position { line: 31, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configTemplate", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 32, column: 24, }, end: Position { line: 32, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 16, }, end: Position { line: 33, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 34, column: 22, }, end: Position { line: 34, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 34, column: 29, }, end: Position { line: 34, column: 37, }, }, }, ), Raw( PartRaw { content: "freeswitch", span: Span { start: Position { line: 34, column: 38, }, end: Position { line: 34, column: 48, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 34, column: 49, }, end: Position { line: 34, column: 56, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/freeswitch/conf/vanilla", span: Span { start: Position { line: 34, column: 20, }, end: Position { line: 34, column: 87, }, }, }, ), ], span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 88, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 35, column: 23, }, end: Position { line: 35, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 35, column: 43, }, end: Position { line: 35, column: 44, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 35, column: 43, }, end: Position { line: 35, column: 47, }, }, }, ), Raw( PartRaw { content: "{config.services.freeswitch.package}/share/freeswitch/conf/vanilla\"", span: Span { start: Position { line: 35, column: 43, }, end: Position { line: 35, column: 114, }, }, }, ), ], span: Span { start: Position { line: 35, column: 41, }, end: Position { line: 35, column: 116, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 36, column: 19, }, end: Position { line: 36, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 36, column: 39, }, end: Position { line: 36, column: 40, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 36, column: 39, }, end: Position { line: 36, column: 43, }, }, }, ), Raw( PartRaw { content: "{config.services.freeswitch.package}/share/freeswitch/conf/minimal\"", span: Span { start: Position { line: 36, column: 39, }, end: Position { line: 36, column: 110, }, }, }, ), ], span: Span { start: Position { line: 36, column: 37, }, end: Position { line: 36, column: 112, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 37, column: 23, }, end: Position { line: 37, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 37, column: 27, }, end: Position { line: 37, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Configuration template to use.\nSee available templates in [FreeSWITCH repository](https://github.com/signalwire/freeswitch/tree/master/conf).\nYou can also set your own configuration directory.\n", span: Span { start: Position { line: 38, column: 1, }, end: Position { line: 41, column: 9, }, }, }, ), ], span: Span { start: Position { line: 37, column: 33, }, end: Position { line: 41, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 32, column: 33, }, end: Position { line: 42, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configDir", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 43, column: 19, }, end: Position { line: 43, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 44, column: 9, }, end: Position { line: 44, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 44, column: 21, }, end: Position { line: 44, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 44, column: 28, }, end: Position { line: 44, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "path", span: Span { start: Position { line: 44, column: 36, }, end: Position { line: 44, column: 40, }, }, }, ), ], }, ), span: Span { start: Position { line: 44, column: 16, }, end: Position { line: 44, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 45, column: 9, }, end: Position { line: 45, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 45, column: 19, }, end: Position { line: 45, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 46, column: 19, }, end: Position { line: 46, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n \"freeswitch.xml\" = ./freeswitch.xml;\n \"dialplan/default.xml\" = pkgs.writeText \"dialplan-default.xml\" ", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 49, column: 76, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 49, column: 79, }, }, }, ), Raw( PartRaw { content: "\n [xml lines]\n ", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 51, column: 13, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 51, column: 16, }, }, }, ), Raw( PartRaw { content: ";\n}\n", span: Span { start: Position { line: 47, column: 1, }, end: Position { line: 53, column: 9, }, }, }, ), ], span: Span { start: Position { line: 46, column: 37, }, end: Position { line: 53, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 54, column: 23, }, end: Position { line: 54, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 54, column: 27, }, end: Position { line: 54, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Override file in FreeSWITCH config template directory.\nEach top-level attribute denotes a file path in the configuration directory, its value is the file path.\nSee [FreeSWITCH documentation](https://freeswitch.org/confluence/display/FREESWITCH/Default+Configuration) for more info.\nAlso check available templates in [FreeSWITCH repository](https://github.com/signalwire/freeswitch/tree/master/conf).\n", span: Span { start: Position { line: 55, column: 1, }, end: Position { line: 59, column: 9, }, }, }, ), ], span: Span { start: Position { line: 54, column: 33, }, end: Position { line: 59, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 43, column: 28, }, end: Position { line: 60, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 61, column: 17, }, end: Position { line: 61, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 16, }, end: Position { line: 62, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 62, column: 22, }, end: Position { line: 62, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 63, column: 19, }, end: Position { line: 63, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "freeswitch", span: Span { start: Position { line: 63, column: 24, }, end: Position { line: 63, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 64, column: 23, }, end: Position { line: 64, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.freeswitch", span: Span { start: Position { line: 64, column: 42, }, end: Position { line: 64, column: 57, }, }, }, ), ], span: Span { start: Position { line: 64, column: 41, }, end: Position { line: 64, column: 58, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 65, column: 23, }, end: Position { line: 65, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 65, column: 27, }, end: Position { line: 65, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "FreeSWITCH package.\n", span: Span { start: Position { line: 66, column: 1, }, end: Position { line: 67, column: 9, }, }, }, ), ], span: Span { start: Position { line: 65, column: 33, }, end: Position { line: 67, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 61, column: 26, }, end: Position { line: 68, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 20, column: 27, }, end: Position { line: 69, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 19, column: 13, }, end: Position { line: 70, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 71, column: 3, }, end: Position { line: 71, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 71, column: 12, }, end: Position { line: 71, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 71, column: 17, }, end: Position { line: 71, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 71, column: 21, }, end: Position { line: 71, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 72, column: 5, }, end: Position { line: 72, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 72, column: 17, }, end: Position { line: 72, column: 20, }, }, }, ), Raw( PartRaw { content: "freeswitch", span: Span { start: Position { line: 72, column: 21, }, end: Position { line: 72, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 72, column: 34, }, end: Position { line: 72, column: 38, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 72, column: 39, }, end: Position { line: 72, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableReload", span: Span { start: Position { line: 72, column: 43, }, end: Position { line: 72, column: 55, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 73, column: 7, }, end: Position { line: 73, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "configDirectory", span: Span { start: Position { line: 73, column: 16, }, end: Position { line: 73, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 72, column: 56, }, end: Position { line: 74, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 75, column: 5, }, end: Position { line: 75, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 75, column: 13, }, end: Position { line: 75, column: 21, }, }, }, ), Raw( PartRaw { content: "freeswitch-config-reload", span: Span { start: Position { line: 75, column: 22, }, end: Position { line: 75, column: 46, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 75, column: 49, }, end: Position { line: 75, column: 53, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 75, column: 54, }, end: Position { line: 75, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableReload", span: Span { start: Position { line: 75, column: 58, }, end: Position { line: 75, column: 70, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "before", span: Span { start: Position { line: 76, column: 7, }, end: Position { line: 76, column: 13, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "freeswitch.service", span: Span { start: Position { line: 76, column: 19, }, end: Position { line: 76, column: 37, }, }, }, ), ], span: Span { start: Position { line: 76, column: 18, }, end: Position { line: 76, column: 38, }, }, }, ), ], span: Span { start: Position { line: 76, column: 16, }, end: Position { line: 76, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 77, column: 21, }, end: Position { line: 77, column: 38, }, }, }, ), ], span: Span { start: Position { line: 77, column: 20, }, end: Position { line: 77, column: 39, }, }, }, ), ], span: Span { start: Position { line: 77, column: 18, }, end: Position { line: 77, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 22, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "configDirectory", span: Span { start: Position { line: 78, column: 27, }, end: Position { line: 78, column: 42, }, }, }, ), ], span: Span { start: Position { line: 78, column: 25, }, end: Position { line: 78, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/current-system/systemd/bin/systemctl try-reload-or-restart freeswitch.service", span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 104, }, }, }, ), ], span: Span { start: Position { line: 80, column: 21, }, end: Position { line: 80, column: 105, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RemainAfterExit", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 82, column: 17, }, end: Position { line: 82, column: 24, }, }, }, ), ], span: Span { start: Position { line: 82, column: 16, }, end: Position { line: 82, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 79, column: 23, }, end: Position { line: 83, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 75, column: 71, }, end: Position { line: 84, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 85, column: 5, }, end: Position { line: 85, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 85, column: 13, }, end: Position { line: 85, column: 21, }, }, }, ), Raw( PartRaw { content: "freeswitch", span: Span { start: Position { line: 85, column: 22, }, end: Position { line: 85, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 86, column: 7, }, end: Position { line: 86, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Free and open-source application server for real-time communication", span: Span { start: Position { line: 86, column: 22, }, end: Position { line: 86, column: 89, }, }, }, ), ], span: Span { start: Position { line: 86, column: 21, }, end: Position { line: 86, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 87, column: 18, }, end: Position { line: 87, column: 32, }, }, }, ), ], span: Span { start: Position { line: 87, column: 17, }, end: Position { line: 87, column: 33, }, }, }, ), ], span: Span { start: Position { line: 87, column: 15, }, end: Position { line: 87, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 88, column: 7, }, end: Position { line: 88, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 88, column: 21, }, end: Position { line: 88, column: 38, }, }, }, ), ], span: Span { start: Position { line: 88, column: 20, }, end: Position { line: 88, column: 39, }, }, }, ), ], span: Span { start: Position { line: 88, column: 18, }, end: Position { line: 88, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 89, column: 7, }, end: Position { line: 89, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DynamicUser", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 90, column: 23, }, end: Position { line: 90, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "freeswitch", span: Span { start: Position { line: 91, column: 27, }, end: Position { line: 91, column: 37, }, }, }, ), ], span: Span { start: Position { line: 91, column: 26, }, end: Position { line: 91, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 92, column: 24, }, end: Position { line: 92, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/freeswitch -nf \\\n -mod ", span: Span { start: Position { line: 92, column: 22, }, end: Position { line: 93, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 93, column: 18, }, end: Position { line: 93, column: 21, }, }, }, ), }, ), Raw( PartRaw { content: "/lib/freeswitch/mod \\\n -conf ", span: Span { start: Position { line: 92, column: 22, }, end: Position { line: 94, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configPath", span: Span { start: Position { line: 94, column: 19, }, end: Position { line: 94, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: " \\\n -base /var/lib/freeswitch", span: Span { start: Position { line: 92, column: 22, }, end: Position { line: 95, column: 36, }, }, }, ), ], span: Span { start: Position { line: 92, column: 21, }, end: Position { line: 95, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecReload", span: Span { start: Position { line: 96, column: 9, }, end: Position { line: 96, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 96, column: 25, }, end: Position { line: 96, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/fs_cli -x reloadxml", span: Span { start: Position { line: 96, column: 23, }, end: Position { line: 96, column: 53, }, }, }, ), ], span: Span { start: Position { line: 96, column: 22, }, end: Position { line: 96, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 97, column: 20, }, end: Position { line: 97, column: 30, }, }, }, ), ], span: Span { start: Position { line: 97, column: 19, }, end: Position { line: 97, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "5s", span: Span { start: Position { line: 98, column: 23, }, end: Position { line: 98, column: 25, }, }, }, ), ], span: Span { start: Position { line: 98, column: 22, }, end: Position { line: 98, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "CPUSchedulingPolicy", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "fifo", span: Span { start: Position { line: 99, column: 32, }, end: Position { line: 99, column: 36, }, }, }, ), ], span: Span { start: Position { line: 99, column: 31, }, end: Position { line: 99, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 89, column: 23, }, end: Position { line: 100, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 85, column: 35, }, end: Position { line: 101, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 102, column: 5, }, end: Position { line: 102, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 102, column: 17, }, end: Position { line: 102, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "pkg", span: Span { start: Position { line: 102, column: 36, }, end: Position { line: 102, column: 39, }, }, }, ), ], span: Span { start: Position { line: 102, column: 34, }, end: Position { line: 102, column: 41, }, }, }, ), }, ), ], span: Span { start: Position { line: 71, column: 28, }, end: Position { line: 103, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 4, }, end: Position { line: 104, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 104, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 104, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 104, column: 2, }, }, }, )