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: 4, column: 6, }, end: Position { line: 4, 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: "flatpak", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 32, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 7, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "doc", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 8, }, }, }, ), ], to: Path( Path { parts: [ Raw( PartRaw { content: "./flatpak.xml", span: Span { start: Position { line: 10, column: 11, }, end: Position { line: 10, column: 24, }, }, }, ), ], span: Span { start: Position { line: 10, column: 11, }, end: Position { line: 10, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 11, column: 19, }, end: Position { line: 11, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 11, column: 24, }, end: Position { line: 11, column: 31, }, }, }, ), Raw( PartRaw { content: "meta", span: Span { start: Position { line: 11, column: 32, }, end: Position { line: 11, column: 36, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 11, column: 37, }, end: Position { line: 11, column: 48, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 9, column: 10, }, end: Position { line: 12, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 15, column: 3, }, end: Position { line: 15, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 13, }, }, }, ), Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 16, column: 14, }, end: Position { line: 16, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 17, column: 7, }, end: Position { line: 17, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 17, column: 16, }, end: Position { line: 17, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 32, }, end: Position { line: 17, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 17, column: 36, }, end: Position { line: 17, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 17, column: 43, }, end: Position { line: 17, column: 50, }, }, }, ), ], span: Span { start: Position { line: 17, column: 42, }, end: Position { line: 17, column: 51, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 16, column: 24, }, end: Position { line: 18, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 15, column: 13, }, end: Position { line: 19, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 23, column: 17, }, end: Position { line: 23, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 23, column: 21, }, end: Position { line: 23, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 25, column: 5, }, end: Position { line: 25, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 26, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 26, column: 29, }, end: Position { line: 26, column: 32, }, }, }, ), Raw( PartRaw { content: "portal", span: Span { start: Position { line: 26, column: 33, }, end: Position { line: 26, column: 39, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 26, column: 40, }, end: Position { line: 26, column: 46, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "true", span: Span { start: Position { line: 26, column: 50, }, end: Position { line: 26, column: 54, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "To use Flatpak you must enable XDG Desktop Portals with xdg.portal.enable.", span: Span { start: Position { line: 27, column: 20, }, end: Position { line: 27, column: 94, }, }, }, ), ], span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 27, column: 95, }, }, }, ), }, ), ], span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 28, column: 8, }, }, }, ), ], span: Span { start: Position { line: 25, column: 18, }, end: Position { line: 29, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 31, column: 17, }, end: Position { line: 31, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 31, column: 36, }, end: Position { line: 31, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 31, column: 41, }, end: Position { line: 31, column: 48, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 31, column: 34, }, end: Position { line: 31, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 13, }, }, }, ), Raw( PartRaw { content: "polkit", span: Span { start: Position { line: 33, column: 14, }, end: Position { line: 33, column: 20, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 33, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 33, column: 30, }, end: Position { line: 33, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 35, column: 5, }, end: Position { line: 35, column: 13, }, }, }, ), Raw( PartRaw { content: "dbus", span: Span { start: Position { line: 35, column: 14, }, end: Position { line: 35, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 35, column: 19, }, end: Position { line: 35, column: 27, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 35, column: 32, }, end: Position { line: 35, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 35, column: 37, }, end: Position { line: 35, column: 44, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 35, column: 30, }, end: Position { line: 35, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 12, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 37, column: 13, }, end: Position { line: 37, column: 21, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 37, column: 26, }, end: Position { line: 37, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 37, column: 31, }, end: Position { line: 37, column: 38, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 37, column: 24, }, end: Position { line: 37, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 16, }, }, }, ), Raw( PartRaw { content: "profiles", span: Span { start: Position { line: 39, column: 17, }, end: Position { line: 39, column: 25, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "$HOME/.local/share/flatpak/exports", span: Span { start: Position { line: 40, column: 8, }, end: Position { line: 40, column: 42, }, }, }, ), ], span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 43, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/flatpak/exports", span: Span { start: Position { line: 41, column: 8, }, end: Position { line: 41, column: 32, }, }, }, ), ], span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 33, }, }, }, ), ], span: Span { start: Position { line: 39, column: 28, }, end: Position { line: 42, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 48, column: 11, }, end: Position { line: 48, column: 16, }, }, }, ), Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 48, column: 17, }, end: Position { line: 48, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Flatpak system helper", span: Span { start: Position { line: 49, column: 22, }, end: Position { line: 49, column: 43, }, }, }, ), ], span: Span { start: Position { line: 49, column: 21, }, end: Position { line: 49, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 50, column: 7, }, end: Position { line: 50, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 50, column: 16, }, end: Position { line: 50, column: 23, }, }, }, ), ], span: Span { start: Position { line: 50, column: 15, }, end: Position { line: 50, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 51, column: 22, }, end: Position { line: 51, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 52, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 54, column: 5, }, end: Position { line: 54, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 54, column: 11, }, end: Position { line: 54, column: 17, }, }, }, ), Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 54, column: 18, }, end: Position { line: 54, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 54, column: 28, }, end: Position { line: 54, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 23, column: 28, }, end: Position { line: 55, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 4, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 56, column: 2, }, }, }, )