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: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 13, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 10, column: 8, }, end: Position { line: 10, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraPlugins", span: Span { start: Position { line: 10, column: 12, }, end: Position { line: 10, column: 24, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 10, column: 28, }, end: Position { line: 10, column: 30, }, }, }, ), }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 11, column: 12, }, end: Position { line: 11, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 23, }, }, }, ), ], default: None, }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 12, }, end: Position { line: 12, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 12, column: 16, }, end: Position { line: 12, column: 23, }, }, }, ), Raw( PartRaw { content: "withPackages", span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 12, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "_", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 41, }, end: Position { line: 12, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraPlugins", span: Span { start: Position { line: 12, column: 45, }, end: Position { line: 12, column: 57, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 12, column: 38, }, end: Position { line: 12, column: 57, }, }, }, ), ], }, ), span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 12, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toStr", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 8, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "true", span: Span { start: Position { line: 15, column: 8, }, end: Position { line: 15, column: 12, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "value", span: Span { start: Position { line: 15, column: 16, }, end: Position { line: 15, column: 21, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "yes", span: Span { start: Position { line: 15, column: 28, }, end: Position { line: 15, column: 31, }, }, }, ), ], span: Span { start: Position { line: 15, column: 27, }, end: Position { line: 15, column: 32, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "false", span: Span { start: Position { line: 16, column: 13, }, end: Position { line: 16, column: 18, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "value", span: Span { start: Position { line: 16, column: 22, }, end: Position { line: 16, column: 27, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "no", span: Span { start: Position { line: 16, column: 34, }, end: Position { line: 16, column: 36, }, }, }, ), ], span: Span { start: Position { line: 16, column: 33, }, end: Position { line: 16, column: 37, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isString", span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 17, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 17, column: 22, }, end: Position { line: 17, column: 27, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "'", span: Span { start: Position { line: 17, column: 34, }, end: Position { line: 17, column: 75, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 37, }, end: Position { line: 17, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "replaceStrings", span: Span { start: Position { line: 17, column: 41, }, end: Position { line: 17, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "'", span: Span { start: Position { line: 17, column: 58, }, end: Position { line: 17, column: 59, }, }, }, ), ], span: Span { start: Position { line: 17, column: 57, }, end: Position { line: 17, column: 60, }, }, }, ), ], span: Span { start: Position { line: 17, column: 56, }, end: Position { line: 17, column: 61, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "''", span: Span { start: Position { line: 17, column: 64, }, end: Position { line: 17, column: 66, }, }, }, ), ], span: Span { start: Position { line: 17, column: 63, }, end: Position { line: 17, column: 67, }, }, }, ), ], span: Span { start: Position { line: 17, column: 62, }, end: Position { line: 17, column: 68, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 17, column: 69, }, end: Position { line: 17, column: 74, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 17, column: 34, }, end: Position { line: 17, column: 76, }, }, }, ), ], span: Span { start: Position { line: 17, column: 33, }, end: Position { line: 17, column: 77, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 18, column: 10, }, end: Position { line: 18, column: 18, }, }, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 18, column: 19, }, end: Position { line: 18, column: 24, }, }, }, ), ], }, ), span: Span { start: Position { line: 17, column: 10, }, end: Position { line: 18, column: 24, }, }, }, ), span: Span { start: Position { line: 16, column: 10, }, end: Position { line: 18, column: 24, }, }, }, ), span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 18, column: 24, }, }, }, ), span: Span { start: Position { line: 14, column: 11, }, end: Position { line: 18, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 21, column: 16, }, end: Position { line: 21, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeTextDir", span: Span { start: Position { line: 21, column: 21, }, end: Position { line: 21, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "postgresql.conf", span: Span { start: Position { line: 21, column: 35, }, end: Position { line: 21, column: 50, }, }, }, ), ], span: Span { start: Position { line: 21, column: 34, }, end: Position { line: 21, column: 51, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 21, column: 53, }, end: Position { line: 21, column: 69, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 21, column: 71, }, end: Position { line: 21, column: 73, }, }, }, ), ], span: Span { start: Position { line: 21, column: 70, }, end: Position { line: 21, column: 74, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 21, column: 76, }, end: Position { line: 21, column: 90, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 21, column: 101, }, end: Position { line: 21, column: 102, }, }, }, ), }, ), Raw( PartRaw { content: " = ", span: Span { start: Position { line: 21, column: 99, }, end: Position { line: 21, column: 106, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toStr", span: Span { start: Position { line: 21, column: 108, }, end: Position { line: 21, column: 113, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 21, column: 114, }, end: Position { line: 21, column: 115, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 21, column: 98, }, end: Position { line: 21, column: 117, }, }, }, ), span: Span { start: Position { line: 21, column: 95, }, end: Position { line: 21, column: 117, }, }, }, ), span: Span { start: Position { line: 21, column: 92, }, end: Position { line: 21, column: 117, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 21, column: 119, }, end: Position { line: 21, column: 122, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 21, column: 123, }, end: Position { line: 21, column: 131, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFileCheck", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 23, column: 21, }, end: Position { line: 23, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 23, column: 26, }, end: Position { line: 23, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "postgresql-configfile-check", span: Span { start: Position { line: 23, column: 38, }, end: Position { line: 23, column: 65, }, }, }, ), ], span: Span { start: Position { line: 23, column: 37, }, end: Position { line: 23, column: 66, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 23, column: 67, }, end: Position { line: 23, column: 69, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 24, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 24, column: 11, }, end: Position { line: 24, column: 18, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/postgres -D", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 24, column: 35, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 24, column: 37, }, end: Position { line: 24, column: 47, }, }, }, ), }, ), Raw( PartRaw { content: " -C config_file >/dev/null\ntouch $out\n", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 26, column: 3, }, }, }, ), ], span: Span { start: Position { line: 23, column: 70, }, end: Position { line: 26, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "groupAccessAvailable", span: Span { start: Position { line: 28, column: 3, }, end: Position { line: 28, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 28, column: 26, }, end: Position { line: 28, column: 40, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "postgresql", span: Span { start: Position { line: 28, column: 41, }, end: Position { line: 28, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "version", span: Span { start: Position { line: 28, column: 52, }, end: Position { line: 28, column: 59, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "11.0", span: Span { start: Position { line: 28, column: 61, }, end: Position { line: 28, column: 65, }, }, }, ), ], span: Span { start: Position { line: 28, column: 60, }, end: Position { line: 28, column: 66, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 33, column: 3, }, end: Position { line: 33, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 34, column: 6, }, end: Position { line: 34, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 34, column: 31, }, end: Position { line: 34, column: 39, }, }, }, ), ], span: Span { start: Position { line: 34, column: 30, }, end: Position { line: 34, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 34, column: 42, }, end: Position { line: 34, column: 52, }, }, }, ), ], span: Span { start: Position { line: 34, column: 41, }, end: Position { line: 34, column: 53, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 34, column: 55, }, end: Position { line: 34, column: 66, }, }, }, ), ], span: Span { start: Position { line: 34, column: 54, }, end: Position { line: 34, column: 67, }, }, }, ), ], span: Span { start: Position { line: 34, column: 28, }, end: Position { line: 34, column: 69, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "Use services.postgresql.settings instead.", span: Span { start: Position { line: 34, column: 71, }, end: Position { line: 34, column: 112, }, }, }, ), ], span: Span { start: Position { line: 34, column: 70, }, end: Position { line: 34, column: 113, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 33, column: 13, }, end: Position { line: 35, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 39, column: 3, }, end: Position { line: 39, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 41, column: 13, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 41, column: 14, }, end: Position { line: 41, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 43, column: 16, }, end: Position { line: 43, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 43, column: 32, }, end: Position { line: 43, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 43, column: 36, }, end: Position { line: 43, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "PostgreSQL Server", span: Span { start: Position { line: 43, column: 43, }, end: Position { line: 43, column: 60, }, }, }, ), ], span: Span { start: Position { line: 43, column: 42, }, end: Position { line: 43, column: 61, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 17, }, end: Position { line: 45, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 46, column: 16, }, end: Position { line: 46, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 46, column: 22, }, end: Position { line: 46, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.postgresql_11", span: Span { start: Position { line: 47, column: 38, }, end: Position { line: 47, column: 56, }, }, }, ), ], span: Span { start: Position { line: 47, column: 37, }, end: Position { line: 47, column: 57, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 48, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "PostgreSQL package to use.\n", span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 50, column: 9, }, }, }, ), ], span: Span { start: Position { line: 48, column: 33, }, end: Position { line: 50, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 26, }, end: Position { line: 51, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 53, column: 14, }, end: Position { line: 53, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 54, column: 16, }, end: Position { line: 54, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 54, column: 22, }, end: Position { line: 54, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 16, }, }, }, ), ], to: Integer( Integer { value: "5432", span: Span { start: Position { line: 55, column: 19, }, end: Position { line: 55, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 56, column: 9, }, end: Position { line: 56, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 56, column: 23, }, end: Position { line: 56, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 56, column: 27, }, end: Position { line: 56, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The port on which PostgreSQL listens.\n", span: Span { start: Position { line: 57, column: 1, }, end: Position { line: 58, column: 9, }, }, }, ), ], span: Span { start: Position { line: 56, column: 33, }, end: Position { line: 58, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 53, column: 23, }, end: Position { line: 59, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkConfig", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 61, column: 21, }, end: Position { line: 61, column: 29, }, }, }, ), 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: "bool", span: Span { start: Position { line: 62, column: 22, }, end: Position { line: 62, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 63, column: 19, }, end: Position { line: 63, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 64, column: 23, }, end: Position { line: 64, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 64, column: 27, }, end: Position { line: 64, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Check the syntax of the configuration file at compile time", span: Span { start: Position { line: 64, column: 34, }, end: Position { line: 64, column: 92, }, }, }, ), ], span: Span { start: Position { line: 64, column: 33, }, end: Position { line: 64, column: 93, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 61, column: 30, }, end: Position { line: 65, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 67, column: 17, }, end: Position { line: 67, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 68, column: 16, }, end: Position { line: 68, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 68, column: 22, }, end: Position { line: 68, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 69, column: 23, }, end: Position { line: 69, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"/var/lib/postgresql/", span: Span { start: Position { line: 69, column: 43, }, end: Position { line: 69, column: 64, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 69, column: 43, }, end: Position { line: 69, column: 67, }, }, }, ), Raw( PartRaw { content: "{config.services.postgresql.package.psqlSchema}\"", span: Span { start: Position { line: 69, column: 43, }, end: Position { line: 69, column: 115, }, }, }, ), ], span: Span { start: Position { line: 69, column: 41, }, end: Position { line: 69, column: 117, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/postgresql/11", span: Span { start: Position { line: 70, column: 20, }, end: Position { line: 70, column: 42, }, }, }, ), ], span: Span { start: Position { line: 70, column: 19, }, end: Position { line: 70, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 71, column: 23, }, end: Position { line: 71, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 71, column: 27, }, end: Position { line: 71, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The data directory for PostgreSQL. If left as the default value\nthis directory will automatically be created before the PostgreSQL server starts, otherwise\nthe sysadmin is responsible for ensuring the directory exists with appropriate ownership\nand permissions.\n", span: Span { start: Position { line: 72, column: 1, }, end: Position { line: 76, column: 9, }, }, }, ), ], span: Span { start: Position { line: 71, column: 33, }, end: Position { line: 76, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 67, column: 26, }, end: Position { line: 77, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "authentication", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 79, column: 24, }, end: Position { line: 79, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 80, column: 16, }, end: Position { line: 80, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 80, column: 22, }, end: Position { line: 80, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 81, column: 19, }, end: Position { line: 81, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 82, column: 23, }, end: Position { line: 82, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 82, column: 27, }, end: Position { line: 82, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Defines how users authenticate themselves to the server. See the\n[PostgreSQL documentation for pg_hba.conf](https://www.postgresql.org/docs/current/auth-pg-hba-conf.html)\nfor details on the expected format of this option. By default,\npeer based authentication will be used for users connecting\nvia the Unix socket, and md5 password authentication will be\nused for users connecting via TCP. Any added rules will be\ninserted above the default rules. If you'd like to replace the\ndefault rules entirely, you can use `lib.mkForce` in your\nmodule.\n", span: Span { start: Position { line: 83, column: 1, }, end: Position { line: 92, column: 9, }, }, }, ), ], span: Span { start: Position { line: 82, column: 33, }, end: Position { line: 92, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 79, column: 33, }, end: Position { line: 93, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "identMap", span: Span { start: Position { line: 95, column: 7, }, end: Position { line: 95, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 95, column: 18, }, end: Position { line: 95, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 96, column: 9, }, end: Position { line: 96, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 96, column: 16, }, end: Position { line: 96, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 96, column: 22, }, end: Position { line: 96, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 97, column: 19, }, end: Position { line: 97, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 98, column: 23, }, end: Position { line: 98, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 98, column: 27, }, end: Position { line: 98, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Defines the mapping from system users to database users.\n\nThe general form is:\n\nmap-name system-username database-username\n", span: Span { start: Position { line: 99, column: 1, }, end: Position { line: 104, column: 9, }, }, }, ), ], span: Span { start: Position { line: 98, column: 33, }, end: Position { line: 104, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 95, column: 27, }, end: Position { line: 105, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initdbArgs", span: Span { start: Position { line: 107, column: 7, }, end: Position { line: 107, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 107, column: 20, }, end: Position { line: 107, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 108, column: 9, }, end: Position { line: 108, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 108, column: 21, }, end: Position { line: 108, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 108, column: 28, }, end: Position { line: 108, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 108, column: 35, }, end: Position { line: 108, column: 38, }, }, }, ), ], }, ), span: Span { start: Position { line: 108, column: 16, }, end: Position { line: 108, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 109, column: 19, }, end: Position { line: 109, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 110, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "--data-checksums", span: Span { start: Position { line: 110, column: 22, }, end: Position { line: 110, column: 38, }, }, }, ), ], span: Span { start: Position { line: 110, column: 21, }, end: Position { line: 110, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--allow-group-access", span: Span { start: Position { line: 110, column: 41, }, end: Position { line: 110, column: 61, }, }, }, ), ], span: Span { start: Position { line: 110, column: 40, }, end: Position { line: 110, column: 62, }, }, }, ), ], span: Span { start: Position { line: 110, column: 19, }, end: Position { line: 110, column: 64, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 111, column: 23, }, end: Position { line: 111, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 111, column: 27, }, end: Position { line: 111, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Additional arguments passed to `initdb` during data dir\ninitialisation.\n", span: Span { start: Position { line: 112, column: 1, }, end: Position { line: 114, column: 9, }, }, }, ), ], span: Span { start: Position { line: 111, column: 33, }, end: Position { line: 114, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 107, column: 29, }, end: Position { line: 115, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initialScript", span: Span { start: Position { line: 117, column: 7, }, end: Position { line: 117, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 117, column: 23, }, end: Position { line: 117, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 118, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 118, column: 16, }, end: Position { line: 118, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 118, column: 22, }, end: Position { line: 118, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 118, column: 29, }, end: Position { line: 118, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 118, column: 35, }, end: Position { line: 118, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 119, column: 9, }, end: Position { line: 119, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 119, column: 19, }, end: Position { line: 119, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 120, column: 23, }, end: Position { line: 120, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 120, column: 27, }, end: Position { line: 120, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A file containing SQL statements to execute on first startup.\n", span: Span { start: Position { line: 121, column: 1, }, end: Position { line: 122, column: 9, }, }, }, ), ], span: Span { start: Position { line: 120, column: 33, }, end: Position { line: 122, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 117, column: 32, }, end: Position { line: 123, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensureDatabases", span: Span { start: Position { line: 125, column: 7, }, end: Position { line: 125, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 125, column: 25, }, end: Position { line: 125, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 126, column: 9, }, end: Position { line: 126, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 126, column: 16, }, end: Position { line: 126, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 126, column: 22, }, end: Position { line: 126, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 126, column: 29, }, end: Position { line: 126, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 126, column: 35, }, end: Position { line: 126, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 127, column: 9, }, end: Position { line: 127, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 127, column: 19, }, end: Position { line: 127, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 128, column: 9, }, end: Position { line: 128, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 128, column: 23, }, end: Position { line: 128, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 128, column: 27, }, end: Position { line: 128, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Ensures that the specified databases exist.\nThis option will never delete existing databases, especially not when the value of this\noption is changed. This means that databases created once through this option or\notherwise have to be removed manually.\n", span: Span { start: Position { line: 129, column: 1, }, end: Position { line: 133, column: 9, }, }, }, ), ], span: Span { start: Position { line: 128, column: 33, }, end: Position { line: 133, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 134, column: 9, }, end: Position { line: 134, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "gitea", span: Span { start: Position { line: 135, column: 12, }, end: Position { line: 135, column: 17, }, }, }, ), ], span: Span { start: Position { line: 135, column: 11, }, end: Position { line: 135, column: 18, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "nextcloud", span: Span { start: Position { line: 136, column: 12, }, end: Position { line: 136, column: 21, }, }, }, ), ], span: Span { start: Position { line: 136, column: 11, }, end: Position { line: 136, column: 22, }, }, }, ), ], span: Span { start: Position { line: 134, column: 19, }, end: Position { line: 137, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 125, column: 34, }, end: Position { line: 138, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensureUsers", span: Span { start: Position { line: 140, column: 7, }, end: Position { line: 140, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 140, column: 21, }, end: Position { line: 140, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 141, column: 16, }, end: Position { line: 141, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 141, column: 22, }, end: Position { line: 141, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 141, column: 30, }, end: Position { line: 141, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 141, column: 36, }, end: Position { line: 141, column: 45, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 142, column: 11, }, end: Position { line: 142, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 143, column: 13, }, end: Position { line: 143, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 143, column: 20, }, end: Position { line: 143, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 144, column: 15, }, end: Position { line: 144, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 144, column: 22, }, end: Position { line: 144, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 144, column: 28, }, end: Position { line: 144, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 145, column: 15, }, end: Position { line: 145, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 145, column: 29, }, end: Position { line: 145, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 145, column: 33, }, end: Position { line: 145, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Name of the user to ensure.\n", span: Span { start: Position { line: 146, column: 1, }, end: Position { line: 147, column: 15, }, }, }, ), ], span: Span { start: Position { line: 145, column: 39, }, end: Position { line: 147, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 143, column: 29, }, end: Position { line: 148, column: 14, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ensurePermissions", span: Span { start: Position { line: 149, column: 13, }, end: Position { line: 149, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 149, column: 33, }, end: Position { line: 149, column: 41, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 150, column: 15, }, end: Position { line: 150, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 150, column: 22, }, end: Position { line: 150, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 150, column: 28, }, end: Position { line: 150, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 150, column: 36, }, end: Position { line: 150, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 150, column: 42, }, end: Position { line: 150, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 151, column: 15, }, end: Position { line: 151, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 151, column: 25, }, end: Position { line: 151, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 152, column: 15, }, end: Position { line: 152, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 152, column: 29, }, end: Position { line: 152, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 152, column: 33, }, end: Position { line: 152, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Permissions to ensure for the user, specified as an attribute set.\nThe attribute names specify the database and tables to grant the permissions for.\nThe attribute values specify the permissions to grant. You may specify one or\nmultiple comma-separated SQL privileges here.\n\nFor more information on how to specify the target\nand on which privileges exist, see the\n[GRANT syntax](https://www.postgresql.org/docs/current/sql-grant.html).\nThe attributes are used as `GRANT ", span: Span { start: Position { line: 153, column: 1, }, end: Position { line: 161, column: 51, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 153, column: 1, }, end: Position { line: 161, column: 54, }, }, }, ), Raw( PartRaw { content: "{attrValue} ON ", span: Span { start: Position { line: 153, column: 1, }, end: Position { line: 161, column: 69, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 153, column: 1, }, end: Position { line: 161, column: 72, }, }, }, ), Raw( PartRaw { content: "{attrName}`.\n", span: Span { start: Position { line: 153, column: 1, }, end: Position { line: 162, column: 15, }, }, }, ), ], span: Span { start: Position { line: 152, column: 39, }, end: Position { line: 162, column: 17, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 163, column: 15, }, end: Position { line: 163, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 163, column: 25, }, end: Position { line: 163, column: 42, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n \"DATABASE \\\"nextcloud\\\"\" = \"ALL PRIVILEGES\";\n \"ALL TABLES IN SCHEMA public\" = \"ALL PRIVILEGES\";\n}\n", span: Span { start: Position { line: 164, column: 1, }, end: Position { line: 168, column: 15, }, }, }, ), ], span: Span { start: Position { line: 163, column: 43, }, end: Position { line: 168, column: 17, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 149, column: 42, }, end: Position { line: 169, column: 14, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 142, column: 21, }, end: Position { line: 170, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 141, column: 46, }, end: Position { line: 171, column: 10, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 172, column: 9, }, end: Position { line: 172, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 172, column: 19, }, end: Position { line: 172, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 173, column: 9, }, end: Position { line: 173, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 173, column: 23, }, end: Position { line: 173, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 173, column: 27, }, end: Position { line: 173, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Ensures that the specified users exist and have at least the ensured permissions.\nThe PostgreSQL users will be identified using peer authentication. This authenticates the Unix user with the\nsame name only, and that without the need for a password.\nThis option will never delete existing users or remove permissions, especially not when the value of this\noption is changed. This means that users created and permissions assigned once through this option or\notherwise have to be removed manually.\n", span: Span { start: Position { line: 174, column: 1, }, end: Position { line: 180, column: 9, }, }, }, ), ], span: Span { start: Position { line: 173, column: 33, }, end: Position { line: 180, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 181, column: 19, }, end: Position { line: 181, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[\n {\n name = \"nextcloud\";\n ensurePermissions = {\n \"DATABASE nextcloud\" = \"ALL PRIVILEGES\";\n };\n }\n {\n name = \"superuser\";\n ensurePermissions = {\n \"ALL TABLES IN SCHEMA public\" = \"ALL PRIVILEGES\";\n };\n }\n]\n", span: Span { start: Position { line: 182, column: 1, }, end: Position { line: 196, column: 9, }, }, }, ), ], span: Span { start: Position { line: 181, column: 37, }, end: Position { line: 196, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 140, column: 30, }, end: Position { line: 197, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableTCPIP", span: Span { start: Position { line: 199, column: 7, }, end: Position { line: 199, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 199, column: 21, }, end: Position { line: 199, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 200, column: 9, }, end: Position { line: 200, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 200, column: 16, }, end: Position { line: 200, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 200, column: 22, }, end: Position { line: 200, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 201, column: 9, }, end: Position { line: 201, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 201, column: 19, }, end: Position { line: 201, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 202, column: 9, }, end: Position { line: 202, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 202, column: 23, }, end: Position { line: 202, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 202, column: 27, }, end: Position { line: 202, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether PostgreSQL should listen on all network interfaces.\nIf disabled, the database can only be accessed via its Unix\ndomain socket or via TCP connections to localhost.\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 206, column: 9, }, }, }, ), ], span: Span { start: Position { line: 202, column: 33, }, end: Position { line: 206, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 199, column: 30, }, end: Position { line: 207, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logLinePrefix", span: Span { start: Position { line: 209, column: 7, }, end: Position { line: 209, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 209, column: 23, }, end: Position { line: 209, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 210, column: 9, }, end: Position { line: 210, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 210, column: 16, }, end: Position { line: 210, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 210, column: 22, }, end: Position { line: 210, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 211, column: 9, }, end: Position { line: 211, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "[%p] ", span: Span { start: Position { line: 211, column: 20, }, end: Position { line: 211, column: 25, }, }, }, ), ], span: Span { start: Position { line: 211, column: 19, }, end: Position { line: 211, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 212, column: 9, }, end: Position { line: 212, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "%m [%p] ", span: Span { start: Position { line: 212, column: 20, }, end: Position { line: 212, column: 28, }, }, }, ), ], span: Span { start: Position { line: 212, column: 19, }, end: Position { line: 212, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 213, column: 9, }, end: Position { line: 213, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 213, column: 23, }, end: Position { line: 213, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 213, column: 27, }, end: Position { line: 213, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A printf-style string that is output at the beginning of each log line.\nUpstream default is `'%m [%p] '`, i.e. it includes the timestamp. We do\nnot include the timestamp, because journal has it anyway.\n", span: Span { start: Position { line: 214, column: 1, }, end: Position { line: 217, column: 9, }, }, }, ), ], span: Span { start: Position { line: 213, column: 33, }, end: Position { line: 217, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 209, column: 32, }, end: Position { line: 218, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraPlugins", span: Span { start: Position { line: 220, column: 7, }, end: Position { line: 220, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 220, column: 22, }, end: Position { line: 220, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 221, column: 9, }, end: Position { line: 221, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 221, column: 16, }, end: Position { line: 221, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 221, column: 22, }, end: Position { line: 221, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 221, column: 29, }, end: Position { line: 221, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 221, column: 35, }, end: Position { line: 221, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 222, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 222, column: 19, }, end: Position { line: 222, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 223, column: 9, }, end: Position { line: 223, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 223, column: 19, }, end: Position { line: 223, column: 36, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "with pkgs.postgresql_11.pkgs; [ postgis pg_repack ]", span: Span { start: Position { line: 223, column: 38, }, end: Position { line: 223, column: 89, }, }, }, ), ], span: Span { start: Position { line: 223, column: 37, }, end: Position { line: 223, column: 90, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 224, column: 9, }, end: Position { line: 224, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 224, column: 23, }, end: Position { line: 224, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 224, column: 27, }, end: Position { line: 224, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of PostgreSQL plugins. PostgreSQL version for each plugin should\nmatch version for `services.postgresql.package` value.\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 227, column: 9, }, }, }, ), ], span: Span { start: Position { line: 224, column: 33, }, end: Position { line: 227, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 220, column: 31, }, end: Position { line: 228, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 230, column: 7, }, end: Position { line: 230, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 230, column: 18, }, end: Position { line: 230, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 231, column: 9, }, end: Position { line: 231, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 231, column: 21, }, end: Position { line: 231, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 231, column: 28, }, end: Position { line: 231, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "oneOf", span: Span { start: Position { line: 231, column: 37, }, end: Position { line: 231, column: 42, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "bool", span: Span { start: Position { line: 231, column: 45, }, end: Position { line: 231, column: 49, }, }, }, ), Identifier( Identifier { id: "float", span: Span { start: Position { line: 231, column: 50, }, end: Position { line: 231, column: 55, }, }, }, ), Identifier( Identifier { id: "int", span: Span { start: Position { line: 231, column: 56, }, end: Position { line: 231, column: 59, }, }, }, ), Identifier( Identifier { id: "str", span: Span { start: Position { line: 231, column: 60, }, end: Position { line: 231, column: 63, }, }, }, ), ], span: Span { start: Position { line: 231, column: 43, }, end: Position { line: 231, column: 65, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 231, column: 16, }, end: Position { line: 231, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 232, column: 9, }, end: Position { line: 232, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 232, column: 19, }, end: Position { line: 232, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 233, column: 9, }, end: Position { line: 233, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 233, column: 23, }, end: Position { line: 233, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 233, column: 27, }, end: Position { line: 233, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "PostgreSQL configuration. Refer to\n\nfor an overview of `postgresql.conf`.\n\n::: {.note}\nString values will automatically be enclosed in single quotes. Single quotes will be\nescaped with two single quotes as described by the upstream documentation linked above.\n:::\n", span: Span { start: Position { line: 234, column: 1, }, end: Position { line: 242, column: 9, }, }, }, ), ], span: Span { start: Position { line: 233, column: 33, }, end: Position { line: 242, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 243, column: 9, }, end: Position { line: 243, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 243, column: 19, }, end: Position { line: 243, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n log_connections = true;\n log_statement = \"all\";\n logging_collector = true\n log_disconnections = true\n log_destination = lib.mkForce \"syslog\";\n}\n", span: Span { start: Position { line: 244, column: 1, }, end: Position { line: 251, column: 9, }, }, }, ), ], span: Span { start: Position { line: 243, column: 37, }, end: Position { line: 251, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 230, column: 27, }, end: Position { line: 252, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "recoveryConfig", span: Span { start: Position { line: 254, column: 7, }, end: Position { line: 254, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 254, column: 24, }, end: Position { line: 254, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 255, column: 9, }, end: Position { line: 255, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 255, column: 16, }, end: Position { line: 255, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 255, column: 22, }, end: Position { line: 255, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 255, column: 29, }, end: Position { line: 255, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 255, column: 35, }, end: Position { line: 255, column: 40, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 256, column: 9, }, end: Position { line: 256, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 256, column: 19, }, end: Position { line: 256, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 257, column: 9, }, end: Position { line: 257, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 257, column: 23, }, end: Position { line: 257, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 257, column: 27, }, end: Position { line: 257, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Contents of the {file}`recovery.conf` file.\n", span: Span { start: Position { line: 258, column: 1, }, end: Position { line: 259, column: 9, }, }, }, ), ], span: Span { start: Position { line: 257, column: 33, }, end: Position { line: 259, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 254, column: 33, }, end: Position { line: 260, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "superUser", span: Span { start: Position { line: 262, column: 7, }, end: Position { line: 262, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 262, column: 19, }, end: Position { line: 262, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 263, column: 9, }, end: Position { line: 263, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 263, column: 16, }, end: Position { line: 263, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 263, column: 22, }, end: Position { line: 263, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 264, column: 9, }, end: Position { line: 264, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 264, column: 20, }, end: Position { line: 264, column: 28, }, }, }, ), ], span: Span { start: Position { line: 264, column: 19, }, end: Position { line: 264, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 265, column: 9, }, end: Position { line: 265, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 265, column: 20, }, end: Position { line: 265, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "readOnly", span: Span { start: Position { line: 266, column: 9, }, end: Position { line: 266, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 266, column: 20, }, end: Position { line: 266, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 267, column: 9, }, end: Position { line: 267, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 267, column: 23, }, end: Position { line: 267, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 267, column: 27, }, end: Position { line: 267, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "PostgreSQL superuser account to use for various operations. Internal since changing\nthis value would lead to breakage while setting up databases.\n", span: Span { start: Position { line: 268, column: 1, }, end: Position { line: 270, column: 9, }, }, }, ), ], span: Span { start: Position { line: 267, column: 33, }, end: Position { line: 270, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 262, column: 28, }, end: Position { line: 271, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 41, column: 27, }, end: Position { line: 272, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 13, }, end: Position { line: 274, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 279, column: 3, }, end: Position { line: 279, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 279, column: 12, }, end: Position { line: 279, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 279, column: 17, }, end: Position { line: 279, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 279, column: 21, }, end: Position { line: 279, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 281, column: 5, }, end: Position { line: 281, column: 13, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 281, column: 14, }, end: Position { line: 281, column: 24, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 281, column: 25, }, end: Position { line: 281, column: 33, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hba_file", span: Span { start: Position { line: 283, column: 9, }, end: Position { line: 283, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 283, column: 23, }, end: Position { line: 283, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 283, column: 28, }, end: Position { line: 283, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pg_hba.conf", span: Span { start: Position { line: 283, column: 39, }, end: Position { line: 283, column: 50, }, }, }, ), ], span: Span { start: Position { line: 283, column: 38, }, end: Position { line: 283, column: 51, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 283, column: 52, }, end: Position { line: 283, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "authentication", span: Span { start: Position { line: 283, column: 56, }, end: Position { line: 283, column: 70, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 283, column: 20, }, end: Position { line: 283, column: 72, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ident_file", span: Span { start: Position { line: 284, column: 9, }, end: Position { line: 284, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 284, column: 25, }, end: Position { line: 284, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 284, column: 30, }, end: Position { line: 284, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pg_ident.conf", span: Span { start: Position { line: 284, column: 41, }, end: Position { line: 284, column: 54, }, }, }, ), ], span: Span { start: Position { line: 284, column: 40, }, end: Position { line: 284, column: 55, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 284, column: 56, }, end: Position { line: 284, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "identMap", span: Span { start: Position { line: 284, column: 60, }, end: Position { line: 284, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 284, column: 22, }, end: Position { line: 284, column: 70, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "log_destination", span: Span { start: Position { line: 285, column: 9, }, end: Position { line: 285, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "stderr", span: Span { start: Position { line: 285, column: 28, }, end: Position { line: 285, column: 34, }, }, }, ), ], span: Span { start: Position { line: 285, column: 27, }, end: Position { line: 285, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "log_line_prefix", span: Span { start: Position { line: 286, column: 9, }, end: Position { line: 286, column: 24, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 286, column: 27, }, end: Position { line: 286, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logLinePrefix", span: Span { start: Position { line: 286, column: 31, }, end: Position { line: 286, column: 44, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listen_addresses", span: Span { start: Position { line: 287, column: 9, }, end: Position { line: 287, column: 25, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 287, column: 31, }, end: Position { line: 287, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableTCPIP", span: Span { start: Position { line: 287, column: 35, }, end: Position { line: 287, column: 46, }, }, }, ), ], default: None, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "*", span: Span { start: Position { line: 287, column: 53, }, end: Position { line: 287, column: 54, }, }, }, ), ], span: Span { start: Position { line: 287, column: 52, }, end: Position { line: 287, column: 55, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 287, column: 62, }, end: Position { line: 287, column: 71, }, }, }, ), ], span: Span { start: Position { line: 287, column: 61, }, end: Position { line: 287, column: 72, }, }, }, ), span: Span { start: Position { line: 287, column: 28, }, end: Position { line: 287, column: 72, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 288, column: 9, }, end: Position { line: 288, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 288, column: 16, }, end: Position { line: 288, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 288, column: 20, }, end: Position { line: 288, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 282, column: 7, }, end: Position { line: 289, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 291, column: 5, }, end: Position { line: 291, column: 13, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 291, column: 14, }, end: Position { line: 291, column: 24, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 291, column: 25, }, end: Position { line: 291, column: 32, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkThrow", span: Span { start: Position { line: 292, column: 9, }, end: Position { line: 292, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "ver", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 292, column: 24, }, end: Position { line: 292, column: 29, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "postgresql_", span: Span { start: Position { line: 292, column: 31, }, end: Position { line: 292, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "ver", span: Span { start: Position { line: 292, column: 44, }, end: Position { line: 292, column: 47, }, }, }, ), }, ), Raw( PartRaw { content: " was removed, please upgrade your postgresql version.", span: Span { start: Position { line: 292, column: 31, }, end: Position { line: 292, column: 101, }, }, }, ), ], span: Span { start: Position { line: 292, column: 30, }, end: Position { line: 292, column: 102, }, }, }, ), ], }, ), span: Span { start: Position { line: 292, column: 19, }, end: Position { line: 292, column: 102, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 297, column: 7, }, end: Position { line: 297, column: 16, }, }, }, ), arguments: [ IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 297, column: 21, }, end: Position { line: 297, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 297, column: 36, }, end: Position { line: 297, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 297, column: 43, }, end: Position { line: 297, column: 49, }, }, }, ), Raw( PartRaw { content: "stateVersion", span: Span { start: Position { line: 297, column: 50, }, end: Position { line: 297, column: 62, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "22.05", span: Span { start: Position { line: 297, column: 64, }, end: Position { line: 297, column: 69, }, }, }, ), ], span: Span { start: Position { line: 297, column: 63, }, end: Position { line: 297, column: 70, }, }, }, ), ], }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 297, column: 76, }, end: Position { line: 297, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresql_14", span: Span { start: Position { line: 297, column: 81, }, end: Position { line: 297, column: 94, }, }, }, ), ], default: None, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 298, column: 21, }, end: Position { line: 298, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 298, column: 36, }, end: Position { line: 298, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 298, column: 43, }, end: Position { line: 298, column: 49, }, }, }, ), Raw( PartRaw { content: "stateVersion", span: Span { start: Position { line: 298, column: 50, }, end: Position { line: 298, column: 62, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "21.11", span: Span { start: Position { line: 298, column: 64, }, end: Position { line: 298, column: 69, }, }, }, ), ], span: Span { start: Position { line: 298, column: 63, }, end: Position { line: 298, column: 70, }, }, }, ), ], }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 298, column: 76, }, end: Position { line: 298, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresql_13", span: Span { start: Position { line: 298, column: 81, }, end: Position { line: 298, column: 94, }, }, }, ), ], default: None, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 299, column: 21, }, end: Position { line: 299, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 299, column: 36, }, end: Position { line: 299, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 299, column: 43, }, end: Position { line: 299, column: 49, }, }, }, ), Raw( PartRaw { content: "stateVersion", span: Span { start: Position { line: 299, column: 50, }, end: Position { line: 299, column: 62, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "20.03", span: Span { start: Position { line: 299, column: 64, }, end: Position { line: 299, column: 69, }, }, }, ), ], span: Span { start: Position { line: 299, column: 63, }, end: Position { line: 299, column: 70, }, }, }, ), ], }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 299, column: 76, }, end: Position { line: 299, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "postgresql_11", span: Span { start: Position { line: 299, column: 81, }, end: Position { line: 299, column: 94, }, }, }, ), ], default: None, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 300, column: 21, }, end: Position { line: 300, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 300, column: 36, }, end: Position { line: 300, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 300, column: 43, }, end: Position { line: 300, column: 49, }, }, }, ), Raw( PartRaw { content: "stateVersion", span: Span { start: Position { line: 300, column: 50, }, end: Position { line: 300, column: 62, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "17.09", span: Span { start: Position { line: 300, column: 64, }, end: Position { line: 300, column: 69, }, }, }, ), ], span: Span { start: Position { line: 300, column: 63, }, end: Position { line: 300, column: 70, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkThrow", span: Span { start: Position { line: 300, column: 76, }, end: Position { line: 300, column: 83, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "9_6", span: Span { start: Position { line: 300, column: 85, }, end: Position { line: 300, column: 88, }, }, }, ), ], span: Span { start: Position { line: 300, column: 84, }, end: Position { line: 300, column: 89, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkThrow", span: Span { start: Position { line: 301, column: 18, }, end: Position { line: 301, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "9_5", span: Span { start: Position { line: 301, column: 27, }, end: Position { line: 301, column: 30, }, }, }, ), ], span: Span { start: Position { line: 301, column: 26, }, end: Position { line: 301, column: 31, }, }, }, ), ], }, ), span: Span { start: Position { line: 300, column: 18, }, end: Position { line: 301, column: 31, }, }, }, ), span: Span { start: Position { line: 299, column: 18, }, end: Position { line: 301, column: 31, }, }, }, ), span: Span { start: Position { line: 298, column: 18, }, end: Position { line: 301, column: 31, }, }, }, ), span: Span { start: Position { line: 297, column: 18, }, end: Position { line: 301, column: 31, }, }, }, ), ], }, ), span: Span { start: Position { line: 291, column: 35, }, end: Position { line: 301, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 303, column: 5, }, end: Position { line: 303, column: 13, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 303, column: 14, }, end: Position { line: 303, column: 24, }, }, }, ), Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 303, column: 25, }, end: Position { line: 303, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 303, column: 35, }, end: Position { line: 303, column: 44, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/postgresql/", span: Span { start: Position { line: 303, column: 46, }, end: Position { line: 303, column: 91, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 303, column: 68, }, end: Position { line: 303, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 303, column: 72, }, end: Position { line: 303, column: 79, }, }, }, ), Raw( PartRaw { content: "psqlSchema", span: Span { start: Position { line: 303, column: 80, }, end: Position { line: 303, column: 90, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 303, column: 45, }, end: Position { line: 303, column: 92, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 305, column: 5, }, end: Position { line: 305, column: 13, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 305, column: 14, }, end: Position { line: 305, column: 24, }, }, }, ), Raw( PartRaw { content: "authentication", span: Span { start: Position { line: 305, column: 25, }, end: Position { line: 305, column: 39, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkAfter", span: Span { start: Position { line: 305, column: 42, }, end: Position { line: 305, column: 49, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Generated file; do not edit!\nlocal all all peer\nhost all all 127.0.0.1/32 md5\nhost all all ::1/128 md5\n", span: Span { start: Position { line: 307, column: 1, }, end: Position { line: 311, column: 7, }, }, }, ), ], span: Span { start: Position { line: 306, column: 7, }, end: Position { line: 311, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 313, column: 5, }, end: Position { line: 313, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 313, column: 11, }, end: Position { line: 313, column: 16, }, }, }, ), Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 313, column: 17, }, end: Position { line: 313, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 314, column: 9, }, end: Position { line: 314, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 314, column: 17, }, end: Position { line: 314, column: 25, }, }, }, ), ], span: Span { start: Position { line: 314, column: 16, }, end: Position { line: 314, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 315, column: 9, }, end: Position { line: 315, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 315, column: 15, }, end: Position { line: 315, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 315, column: 22, }, end: Position { line: 315, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 315, column: 26, }, end: Position { line: 315, column: 30, }, }, }, ), Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 315, column: 31, }, end: Position { line: 315, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 316, column: 9, }, end: Position { line: 316, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 316, column: 18, }, end: Position { line: 316, column: 26, }, }, }, ), ], span: Span { start: Position { line: 316, column: 17, }, end: Position { line: 316, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 317, column: 9, }, end: Position { line: 317, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "PostgreSQL server user", span: Span { start: Position { line: 317, column: 24, }, end: Position { line: 317, column: 46, }, }, }, ), ], span: Span { start: Position { line: 317, column: 23, }, end: Position { line: 317, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 318, column: 9, }, end: Position { line: 318, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 318, column: 19, }, end: Position { line: 318, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 318, column: 23, }, end: Position { line: 318, column: 30, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 318, column: 16, }, end: Position { line: 318, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useDefaultShell", span: Span { start: Position { line: 319, column: 9, }, end: Position { line: 319, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 319, column: 27, }, end: Position { line: 319, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 314, column: 7, }, end: Position { line: 320, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 322, column: 5, }, end: Position { line: 322, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 322, column: 11, }, end: Position { line: 322, column: 17, }, }, }, ), Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 322, column: 18, }, end: Position { line: 322, column: 26, }, }, }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 322, column: 27, }, end: Position { line: 322, column: 30, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 322, column: 33, }, end: Position { line: 322, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 322, column: 40, }, end: Position { line: 322, column: 43, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 322, column: 44, }, end: Position { line: 322, column: 48, }, }, }, ), Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 322, column: 49, }, end: Position { line: 322, column: 57, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 324, column: 5, }, end: Position { line: 324, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 324, column: 17, }, end: Position { line: 324, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "postgresql", span: Span { start: Position { line: 324, column: 36, }, end: Position { line: 324, column: 46, }, }, }, ), ], span: Span { start: Position { line: 324, column: 34, }, end: Position { line: 324, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 326, column: 5, }, end: Position { line: 326, column: 16, }, }, }, ), Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 326, column: 17, }, end: Position { line: 326, column: 28, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/share/postgresql", span: Span { start: Position { line: 327, column: 7, }, end: Position { line: 327, column: 24, }, }, }, ), ], span: Span { start: Position { line: 327, column: 6, }, end: Position { line: 327, column: 25, }, }, }, ), ], span: Span { start: Position { line: 326, column: 31, }, end: Position { line: 328, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 330, column: 5, }, end: Position { line: 330, column: 11, }, }, }, ), Raw( PartRaw { content: "extraDependencies", span: Span { start: Position { line: 330, column: 12, }, end: Position { line: 330, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 330, column: 32, }, end: Position { line: 330, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optional", span: Span { start: Position { line: 330, column: 36, }, end: Position { line: 330, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 330, column: 46, }, end: Position { line: 330, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "checkConfig", span: Span { start: Position { line: 330, column: 50, }, end: Position { line: 330, column: 61, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 330, column: 65, }, end: Position { line: 330, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 330, column: 70, }, end: Position { line: 330, column: 76, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 330, column: 77, }, end: Position { line: 330, column: 89, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 330, column: 93, }, end: Position { line: 330, column: 97, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 330, column: 98, }, end: Position { line: 330, column: 104, }, }, }, ), Raw( PartRaw { content: "buildPlatform", span: Span { start: Position { line: 330, column: 105, }, end: Position { line: 330, column: 118, }, }, }, ), ], default: None, }, ), }, ), }, ), Identifier( Identifier { id: "configFileCheck", span: Span { start: Position { line: 330, column: 120, }, end: Position { line: 330, column: 135, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 332, column: 5, }, end: Position { line: 332, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 332, column: 13, }, end: Position { line: 332, column: 21, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 332, column: 22, }, end: Position { line: 332, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 333, column: 9, }, end: Position { line: 333, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "PostgreSQL Server", span: Span { start: Position { line: 333, column: 24, }, end: Position { line: 333, column: 41, }, }, }, ), ], span: Span { start: Position { line: 333, column: 23, }, end: Position { line: 333, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 335, column: 9, }, end: Position { line: 335, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 335, column: 23, }, end: Position { line: 335, column: 40, }, }, }, ), ], span: Span { start: Position { line: 335, column: 22, }, end: Position { line: 335, column: 41, }, }, }, ), ], span: Span { start: Position { line: 335, column: 20, }, end: Position { line: 335, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 336, column: 9, }, end: Position { line: 336, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 336, column: 20, }, end: Position { line: 336, column: 34, }, }, }, ), ], span: Span { start: Position { line: 336, column: 19, }, end: Position { line: 336, column: 35, }, }, }, ), ], span: Span { start: Position { line: 336, column: 17, }, end: Position { line: 336, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 338, column: 9, }, end: Position { line: 338, column: 20, }, }, }, ), Raw( PartRaw { content: "PGDATA", span: Span { start: Position { line: 338, column: 21, }, end: Position { line: 338, column: 27, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 338, column: 30, }, end: Position { line: 338, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 338, column: 34, }, end: Position { line: 338, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 340, column: 9, }, end: Position { line: 340, column: 13, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "postgresql", span: Span { start: Position { line: 340, column: 18, }, end: Position { line: 340, column: 28, }, }, }, ), ], span: Span { start: Position { line: 340, column: 16, }, end: Position { line: 340, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 342, column: 9, }, end: Position { line: 342, column: 17, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if ! test -e ", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 344, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 344, column: 28, }, end: Position { line: 344, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 344, column: 32, }, end: Position { line: 344, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/PG_VERSION; then\n # Cleanup the data directory.\n rm -f ", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 346, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 346, column: 23, }, end: Position { line: 346, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 346, column: 27, }, end: Position { line: 346, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/*.conf\n\n # Initialise the database.\n initdb -U ", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 349, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 349, column: 27, }, end: Position { line: 349, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "superUser", span: Span { start: Position { line: 349, column: 31, }, end: Position { line: 349, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 349, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 349, column: 44, }, end: Position { line: 349, column: 60, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 349, column: 62, }, end: Position { line: 349, column: 63, }, }, }, ), ], span: Span { start: Position { line: 349, column: 61, }, end: Position { line: 349, column: 64, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 349, column: 65, }, end: Position { line: 349, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "initdbArgs", span: Span { start: Position { line: 349, column: 69, }, end: Position { line: 349, column: 79, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n # See postStart!\n touch \"", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 352, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 352, column: 24, }, end: Position { line: 352, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 352, column: 28, }, end: Position { line: 352, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/.first_startup\"\nfi\n\nln -sfn \"", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 355, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 355, column: 24, }, end: Position { line: 355, column: 34, }, }, }, ), }, ), Raw( PartRaw { content: "/postgresql.conf\" \"", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 355, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 355, column: 56, }, end: Position { line: 355, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 355, column: 60, }, end: Position { line: 355, column: 67, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/postgresql.conf\"\n", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 356, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 356, column: 15, }, end: Position { line: 356, column: 29, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 356, column: 31, }, end: Position { line: 356, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "recoveryConfig", span: Span { start: Position { line: 356, column: 35, }, end: Position { line: 356, column: 49, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 356, column: 53, }, end: Position { line: 356, column: 57, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ln -sfn \"", span: Span { start: Position { line: 357, column: 1, }, end: Position { line: 357, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 357, column: 26, }, end: Position { line: 357, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 357, column: 31, }, end: Position { line: 357, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "recovery.conf", span: Span { start: Position { line: 357, column: 42, }, end: Position { line: 357, column: 55, }, }, }, ), ], span: Span { start: Position { line: 357, column: 41, }, end: Position { line: 357, column: 56, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 357, column: 57, }, end: Position { line: 357, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "recoveryConfig", span: Span { start: Position { line: 357, column: 61, }, end: Position { line: 357, column: 75, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\" \\\n \"", span: Span { start: Position { line: 357, column: 1, }, end: Position { line: 358, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 358, column: 20, }, end: Position { line: 358, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 358, column: 24, }, end: Position { line: 358, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/recovery.conf\"\n", span: Span { start: Position { line: 357, column: 1, }, end: Position { line: 359, column: 13, }, }, }, ), ], span: Span { start: Position { line: 356, column: 59, }, end: Position { line: 359, column: 15, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 344, column: 1, }, end: Position { line: 360, column: 11, }, }, }, ), ], span: Span { start: Position { line: 343, column: 11, }, end: Position { line: 360, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postStart", span: Span { start: Position { line: 363, column: 9, }, end: Position { line: 363, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "PSQL=\"psql --port=", span: Span { start: Position { line: 365, column: 1, }, end: Position { line: 365, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 365, column: 33, }, end: Position { line: 365, column: 41, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 365, column: 42, }, end: Position { line: 365, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 365, column: 46, }, end: Position { line: 365, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\"\n\nwhile ! $PSQL -d postgres -c \"\" 2> /dev/null; do\n if ! kill -0 \"$MAINPID\"; then exit 1; fi\n sleep 0.1\ndone\n\nif test -e \"", span: Span { start: Position { line: 365, column: 1, }, end: Position { line: 372, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 372, column: 27, }, end: Position { line: 372, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 372, column: 31, }, end: Position { line: 372, column: 38, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/.first_startup\"; then\n ", span: Span { start: Position { line: 365, column: 1, }, end: Position { line: 373, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 373, column: 17, }, end: Position { line: 373, column: 31, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 373, column: 33, }, end: Position { line: 373, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "initialScript", span: Span { start: Position { line: 373, column: 37, }, end: Position { line: 373, column: 50, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 373, column: 54, }, end: Position { line: 373, column: 58, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "$PSQL -f \"", span: Span { start: Position { line: 374, column: 1, }, end: Position { line: 374, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 374, column: 29, }, end: Position { line: 374, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "initialScript", span: Span { start: Position { line: 374, column: 33, }, end: Position { line: 374, column: 46, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\" -d postgres\n", span: Span { start: Position { line: 374, column: 1, }, end: Position { line: 375, column: 15, }, }, }, ), ], span: Span { start: Position { line: 373, column: 60, }, end: Position { line: 375, column: 17, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n rm -f \"", span: Span { start: Position { line: 365, column: 1, }, end: Position { line: 376, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 376, column: 24, }, end: Position { line: 376, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 376, column: 28, }, end: Position { line: 376, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/.first_startup\"\nfi\n", span: Span { start: Position { line: 365, column: 1, }, end: Position { line: 378, column: 11, }, }, }, ), ], span: Span { start: Position { line: 364, column: 11, }, end: Position { line: 378, column: 13, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 378, column: 16, }, end: Position { line: 378, column: 30, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 378, column: 32, }, end: Position { line: 378, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ensureDatabases", span: Span { start: Position { line: 378, column: 36, }, end: Position { line: 378, column: 51, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 378, column: 55, }, end: Position { line: 378, column: 57, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 379, column: 1, }, end: Position { line: 379, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStrings", span: Span { start: Position { line: 379, column: 15, }, end: Position { line: 379, column: 31, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "database", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "$PSQL -tAc \"SELECT 1 FROM pg_database WHERE datname = ", span: Span { start: Position { line: 380, column: 1, }, end: Position { line: 380, column: 69, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 380, column: 1, }, end: Position { line: 380, column: 70, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 380, column: 72, }, end: Position { line: 380, column: 80, }, }, }, ), }, ), Raw( PartRaw { content: "'\" | grep -q 1 || $PSQL -tAc 'CREATE DATABASE \"", span: Span { start: Position { line: 380, column: 1, }, end: Position { line: 380, column: 128, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 380, column: 130, }, end: Position { line: 380, column: 138, }, }, }, ), }, ), Raw( PartRaw { content: "\"'\n", span: Span { start: Position { line: 380, column: 1, }, end: Position { line: 381, column: 13, }, }, }, ), ], span: Span { start: Position { line: 379, column: 43, }, end: Position { line: 381, column: 15, }, }, }, ), span: Span { start: Position { line: 379, column: 33, }, end: Position { line: 381, column: 15, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 381, column: 17, }, end: Position { line: 381, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ensureDatabases", span: Span { start: Position { line: 381, column: 21, }, end: Position { line: 381, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 379, column: 1, }, end: Position { line: 382, column: 11, }, }, }, ), ], span: Span { start: Position { line: 378, column: 59, }, end: Position { line: 382, column: 13, }, }, }, ), ], }, ), }, ), operator: Addition, right: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 383, column: 1, }, end: Position { line: 383, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStrings", span: Span { start: Position { line: 383, column: 15, }, end: Position { line: 383, column: 31, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "user", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "$PSQL -tAc \"SELECT 1 FROM pg_roles WHERE rolname=", span: Span { start: Position { line: 384, column: 1, }, end: Position { line: 384, column: 64, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 384, column: 1, }, end: Position { line: 384, column: 65, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 384, column: 67, }, end: Position { line: 384, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 384, column: 72, }, end: Position { line: 384, column: 76, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'\" | grep -q 1 || $PSQL -tAc 'CREATE USER \"", span: Span { start: Position { line: 384, column: 1, }, end: Position { line: 384, column: 120, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 384, column: 122, }, end: Position { line: 384, column: 126, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 384, column: 127, }, end: Position { line: 384, column: 131, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"'\n", span: Span { start: Position { line: 384, column: 1, }, end: Position { line: 385, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 385, column: 17, }, end: Position { line: 385, column: 33, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 385, column: 35, }, end: Position { line: 385, column: 37, }, }, }, ), ], span: Span { start: Position { line: 385, column: 34, }, end: Position { line: 385, column: 38, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 385, column: 40, }, end: Position { line: 385, column: 54, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "database", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "permission", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "$PSQL -tAc 'GRANT ", span: Span { start: Position { line: 386, column: 1, }, end: Position { line: 386, column: 35, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "permission", span: Span { start: Position { line: 386, column: 37, }, end: Position { line: 386, column: 47, }, }, }, ), }, ), Raw( PartRaw { content: " ON ", span: Span { start: Position { line: 386, column: 1, }, end: Position { line: 386, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "database", span: Span { start: Position { line: 386, column: 54, }, end: Position { line: 386, column: 62, }, }, }, ), }, ), Raw( PartRaw { content: " TO \"", span: Span { start: Position { line: 386, column: 1, }, end: Position { line: 386, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 386, column: 70, }, end: Position { line: 386, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 386, column: 75, }, end: Position { line: 386, column: 79, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"'\n", span: Span { start: Position { line: 386, column: 1, }, end: Position { line: 387, column: 15, }, }, }, ), ], span: Span { start: Position { line: 385, column: 78, }, end: Position { line: 387, column: 17, }, }, }, ), span: Span { start: Position { line: 385, column: 66, }, end: Position { line: 387, column: 17, }, }, }, ), span: Span { start: Position { line: 385, column: 56, }, end: Position { line: 387, column: 17, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "user", span: Span { start: Position { line: 387, column: 19, }, end: Position { line: 387, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ensurePermissions", span: Span { start: Position { line: 387, column: 24, }, end: Position { line: 387, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 384, column: 1, }, end: Position { line: 388, column: 13, }, }, }, ), ], span: Span { start: Position { line: 383, column: 39, }, end: Position { line: 388, column: 15, }, }, }, ), span: Span { start: Position { line: 383, column: 33, }, end: Position { line: 388, column: 15, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 388, column: 17, }, end: Position { line: 388, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ensureUsers", span: Span { start: Position { line: 388, column: 21, }, end: Position { line: 388, column: 32, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 383, column: 1, }, end: Position { line: 389, column: 11, }, }, }, ), ], span: Span { start: Position { line: 382, column: 16, }, end: Position { line: 389, column: 13, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 391, column: 9, }, end: Position { line: 391, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 391, column: 25, }, end: Position { line: 391, column: 32, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecReload", span: Span { start: Position { line: 392, column: 13, }, end: Position { line: 392, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 392, column: 29, }, end: Position { line: 392, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 392, column: 34, }, end: Position { line: 392, column: 43, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/kill -HUP $MAINPID", span: Span { start: Position { line: 392, column: 27, }, end: Position { line: 392, column: 67, }, }, }, ), ], span: Span { start: Position { line: 392, column: 26, }, end: Position { line: 392, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 393, column: 13, }, end: Position { line: 393, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 393, column: 21, }, end: Position { line: 393, column: 29, }, }, }, ), ], span: Span { start: Position { line: 393, column: 20, }, end: Position { line: 393, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 394, column: 13, }, end: Position { line: 394, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgres", span: Span { start: Position { line: 394, column: 22, }, end: Position { line: 394, column: 30, }, }, }, ), ], span: Span { start: Position { line: 394, column: 21, }, end: Position { line: 394, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectory", span: Span { start: Position { line: 395, column: 13, }, end: Position { line: 395, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 395, column: 33, }, end: Position { line: 395, column: 43, }, }, }, ), ], span: Span { start: Position { line: 395, column: 32, }, end: Position { line: 395, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 396, column: 13, }, end: Position { line: 396, column: 17, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionAtLeast", span: Span { start: Position { line: 396, column: 23, }, end: Position { line: 396, column: 37, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 396, column: 38, }, end: Position { line: 396, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 396, column: 42, }, end: Position { line: 396, column: 49, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 396, column: 50, }, end: Position { line: 396, column: 57, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "9.6", span: Span { start: Position { line: 396, column: 59, }, end: Position { line: 396, column: 62, }, }, }, ), ], span: Span { start: Position { line: 396, column: 58, }, end: Position { line: 396, column: 63, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "notify", span: Span { start: Position { line: 397, column: 26, }, end: Position { line: 397, column: 32, }, }, }, ), ], span: Span { start: Position { line: 397, column: 25, }, end: Position { line: 397, column: 33, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "simple", span: Span { start: Position { line: 398, column: 26, }, end: Position { line: 398, column: 32, }, }, }, ), ], span: Span { start: Position { line: 398, column: 25, }, end: Position { line: 398, column: 33, }, }, }, ), span: Span { start: Position { line: 396, column: 20, }, end: Position { line: 398, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "KillSignal", span: Span { start: Position { line: 402, column: 13, }, end: Position { line: 402, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "SIGINT", span: Span { start: Position { line: 402, column: 27, }, end: Position { line: 402, column: 33, }, }, }, ), ], span: Span { start: Position { line: 402, column: 26, }, end: Position { line: 402, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "KillMode", span: Span { start: Position { line: 403, column: 13, }, end: Position { line: 403, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "mixed", span: Span { start: Position { line: 403, column: 25, }, end: Position { line: 403, column: 30, }, }, }, ), ], span: Span { start: Position { line: 403, column: 24, }, end: Position { line: 403, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "TimeoutSec", span: Span { start: Position { line: 407, column: 13, }, end: Position { line: 407, column: 23, }, }, }, ), ], to: Integer( Integer { value: "120", span: Span { start: Position { line: 407, column: 26, }, end: Position { line: 407, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 409, column: 13, }, end: Position { line: 409, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "postgresql", span: Span { start: Position { line: 409, column: 28, }, end: Position { line: 409, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/postgres", span: Span { start: Position { line: 409, column: 26, }, end: Position { line: 409, column: 52, }, }, }, ), ], span: Span { start: Position { line: 409, column: 25, }, end: Position { line: 409, column: 53, }, }, }, ), }, ), ], span: Span { start: Position { line: 392, column: 11, }, end: Position { line: 410, column: 12, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 411, column: 12, }, end: Position { line: 411, column: 16, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 411, column: 18, }, end: Position { line: 411, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 411, column: 22, }, end: Position { line: 411, column: 29, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/postgresql/", span: Span { start: Position { line: 411, column: 34, }, end: Position { line: 411, column: 79, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 411, column: 56, }, end: Position { line: 411, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 411, column: 60, }, end: Position { line: 411, column: 67, }, }, }, ), Raw( PartRaw { content: "psqlSchema", span: Span { start: Position { line: 411, column: 68, }, end: Position { line: 411, column: 78, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 411, column: 33, }, end: Position { line: 411, column: 80, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 412, column: 13, }, end: Position { line: 412, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "postgresql postgresql/", span: Span { start: Position { line: 412, column: 31, }, end: Position { line: 412, column: 78, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 412, column: 55, }, end: Position { line: 412, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 412, column: 59, }, end: Position { line: 412, column: 66, }, }, }, ), Raw( PartRaw { content: "psqlSchema", span: Span { start: Position { line: 412, column: 67, }, end: Position { line: 412, column: 77, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 412, column: 30, }, end: Position { line: 412, column: 79, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectoryMode", span: Span { start: Position { line: 413, column: 13, }, end: Position { line: 413, column: 31, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "groupAccessAvailable", span: Span { start: Position { line: 413, column: 37, }, end: Position { line: 413, column: 57, }, }, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "0750", span: Span { start: Position { line: 413, column: 64, }, end: Position { line: 413, column: 68, }, }, }, ), ], span: Span { start: Position { line: 413, column: 63, }, end: Position { line: 413, column: 69, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "0700", span: Span { start: Position { line: 413, column: 76, }, end: Position { line: 413, column: 80, }, }, }, ), ], span: Span { start: Position { line: 413, column: 75, }, end: Position { line: 413, column: 81, }, }, }, ), span: Span { start: Position { line: 413, column: 34, }, end: Position { line: 413, column: 81, }, }, }, ), }, ), ], span: Span { start: Position { line: 411, column: 82, }, end: Position { line: 414, column: 12, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 391, column: 33, }, end: Position { line: 415, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 417, column: 9, }, end: Position { line: 417, column: 19, }, }, }, ), Raw( PartRaw { content: "RequiresMountsFor", span: Span { start: Position { line: 417, column: 20, }, end: Position { line: 417, column: 37, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 417, column: 43, }, end: Position { line: 417, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 417, column: 47, }, end: Position { line: 417, column: 54, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 417, column: 40, }, end: Position { line: 417, column: 56, }, }, }, ), }, ), ], span: Span { start: Position { line: 333, column: 7, }, end: Position { line: 418, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 279, column: 28, }, end: Position { line: 420, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 422, column: 3, }, end: Position { line: 422, column: 7, }, }, }, ), Raw( PartRaw { content: "doc", span: Span { start: Position { line: 422, column: 8, }, end: Position { line: 422, column: 11, }, }, }, ), ], to: Path( Path { parts: [ Raw( PartRaw { content: "./postgresql.xml", span: Span { start: Position { line: 422, column: 14, }, end: Position { line: 422, column: 30, }, }, }, ), ], span: Span { start: Position { line: 422, column: 14, }, end: Position { line: 422, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 423, column: 3, }, end: Position { line: 423, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 423, column: 8, }, end: Position { line: 423, column: 19, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 423, column: 27, }, end: Position { line: 423, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 423, column: 31, }, end: Position { line: 423, column: 42, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ Identifier( Identifier { id: "thoughtpolice", span: Span { start: Position { line: 423, column: 46, }, end: Position { line: 423, column: 59, }, }, }, ), Identifier( Identifier { id: "danbst", span: Span { start: Position { line: 423, column: 60, }, end: Position { line: 423, column: 66, }, }, }, ), ], span: Span { start: Position { line: 423, column: 44, }, end: Position { line: 423, column: 68, }, }, }, ), span: Span { start: Position { line: 423, column: 22, }, end: Position { line: 423, column: 68, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 424, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 424, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 424, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 424, column: 2, }, }, }, )