Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 13, }, }, }, ), Raw( PartRaw { content: "sensor", span: Span { start: Position { line: 9, column: 14, }, end: Position { line: 9, column: 20, }, }, }, ), Raw( PartRaw { content: "iio", span: Span { start: Position { line: 9, column: 21, }, end: Position { line: 9, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 10, column: 16, }, end: Position { line: 10, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 11, column: 23, }, end: Position { line: 11, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 11, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable this option to support IIO sensors with iio-sensor-proxy.\n\nIIO sensors are used for orientation and ambient light\nsensors on some mobile devices.\n", span: Span { start: Position { line: 12, column: 1, }, end: Position { line: 16, column: 9, }, }, }, ), ], span: Span { start: Position { line: 11, column: 33, }, end: Position { line: 16, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 16, }, end: Position { line: 17, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 17, column: 22, }, end: Position { line: 17, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 18, column: 19, }, end: Position { line: 18, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 10, column: 25, }, end: Position { line: 19, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 27, }, end: Position { line: 20, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 13, }, end: Position { line: 21, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 25, column: 12, }, end: Position { line: 25, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 25, column: 17, }, end: Position { line: 25, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 25, column: 24, }, end: Position { line: 25, column: 32, }, }, }, ), Raw( PartRaw { content: "sensor", span: Span { start: Position { line: 25, column: 33, }, end: Position { line: 25, column: 39, }, }, }, ), Raw( PartRaw { content: "iio", span: Span { start: Position { line: 25, column: 40, }, end: Position { line: 25, column: 43, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 25, column: 44, }, end: Position { line: 25, column: 50, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 9, }, }, }, ), Raw( PartRaw { content: "initrd", span: Span { start: Position { line: 27, column: 10, }, end: Position { line: 27, column: 16, }, }, }, ), Raw( PartRaw { content: "availableKernelModules", span: Span { start: Position { line: 27, column: 17, }, end: Position { line: 27, column: 39, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hid-sensor-hub", span: Span { start: Position { line: 27, column: 45, }, end: Position { line: 27, column: 59, }, }, }, ), ], span: Span { start: Position { line: 27, column: 44, }, end: Position { line: 27, column: 60, }, }, }, ), ], span: Span { start: Position { line: 27, column: 42, }, end: Position { line: 27, column: 62, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 29, column: 17, }, end: Position { line: 29, column: 31, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 29, column: 39, }, end: Position { line: 29, column: 43, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "iio-sensor-proxy", span: Span { start: Position { line: 29, column: 47, }, end: Position { line: 29, column: 63, }, }, }, ), ], span: Span { start: Position { line: 29, column: 45, }, end: Position { line: 29, column: 65, }, }, }, ), span: Span { start: Position { line: 29, column: 34, }, end: Position { line: 29, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 13, }, }, }, ), Raw( PartRaw { content: "dbus", span: Span { start: Position { line: 31, column: 14, }, end: Position { line: 31, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 31, column: 19, }, end: Position { line: 31, column: 27, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 31, column: 35, }, end: Position { line: 31, column: 39, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "iio-sensor-proxy", span: Span { start: Position { line: 31, column: 43, }, end: Position { line: 31, column: 59, }, }, }, ), ], span: Span { start: Position { line: 31, column: 41, }, end: Position { line: 31, column: 61, }, }, }, ), span: Span { start: Position { line: 31, column: 30, }, end: Position { line: 31, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 13, }, }, }, ), Raw( PartRaw { content: "udev", span: Span { start: Position { line: 32, column: 14, }, end: Position { line: 32, column: 18, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 32, column: 19, }, end: Position { line: 32, column: 27, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 32, column: 35, }, end: Position { line: 32, column: 39, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "iio-sensor-proxy", span: Span { start: Position { line: 32, column: 43, }, end: Position { line: 32, column: 59, }, }, }, ), ], span: Span { start: Position { line: 32, column: 41, }, end: Position { line: 32, column: 61, }, }, }, ), span: Span { start: Position { line: 32, column: 30, }, end: Position { line: 32, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 12, }, }, }, ), Raw( PartRaw { content: "packages", span: Span { start: Position { line: 33, column: 13, }, end: Position { line: 33, column: 21, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 33, column: 29, }, end: Position { line: 33, column: 33, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "iio-sensor-proxy", span: Span { start: Position { line: 33, column: 37, }, end: Position { line: 33, column: 53, }, }, }, ), ], span: Span { start: Position { line: 33, column: 35, }, end: Position { line: 33, column: 55, }, }, }, ), span: Span { start: Position { line: 33, column: 24, }, end: Position { line: 33, column: 55, }, }, }, ), }, ), ], span: Span { start: Position { line: 25, column: 51, }, end: Position { line: 34, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 35, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 35, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 35, column: 2, }, }, }, )