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: 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: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "sway", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wrapperOptions", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 8, column: 26, }, end: Position { line: 8, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 12, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkWrapperFeature", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 25, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "default", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "description", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 11, column: 51, }, end: Position { line: 11, column: 59, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 12, column: 11, }, end: Position { line: 12, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 12, column: 18, }, end: Position { line: 12, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 12, column: 28, }, }, }, ), ], default: None, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 13, column: 19, }, end: Position { line: 13, column: 26, }, }, }, ), ], span: Span { start: Position { line: 11, column: 61, }, end: Position { line: 13, column: 27, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 14, column: 11, }, end: Position { line: 14, column: 18, }, }, }, ), ], to: UnaryOperation( UnaryOperation { operator: Not, operand: Identifier( Identifier { id: "default", span: Span { start: Position { line: 14, column: 22, }, end: Position { line: 14, column: 29, }, }, }, ), span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 14, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 15, column: 11, }, end: Position { line: 15, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 15, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 15, column: 29, }, end: Position { line: 15, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to make use of the ", span: Span { start: Position { line: 15, column: 36, }, end: Position { line: 15, column: 77, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "description", span: Span { start: Position { line: 15, column: 65, }, end: Position { line: 15, column: 76, }, }, }, ), }, ), ], span: Span { start: Position { line: 15, column: 35, }, end: Position { line: 15, column: 78, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 60, }, end: Position { line: 16, column: 10, }, }, }, ), ], }, ), span: Span { start: Position { line: 11, column: 38, }, end: Position { line: 16, column: 10, }, }, }, ), span: Span { start: Position { line: 11, column: 29, }, end: Position { line: 16, column: 10, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "base", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkWrapperFeature", span: Span { start: Position { line: 18, column: 16, }, end: Position { line: 18, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 18, column: 33, }, end: Position { line: 18, column: 37, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "base wrapper to execute extra session commands and prepend a\ndbus-run-session to the sway command.\n", span: Span { start: Position { line: 19, column: 1, }, end: Position { line: 21, column: 9, }, }, }, ), ], span: Span { start: Position { line: 18, column: 38, }, end: Position { line: 21, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gtk", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkWrapperFeature", span: Span { start: Position { line: 22, column: 15, }, end: Position { line: 22, column: 31, }, }, }, ), arguments: [ Identifier( Identifier { id: "false", span: Span { start: Position { line: 22, column: 32, }, end: Position { line: 22, column: 37, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "wrapGAppsHook wrapper to execute sway with required environment\nvariables for GTK applications.\n", span: Span { start: Position { line: 23, column: 1, }, end: Position { line: 25, column: 9, }, }, }, ), ], span: Span { start: Position { line: 22, column: 38, }, end: Position { line: 25, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 10, }, end: Position { line: 26, column: 6, }, }, }, ), span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 26, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 36, }, end: Position { line: 27, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "swayPackage", span: Span { start: Position { line: 29, column: 3, }, end: Position { line: 29, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 29, column: 17, }, end: Position { line: 29, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sway", span: Span { start: Position { line: 29, column: 22, }, end: Position { line: 29, column: 26, }, }, }, ), Raw( PartRaw { content: "override", span: Span { start: Position { line: 29, column: 27, }, end: Position { line: 29, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraSessionCommands", span: Span { start: Position { line: 30, column: 5, }, end: Position { line: 30, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 30, column: 28, }, end: Position { line: 30, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraSessionCommands", span: Span { start: Position { line: 30, column: 32, }, end: Position { line: 30, column: 52, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 31, column: 20, }, end: Position { line: 31, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 31, column: 24, }, end: Position { line: 31, column: 36, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withBaseWrapper", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 32, column: 23, }, end: Position { line: 32, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "wrapperFeatures", span: Span { start: Position { line: 32, column: 27, }, end: Position { line: 32, column: 42, }, }, }, ), Raw( PartRaw { content: "base", span: Span { start: Position { line: 32, column: 43, }, end: Position { line: 32, column: 47, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withGtkWrapper", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "wrapperFeatures", span: Span { start: Position { line: 33, column: 26, }, end: Position { line: 33, column: 41, }, }, }, ), Raw( PartRaw { content: "gtk", span: Span { start: Position { line: 33, column: 42, }, end: Position { line: 33, column: 45, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isNixOS", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 34, column: 15, }, end: Position { line: 34, column: 19, }, }, }, ), }, ), ], span: Span { start: Position { line: 29, column: 36, }, end: Position { line: 35, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 37, column: 3, }, end: Position { line: 37, column: 10, }, }, }, ), Raw( PartRaw { content: "programs", span: Span { start: Position { line: 37, column: 11, }, end: Position { line: 37, column: 19, }, }, }, ), Raw( PartRaw { content: "sway", span: Span { start: Position { line: 37, column: 20, }, end: Position { line: 37, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 38, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 38, column: 14, }, end: Position { line: 38, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 38, column: 30, }, end: Position { line: 38, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 38, column: 34, }, end: Position { line: 38, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: " Sway, the i3-compatible tiling Wayland compositor. You can manually launch\nSway by executing \"exec sway\" on a TTY. Copy /etc/sway/config to\n~/.config/sway/config to modify the default configuration. See\n and\n\"man 5 sway\" for more information", span: Span { start: Position { line: 39, column: 1, }, end: Position { line: 43, column: 40, }, }, }, ), ], span: Span { start: Position { line: 38, column: 40, }, end: Position { line: 43, column: 42, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wrapperFeatures", span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 45, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 23, }, end: Position { line: 45, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "wrapperOptions", span: Span { start: Position { line: 46, column: 14, }, end: Position { line: 46, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 47, column: 17, }, end: Position { line: 47, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 48, column: 7, }, end: Position { line: 48, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gtk", span: Span { start: Position { line: 48, column: 19, }, end: Position { line: 48, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 48, column: 25, }, end: Position { line: 48, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 48, column: 17, }, end: Position { line: 48, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 49, column: 21, }, end: Position { line: 49, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 49, column: 25, }, end: Position { line: 49, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Attribute set of features to enable in the wrapper.\n", span: Span { start: Position { line: 50, column: 1, }, end: Position { line: 51, column: 7, }, }, }, ), ], span: Span { start: Position { line: 49, column: 31, }, end: Position { line: 51, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 45, column: 32, }, end: Position { line: 52, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraSessionCommands", span: Span { start: Position { line: 54, column: 5, }, end: Position { line: 54, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 54, column: 28, }, end: Position { line: 54, column: 36, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 55, column: 7, }, end: Position { line: 55, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 55, column: 14, }, end: Position { line: 55, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 55, column: 20, }, end: Position { line: 55, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 14, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 56, column: 17, }, end: Position { line: 56, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 57, column: 7, }, end: Position { line: 57, column: 14, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# SDL:\nexport SDL_VIDEODRIVER=wayland\n# QT (needs qt5.qtwayland in systemPackages):\nexport QT_QPA_PLATFORM=wayland-egl\nexport QT_WAYLAND_DISABLE_WINDOWDECORATION=\"1\"\n# Fix for some Java AWT applications (e.g. Android Studio),\n# use this if they aren't displayed properly:\nexport _JAVA_AWT_WM_NONREPARENTING=1\n", span: Span { start: Position { line: 58, column: 1, }, end: Position { line: 66, column: 7, }, }, }, ), ], span: Span { start: Position { line: 57, column: 17, }, end: Position { line: 66, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 67, column: 25, }, end: Position { line: 67, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell commands executed just before Sway is started. See\n\nand \nfor some useful environment variables.\n", span: Span { start: Position { line: 68, column: 1, }, end: Position { line: 72, column: 7, }, }, }, ), ], span: Span { start: Position { line: 67, column: 31, }, end: Position { line: 72, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 54, column: 37, }, end: Position { line: 73, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 75, column: 5, }, end: Position { line: 75, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 75, column: 20, }, end: Position { line: 75, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 76, column: 7, }, end: Position { line: 76, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 76, column: 14, }, end: Position { line: 76, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 76, column: 20, }, end: Position { line: 76, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 76, column: 27, }, end: Position { line: 76, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 76, column: 33, }, end: Position { line: 76, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 14, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 77, column: 17, }, end: Position { line: 77, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "--verbose", span: Span { start: Position { line: 79, column: 10, }, end: Position { line: 79, column: 19, }, }, }, ), ], span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 20, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--debug", span: Span { start: Position { line: 80, column: 10, }, end: Position { line: 80, column: 17, }, }, }, ), ], span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 18, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "--unsupported-gpu", span: Span { start: Position { line: 81, column: 10, }, end: Position { line: 81, column: 27, }, }, }, ), ], span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 28, }, }, }, ), ], span: Span { start: Position { line: 78, column: 17, }, end: Position { line: 82, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 83, column: 21, }, end: Position { line: 83, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 83, column: 25, }, end: Position { line: 83, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Command line arguments passed to launch Sway. Please DO NOT report\nissues if you use an unsupported GPU (proprietary drivers).\n", span: Span { start: Position { line: 84, column: 1, }, end: Position { line: 86, column: 7, }, }, }, ), ], span: Span { start: Position { line: 83, column: 31, }, end: Position { line: 86, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 75, column: 29, }, end: Position { line: 87, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraPackages", span: Span { start: Position { line: 89, column: 5, }, end: Position { line: 89, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 89, column: 21, }, end: Position { line: 89, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 90, column: 7, }, end: Position { line: 90, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 90, column: 19, }, end: Position { line: 90, column: 24, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 90, column: 26, }, end: Position { line: 90, column: 32, }, }, }, ), arguments: [ Identifier( Identifier { id: "package", span: Span { start: Position { line: 90, column: 33, }, end: Position { line: 90, column: 40, }, }, }, ), ], }, ), span: Span { start: Position { line: 90, column: 14, }, end: Position { line: 90, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 91, column: 7, }, end: Position { line: 91, column: 14, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 26, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "swaylock", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 17, }, }, }, ), Identifier( Identifier { id: "swayidle", span: Span { start: Position { line: 92, column: 18, }, end: Position { line: 92, column: 26, }, }, }, ), Identifier( Identifier { id: "foot", span: Span { start: Position { line: 92, column: 27, }, end: Position { line: 92, column: 31, }, }, }, ), Identifier( Identifier { id: "dmenu", span: Span { start: Position { line: 92, column: 32, }, end: Position { line: 92, column: 37, }, }, }, ), ], span: Span { start: Position { line: 91, column: 28, }, end: Position { line: 93, column: 8, }, }, }, ), span: Span { start: Position { line: 91, column: 17, }, end: Position { line: 93, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 94, column: 7, }, end: Position { line: 94, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 94, column: 21, }, end: Position { line: 94, column: 38, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "with pkgs; [ swaylock swayidle foot dmenu ];\n", span: Span { start: Position { line: 95, column: 1, }, end: Position { line: 96, column: 7, }, }, }, ), ], span: Span { start: Position { line: 94, column: 39, }, end: Position { line: 96, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 97, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 97, column: 17, }, end: Position { line: 97, column: 34, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "with pkgs; [\n i3status i3status-rust\n termite rofi light\n]\n", span: Span { start: Position { line: 98, column: 1, }, end: Position { line: 102, column: 7, }, }, }, ), ], span: Span { start: Position { line: 97, column: 35, }, end: Position { line: 102, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 103, column: 21, }, end: Position { line: 103, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 103, column: 25, }, end: Position { line: 103, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra packages to be installed system wide. See\n and\n\nfor a list of useful software.\n", span: Span { start: Position { line: 104, column: 1, }, end: Position { line: 108, column: 7, }, }, }, ), ], span: Span { start: Position { line: 103, column: 31, }, end: Position { line: 108, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 89, column: 30, }, end: Position { line: 109, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 27, }, end: Position { line: 111, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 113, column: 3, }, end: Position { line: 113, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 113, column: 12, }, end: Position { line: 113, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 113, column: 17, }, end: Position { line: 113, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 113, column: 21, }, end: Position { line: 113, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 114, column: 5, }, end: Position { line: 114, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 116, column: 21, }, end: Position { line: 116, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraSessionCommands", span: Span { start: Position { line: 116, column: 25, }, end: Position { line: 116, column: 45, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 116, column: 49, }, end: Position { line: 116, column: 51, }, }, }, ), }, ), operator: Implication, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 116, column: 55, }, end: Position { line: 116, column: 58, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "wrapperFeatures", span: Span { start: Position { line: 116, column: 59, }, end: Position { line: 116, column: 74, }, }, }, ), Raw( PartRaw { content: "base", span: Span { start: Position { line: 116, column: 75, }, end: Position { line: 116, column: 79, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The extraSessionCommands for Sway will not be run if\nwrapperFeatures.base is disabled.\n", span: Span { start: Position { line: 118, column: 1, }, end: Position { line: 120, column: 9, }, }, }, ), ], span: Span { start: Position { line: 117, column: 19, }, end: Position { line: 120, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 115, column: 7, }, end: Position { line: 121, column: 8, }, }, }, ), ], span: Span { start: Position { line: 114, column: 18, }, end: Position { line: 122, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 123, column: 5, }, end: Position { line: 123, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 124, column: 7, }, end: Position { line: 124, column: 21, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "swayPackage", span: Span { start: Position { line: 124, column: 26, }, end: Position { line: 124, column: 37, }, }, }, ), ], span: Span { start: Position { line: 124, column: 24, }, end: Position { line: 124, column: 39, }, }, }, ), operator: Concatenation, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 124, column: 43, }, end: Position { line: 124, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraPackages", span: Span { start: Position { line: 124, column: 47, }, end: Position { line: 124, column: 60, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 18, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/share/backgrounds/sway", span: Span { start: Position { line: 126, column: 24, }, end: Position { line: 126, column: 47, }, }, }, ), ], span: Span { start: Position { line: 126, column: 23, }, end: Position { line: 126, column: 48, }, }, }, ), ], span: Span { start: Position { line: 126, column: 21, }, end: Position { line: 126, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 127, column: 7, }, end: Position { line: 127, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "sway/config", span: Span { start: Position { line: 128, column: 10, }, end: Position { line: 128, column: 21, }, }, }, ), ], span: Span { start: Position { line: 128, column: 9, }, end: Position { line: 128, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 128, column: 23, }, end: Position { line: 128, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOptionDefault", span: Span { start: Position { line: 128, column: 32, }, end: Position { line: 128, column: 47, }, }, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "swayPackage", span: Span { start: Position { line: 128, column: 51, }, end: Position { line: 128, column: 62, }, }, }, ), }, ), Raw( PartRaw { content: "/etc/sway/config", span: Span { start: Position { line: 128, column: 49, }, end: Position { line: 128, column: 79, }, }, }, ), ], span: Span { start: Position { line: 128, column: 48, }, end: Position { line: 128, column: 80, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "sway/config.d/nixos.conf", span: Span { start: Position { line: 129, column: 10, }, end: Position { line: 129, column: 34, }, }, }, ), ], span: Span { start: Position { line: 129, column: 9, }, end: Position { line: 129, column: 35, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 129, column: 36, }, end: Position { line: 129, column: 42, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 129, column: 45, }, end: Position { line: 129, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 129, column: 50, }, end: Position { line: 129, column: 59, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "nixos.conf", span: Span { start: Position { line: 129, column: 61, }, end: Position { line: 129, column: 71, }, }, }, ), ], span: Span { start: Position { line: 129, column: 60, }, end: Position { line: 129, column: 72, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Import the most important environment variables into the D-Bus and systemd\n# user environments (e.g. required for screen sharing and Pinentry prompts):\nexec dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP\n", span: Span { start: Position { line: 130, column: 1, }, end: Position { line: 133, column: 9, }, }, }, ), ], span: Span { start: Position { line: 129, column: 73, }, end: Position { line: 133, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 127, column: 13, }, end: Position { line: 134, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 123, column: 19, }, end: Position { line: 135, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 136, column: 5, }, end: Position { line: 136, column: 13, }, }, }, ), Raw( PartRaw { content: "polkit", span: Span { start: Position { line: 136, column: 14, }, end: Position { line: 136, column: 20, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 136, column: 21, }, end: Position { line: 136, column: 27, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 136, column: 30, }, end: Position { line: 136, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 137, column: 5, }, end: Position { line: 137, column: 13, }, }, }, ), Raw( PartRaw { content: "pam", span: Span { start: Position { line: 137, column: 14, }, end: Position { line: 137, column: 17, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 137, column: 18, }, end: Position { line: 137, column: 26, }, }, }, ), Raw( PartRaw { content: "swaylock", span: Span { start: Position { line: 137, column: 27, }, end: Position { line: 137, column: 35, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 137, column: 38, }, end: Position { line: 137, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 138, column: 5, }, end: Position { line: 138, column: 13, }, }, }, ), Raw( PartRaw { content: "opengl", span: Span { start: Position { line: 138, column: 14, }, end: Position { line: 138, column: 20, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 138, column: 21, }, end: Position { line: 138, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 138, column: 30, }, end: Position { line: 138, column: 39, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 138, column: 40, }, end: Position { line: 138, column: 44, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fonts", span: Span { start: Position { line: 139, column: 5, }, end: Position { line: 139, column: 10, }, }, }, ), Raw( PartRaw { content: "enableDefaultFonts", span: Span { start: Position { line: 139, column: 11, }, end: Position { line: 139, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 139, column: 32, }, end: Position { line: 139, column: 41, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 139, column: 42, }, end: Position { line: 139, column: 46, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 140, column: 5, }, end: Position { line: 140, column: 13, }, }, }, ), Raw( PartRaw { content: "dconf", span: Span { start: Position { line: 140, column: 14, }, end: Position { line: 140, column: 19, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 140, column: 20, }, end: Position { line: 140, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 140, column: 29, }, end: Position { line: 140, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 140, column: 39, }, end: Position { line: 140, column: 43, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 142, column: 5, }, end: Position { line: 142, column: 13, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 142, column: 14, }, end: Position { line: 142, column: 21, }, }, }, ), Raw( PartRaw { content: "displayManager", span: Span { start: Position { line: 142, column: 22, }, end: Position { line: 142, column: 36, }, }, }, ), Raw( PartRaw { content: "sessionPackages", span: Span { start: Position { line: 142, column: 37, }, end: Position { line: 142, column: 52, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "swayPackage", span: Span { start: Position { line: 142, column: 57, }, end: Position { line: 142, column: 68, }, }, }, ), ], span: Span { start: Position { line: 142, column: 55, }, end: Position { line: 142, column: 70, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 143, column: 5, }, end: Position { line: 143, column: 13, }, }, }, ), Raw( PartRaw { content: "xwayland", span: Span { start: Position { line: 143, column: 14, }, end: Position { line: 143, column: 22, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 143, column: 23, }, end: Position { line: 143, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 143, column: 32, }, end: Position { line: 143, column: 41, }, }, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 143, column: 42, }, end: Position { line: 143, column: 46, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "xdg", span: Span { start: Position { line: 145, column: 5, }, end: Position { line: 145, column: 8, }, }, }, ), Raw( PartRaw { content: "portal", span: Span { start: Position { line: 145, column: 9, }, end: Position { line: 145, column: 15, }, }, }, ), Raw( PartRaw { content: "extraPortals", span: Span { start: Position { line: 145, column: 16, }, end: Position { line: 145, column: 28, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 145, column: 33, }, end: Position { line: 145, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "xdg-desktop-portal-wlr", span: Span { start: Position { line: 145, column: 38, }, end: Position { line: 145, column: 60, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 145, column: 31, }, end: Position { line: 145, column: 62, }, }, }, ), }, ), ], span: Span { start: Position { line: 113, column: 28, }, end: Position { line: 146, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 148, column: 3, }, end: Position { line: 148, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 148, column: 8, }, end: Position { line: 148, column: 19, }, }, }, ), ], to: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 148, column: 27, }, end: Position { line: 148, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 148, column: 31, }, end: Position { line: 148, column: 42, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ Identifier( Identifier { id: "primeos", span: Span { start: Position { line: 148, column: 46, }, end: Position { line: 148, column: 53, }, }, }, ), Identifier( Identifier { id: "colemickens", span: Span { start: Position { line: 148, column: 54, }, end: Position { line: 148, column: 65, }, }, }, ), ], span: Span { start: Position { line: 148, column: 44, }, end: Position { line: 148, column: 67, }, }, }, ), span: Span { start: Position { line: 148, column: 22, }, end: Position { line: 148, column: 67, }, }, }, ), }, ), ], span: Span { start: Position { line: 36, column: 4, }, end: Position { line: 149, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 149, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 149, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 149, column: 2, }, }, }, )