Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 4, column: 12, }, end: Position { line: 4, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "mkEnableOption", span: Span { start: Position { line: 5, column: 5, }, end: Position { line: 5, column: 19, }, }, }, ), Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 6, column: 5, }, end: Position { line: 6, column: 9, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 13, }, }, }, ), Raw( PartRaw { content: "mkRenamedOptionModule", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 26, }, }, }, ), Raw( PartRaw { content: "teams", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 10, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 10, }, }, }, ), ], span: Span { start: Position { line: 3, column: 4, }, end: Position { line: 10, column: 11, }, }, }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 15, column: 6, }, end: Position { line: 15, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 15, column: 31, }, end: Position { line: 15, column: 39, }, }, }, ), ], span: Span { start: Position { line: 15, column: 30, }, end: Position { line: 15, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "flatpak", span: Span { start: Position { line: 15, column: 42, }, end: Position { line: 15, column: 49, }, }, }, ), ], span: Span { start: Position { line: 15, column: 41, }, end: Position { line: 15, column: 50, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "extraPortals", span: Span { start: Position { line: 15, column: 52, }, end: Position { line: 15, column: 64, }, }, }, ), ], span: Span { start: Position { line: 15, column: 51, }, end: Position { line: 15, column: 65, }, }, }, ), ], span: Span { start: Position { line: 15, column: 28, }, end: Position { line: 15, column: 67, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 15, column: 71, }, end: Position { line: 15, column: 74, }, }, }, ), ], span: Span { start: Position { line: 15, column: 70, }, end: Position { line: 15, column: 75, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "portal", span: Span { start: Position { line: 15, column: 77, }, end: Position { line: 15, column: 83, }, }, }, ), ], span: Span { start: Position { line: 15, column: 76, }, end: Position { line: 15, column: 84, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "extraPortals", span: Span { start: Position { line: 15, column: 86, }, end: Position { line: 15, column: 98, }, }, }, ), ], span: Span { start: Position { line: 15, column: 85, }, end: Position { line: 15, column: 99, }, }, }, ), ], span: Span { start: Position { line: 15, column: 68, }, end: Position { line: 15, column: 101, }, }, }, ), ], }, ), Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "from", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 13, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 19, column: 22, }, }, }, ), ], span: Span { start: Position { line: 19, column: 18, }, end: Position { line: 19, column: 23, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "portal", span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 19, column: 31, }, }, }, ), ], span: Span { start: Position { line: 19, column: 24, }, end: Position { line: 19, column: 32, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "gtkUsePortal", span: Span { start: Position { line: 19, column: 34, }, end: Position { line: 19, column: 46, }, }, }, ), ], span: Span { start: Position { line: 19, column: 33, }, end: Position { line: 19, column: 47, }, }, }, ), ], span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fromOpt", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 19, }, end: Position { line: 20, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getAttrFromPath", span: Span { start: Position { line: 20, column: 23, }, end: Position { line: 20, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "from", span: Span { start: Position { line: 20, column: 39, }, end: Position { line: 20, column: 43, }, }, }, ), Identifier( Identifier { id: "options", span: Span { start: Position { line: 20, column: 44, }, end: Position { line: 20, column: 51, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "warnings", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 23, column: 20, }, end: Position { line: 23, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 23, column: 24, }, end: Position { line: 23, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 23, column: 29, }, end: Position { line: 23, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 23, column: 36, }, end: Position { line: 23, column: 39, }, }, }, ), Raw( PartRaw { content: "portal", span: Span { start: Position { line: 23, column: 40, }, end: Position { line: 23, column: 46, }, }, }, ), Raw( PartRaw { content: "gtkUsePortal", span: Span { start: Position { line: 23, column: 47, }, end: Position { line: 23, column: 59, }, }, }, ), ], default: None, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "The option `", span: Span { start: Position { line: 24, column: 12, }, end: Position { line: 24, column: 46, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 26, }, end: Position { line: 24, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "showOption", span: Span { start: Position { line: 24, column: 30, }, end: Position { line: 24, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "from", span: Span { start: Position { line: 24, column: 41, }, end: Position { line: 24, column: 45, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "' defined in ", span: Span { start: Position { line: 24, column: 12, }, end: Position { line: 24, column: 59, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 61, }, end: Position { line: 24, column: 64, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "showFiles", span: Span { start: Position { line: 24, column: 65, }, end: Position { line: 24, column: 74, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "fromOpt", span: Span { start: Position { line: 24, column: 75, }, end: Position { line: 24, column: 82, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "files", span: Span { start: Position { line: 24, column: 83, }, end: Position { line: 24, column: 88, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " has been deprecated. Setting the variable globally with `environment.sessionVariables' NixOS option can have unforseen side-effects.", span: Span { start: Position { line: 24, column: 12, }, end: Position { line: 24, column: 222, }, }, }, ), ], span: Span { start: Position { line: 24, column: 11, }, end: Position { line: 24, column: 223, }, }, }, ), ], span: Span { start: Position { line: 23, column: 60, }, end: Position { line: 25, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 26, column: 8, }, }, }, ), span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 26, column: 8, }, }, }, ), span: Span { start: Position { line: 17, column: 6, }, end: Position { line: 26, column: 8, }, }, }, ), ], span: Span { start: Position { line: 14, column: 13, }, end: Position { line: 28, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 7, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "teams", span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "freedesktop", span: Span { start: Position { line: 31, column: 25, }, end: Position { line: 31, column: 36, }, }, }, ), Raw( PartRaw { content: "members", span: Span { start: Position { line: 31, column: 37, }, end: Position { line: 31, column: 44, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 30, column: 10, }, end: Position { line: 32, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 34, column: 3, }, end: Position { line: 34, column: 10, }, }, }, ), Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 34, column: 11, }, end: Position { line: 34, column: 14, }, }, }, ), Raw( PartRaw { content: "portal", span: Span { start: Position { line: 34, column: 15, }, end: Position { line: 34, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 35, column: 5, }, end: Position { line: 35, column: 11, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 21, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 36, column: 23, }, end: Position { line: 36, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 36, column: 27, }, end: Position { line: 36, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[xdg desktop integration](https://github.com/flatpak/xdg-desktop-portal)", span: Span { start: Position { line: 36, column: 35, }, end: Position { line: 36, column: 107, }, }, }, ), ], span: Span { start: Position { line: 36, column: 33, }, end: Position { line: 36, column: 109, }, }, }, ), ], }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 37, column: 19, }, end: Position { line: 37, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 36, column: 114, }, end: Position { line: 38, column: 8, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraPortals", span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 40, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 40, column: 20, }, end: Position { line: 40, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 41, column: 14, }, end: Position { line: 41, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 41, column: 20, }, end: Position { line: 41, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 41, column: 27, }, end: Position { line: 41, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 41, column: 33, }, end: Position { line: 41, column: 40, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 14, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 43, column: 21, }, end: Position { line: 43, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 43, column: 25, }, end: Position { line: 43, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of additional portals to add to path. Portals allow interaction\nwith system, like choosing files or taking screenshots. At minimum,\na desktop portal implementation should be listed. GNOME and KDE already\nadds `xdg-desktop-portal-gtk`; and\n`xdg-desktop-portal-kde` respectively. On other desktop\nenvironments you probably want to add them yourself.\n", span: Span { start: Position { line: 44, column: 1, }, end: Position { line: 50, column: 7, }, }, }, ), ], span: Span { start: Position { line: 43, column: 31, }, end: Position { line: 50, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 40, column: 29, }, end: Position { line: 51, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gtkUsePortal", span: Span { start: Position { line: 53, column: 5, }, end: Position { line: 53, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 53, column: 20, }, end: Position { line: 53, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 54, column: 14, }, end: Position { line: 54, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 54, column: 20, }, end: Position { line: 54, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "visible", span: Span { start: Position { line: 55, column: 7, }, end: Position { line: 55, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 55, column: 17, }, end: Position { line: 55, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 56, column: 17, }, end: Position { line: 56, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 57, column: 21, }, end: Position { line: 57, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 57, column: 25, }, end: Position { line: 57, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Sets environment variable `GTK_USE_PORTAL` to `1`.\nThis will force GTK-based programs ran outside Flatpak to respect and use XDG Desktop Portals\nfor features like file chooser but it is an unsupported hack that can easily break things.\nDefaults to `false` to respect its opt-in nature.\n", span: Span { start: Position { line: 58, column: 1, }, end: Position { line: 62, column: 7, }, }, }, ), ], span: Span { start: Position { line: 57, column: 31, }, end: Position { line: 62, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 53, column: 29, }, end: Position { line: 63, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 34, column: 24, }, end: Position { line: 64, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 66, column: 3, }, end: Position { line: 66, column: 9, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 68, column: 13, }, end: Position { line: 68, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 68, column: 20, }, end: Position { line: 68, column: 23, }, }, }, ), Raw( PartRaw { content: "portal", span: Span { start: Position { line: 68, column: 24, }, end: Position { line: 68, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "packages", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 15, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 69, column: 20, }, end: Position { line: 69, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xdg-desktop-portal", span: Span { start: Position { line: 69, column: 25, }, end: Position { line: 69, column: 43, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 69, column: 18, }, end: Position { line: 69, column: 45, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 69, column: 49, }, end: Position { line: 69, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraPortals", span: Span { start: Position { line: 69, column: 53, }, end: Position { line: 69, column: 65, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "joinedPortals", span: Span { start: Position { line: 70, column: 7, }, end: Position { line: 70, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 70, column: 23, }, end: Position { line: 70, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "buildEnv", span: Span { start: Position { line: 70, column: 28, }, end: Position { line: 70, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "xdg-portals", span: Span { start: Position { line: 71, column: 17, }, end: Position { line: 71, column: 28, }, }, }, ), ], span: Span { start: Position { line: 71, column: 16, }, end: Position { line: 71, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paths", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "packages", span: Span { start: Position { line: 72, column: 17, }, end: Position { line: 72, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 20, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/share/xdg-desktop-portal/portals", span: Span { start: Position { line: 73, column: 26, }, end: Position { line: 73, column: 59, }, }, }, ), ], span: Span { start: Position { line: 73, column: 25, }, end: Position { line: 73, column: 60, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/share/applications", span: Span { start: Position { line: 73, column: 62, }, end: Position { line: 73, column: 81, }, }, }, ), ], span: Span { start: Position { line: 73, column: 61, }, end: Position { line: 73, column: 82, }, }, }, ), ], span: Span { start: Position { line: 73, column: 23, }, end: Position { line: 73, column: 84, }, }, }, ), }, ), ], span: Span { start: Position { line: 70, column: 37, }, end: Position { line: 74, column: 8, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 77, column: 5, }, end: Position { line: 77, column: 9, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 77, column: 10, }, end: Position { line: 77, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 77, column: 14, }, end: Position { line: 77, column: 20, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 17, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 81, column: 11, }, end: Position { line: 81, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 81, column: 23, }, end: Position { line: 81, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraPortals", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 39, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 81, column: 43, }, end: Position { line: 81, column: 46, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 82, column: 11, }, end: Position { line: 82, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Setting xdg.portal.enable to true requires a portal implementation in xdg.portal.extraPortals such as xdg-desktop-portal-gtk or xdg-desktop-portal-kde.", span: Span { start: Position { line: 82, column: 22, }, end: Position { line: 82, column: 173, }, }, }, ), ], span: Span { start: Position { line: 82, column: 21, }, end: Position { line: 82, column: 174, }, }, }, ), }, ), ], span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 83, column: 10, }, }, }, ), ], span: Span { start: Position { line: 79, column: 20, }, end: Position { line: 84, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 86, column: 7, }, end: Position { line: 86, column: 15, }, }, }, ), Raw( PartRaw { content: "dbus", span: Span { start: Position { line: 86, column: 16, }, end: Position { line: 86, column: 20, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 86, column: 21, }, end: Position { line: 86, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "packages", span: Span { start: Position { line: 86, column: 32, }, end: Position { line: 86, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 14, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 87, column: 15, }, end: Position { line: 87, column: 23, }, }, }, ), ], to: Identifier( Identifier { id: "packages", span: Span { start: Position { line: 87, column: 26, }, end: Position { line: 87, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 89, column: 7, }, end: Position { line: 89, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 23, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "joinedPortals", span: Span { start: Position { line: 93, column: 28, }, end: Position { line: 93, column: 41, }, }, }, ), ], span: Span { start: Position { line: 93, column: 26, }, end: Position { line: 93, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 94, column: 9, }, end: Position { line: 94, column: 20, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/share/applications", span: Span { start: Position { line: 94, column: 26, }, end: Position { line: 94, column: 45, }, }, }, ), ], span: Span { start: Position { line: 94, column: 25, }, end: Position { line: 94, column: 46, }, }, }, ), ], span: Span { start: Position { line: 94, column: 23, }, end: Position { line: 94, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sessionVariables", span: Span { start: Position { line: 96, column: 9, }, end: Position { line: 96, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "GTK_USE_PORTAL", span: Span { start: Position { line: 97, column: 11, }, end: Position { line: 97, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 97, column: 28, }, end: Position { line: 97, column: 32, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 97, column: 33, }, end: Position { line: 97, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gtkUsePortal", span: Span { start: Position { line: 97, column: 37, }, end: Position { line: 97, column: 49, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "1", span: Span { start: Position { line: 97, column: 51, }, end: Position { line: 97, column: 52, }, }, }, ), ], span: Span { start: Position { line: 97, column: 50, }, end: Position { line: 97, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "XDG_DESKTOP_PORTAL_DIR", span: Span { start: Position { line: 98, column: 11, }, end: Position { line: 98, column: 33, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "joinedPortals", span: Span { start: Position { line: 98, column: 39, }, end: Position { line: 98, column: 52, }, }, }, ), }, ), Raw( PartRaw { content: "/share/xdg-desktop-portal/portals", span: Span { start: Position { line: 98, column: 37, }, end: Position { line: 98, column: 86, }, }, }, ), ], span: Span { start: Position { line: 98, column: 36, }, end: Position { line: 98, column: 87, }, }, }, ), }, ), ], span: Span { start: Position { line: 96, column: 28, }, end: Position { line: 99, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 89, column: 21, }, end: Position { line: 100, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 77, column: 21, }, end: Position { line: 101, column: 6, }, }, }, ), ], }, ), span: Span { start: Position { line: 67, column: 5, }, end: Position { line: 101, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 1, }, end: Position { line: 102, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 102, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 102, column: 2, }, }, }, )