Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 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: "hardware", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 10, column: 6, }, end: Position { line: 10, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 10, column: 31, }, end: Position { line: 10, column: 41, }, }, }, ), ], span: Span { start: Position { line: 10, column: 30, }, end: Position { line: 10, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableRT73Firmware", span: Span { start: Position { line: 10, column: 44, }, end: Position { line: 10, column: 62, }, }, }, ), ], span: Span { start: Position { line: 10, column: 43, }, end: Position { line: 10, column: 63, }, }, }, ), ], span: Span { start: Position { line: 10, column: 28, }, end: Position { line: 10, column: 65, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 10, column: 69, }, end: Position { line: 10, column: 77, }, }, }, ), ], span: Span { start: Position { line: 10, column: 68, }, end: Position { line: 10, column: 78, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableRedistributableFirmware", span: Span { start: Position { line: 10, column: 80, }, end: Position { line: 10, column: 109, }, }, }, ), ], span: Span { start: Position { line: 10, column: 79, }, end: Position { line: 10, column: 110, }, }, }, ), ], span: Span { start: Position { line: 10, column: 66, }, end: Position { line: 10, column: 112, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 11, column: 6, }, end: Position { line: 11, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 11, column: 31, }, end: Position { line: 11, column: 41, }, }, }, ), ], span: Span { start: Position { line: 11, column: 30, }, end: Position { line: 11, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableIntel3945ABGFirmware", span: Span { start: Position { line: 11, column: 44, }, end: Position { line: 11, column: 70, }, }, }, ), ], span: Span { start: Position { line: 11, column: 43, }, end: Position { line: 11, column: 71, }, }, }, ), ], span: Span { start: Position { line: 11, column: 28, }, end: Position { line: 11, column: 73, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 11, column: 77, }, end: Position { line: 11, column: 85, }, }, }, ), ], span: Span { start: Position { line: 11, column: 76, }, end: Position { line: 11, column: 86, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableRedistributableFirmware", span: Span { start: Position { line: 11, column: 88, }, end: Position { line: 11, column: 117, }, }, }, ), ], span: Span { start: Position { line: 11, column: 87, }, end: Position { line: 11, column: 118, }, }, }, ), ], span: Span { start: Position { line: 11, column: 74, }, end: Position { line: 11, column: 120, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 12, column: 6, }, end: Position { line: 12, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 12, column: 31, }, end: Position { line: 12, column: 41, }, }, }, ), ], span: Span { start: Position { line: 12, column: 30, }, end: Position { line: 12, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableIntel2100BGFirmware", span: Span { start: Position { line: 12, column: 44, }, end: Position { line: 12, column: 69, }, }, }, ), ], span: Span { start: Position { line: 12, column: 43, }, end: Position { line: 12, column: 70, }, }, }, ), ], span: Span { start: Position { line: 12, column: 28, }, end: Position { line: 12, column: 72, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 12, column: 76, }, end: Position { line: 12, column: 84, }, }, }, ), ], span: Span { start: Position { line: 12, column: 75, }, end: Position { line: 12, column: 85, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableRedistributableFirmware", span: Span { start: Position { line: 12, column: 87, }, end: Position { line: 12, column: 116, }, }, }, ), ], span: Span { start: Position { line: 12, column: 86, }, end: Position { line: 12, column: 117, }, }, }, ), ], span: Span { start: Position { line: 12, column: 73, }, end: Position { line: 12, column: 119, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 13, column: 6, }, end: Position { line: 13, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 13, column: 31, }, end: Position { line: 13, column: 41, }, }, }, ), ], span: Span { start: Position { line: 13, column: 30, }, end: Position { line: 13, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableRalinkFirmware", span: Span { start: Position { line: 13, column: 44, }, end: Position { line: 13, column: 64, }, }, }, ), ], span: Span { start: Position { line: 13, column: 43, }, end: Position { line: 13, column: 65, }, }, }, ), ], span: Span { start: Position { line: 13, column: 28, }, end: Position { line: 13, column: 67, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 13, column: 71, }, end: Position { line: 13, column: 79, }, }, }, ), ], span: Span { start: Position { line: 13, column: 70, }, end: Position { line: 13, column: 80, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableRedistributableFirmware", span: Span { start: Position { line: 13, column: 82, }, end: Position { line: 13, column: 111, }, }, }, ), ], span: Span { start: Position { line: 13, column: 81, }, end: Position { line: 13, column: 112, }, }, }, ), ], span: Span { start: Position { line: 13, column: 68, }, end: Position { line: 13, column: 114, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRenamedOptionModule", span: Span { start: Position { line: 14, column: 6, }, end: Position { line: 14, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 14, column: 31, }, end: Position { line: 14, column: 41, }, }, }, ), ], span: Span { start: Position { line: 14, column: 30, }, end: Position { line: 14, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableRTL8192cFirmware", span: Span { start: Position { line: 14, column: 44, }, end: Position { line: 14, column: 66, }, }, }, ), ], span: Span { start: Position { line: 14, column: 43, }, end: Position { line: 14, column: 67, }, }, }, ), ], span: Span { start: Position { line: 14, column: 28, }, end: Position { line: 14, column: 69, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 14, column: 73, }, end: Position { line: 14, column: 81, }, }, }, ), ], span: Span { start: Position { line: 14, column: 72, }, end: Position { line: 14, column: 82, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enableRedistributableFirmware", span: Span { start: Position { line: 14, column: 84, }, end: Position { line: 14, column: 113, }, }, }, ), ], span: Span { start: Position { line: 14, column: 83, }, end: Position { line: 14, column: 114, }, }, }, ), ], span: Span { start: Position { line: 14, column: 70, }, end: Position { line: 14, column: 116, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 15, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 13, }, }, }, ), Raw( PartRaw { content: "enableAllFirmware", span: Span { start: Position { line: 21, column: 14, }, end: Position { line: 21, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 21, column: 34, }, end: Position { line: 21, column: 42, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 14, }, end: Position { line: 23, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 23, column: 20, }, end: Position { line: 23, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 21, }, end: Position { line: 24, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 24, column: 25, }, end: Position { line: 24, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Turn on this option if you want to enable all the firmware.\n", span: Span { start: Position { line: 25, column: 1, }, end: Position { line: 26, column: 7, }, }, }, ), ], span: Span { start: Position { line: 24, column: 31, }, end: Position { line: 26, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 21, column: 43, }, end: Position { line: 27, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 13, }, }, }, ), Raw( PartRaw { content: "enableRedistributableFirmware", span: Span { start: Position { line: 29, column: 14, }, end: Position { line: 29, column: 43, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 29, column: 46, }, end: Position { line: 29, column: 54, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 30, column: 17, }, end: Position { line: 30, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 30, column: 24, }, end: Position { line: 30, column: 32, }, }, }, ), Raw( PartRaw { content: "enableAllFirmware", span: Span { start: Position { line: 30, column: 33, }, end: Position { line: 30, column: 50, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 31, column: 21, }, end: Position { line: 31, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "literalExpression", span: Span { start: Position { line: 31, column: 25, }, end: Position { line: 31, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "config.hardware.enableAllFirmware", span: Span { start: Position { line: 31, column: 44, }, end: Position { line: 31, column: 77, }, }, }, ), ], span: Span { start: Position { line: 31, column: 43, }, end: Position { line: 31, column: 78, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 32, column: 14, }, end: Position { line: 32, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 32, column: 20, }, end: Position { line: 32, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 33, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 33, column: 25, }, end: Position { line: 33, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Turn on this option if you want to enable all the firmware with a license allowing redistribution.\n", span: Span { start: Position { line: 34, column: 1, }, end: Position { line: 35, column: 7, }, }, }, ), ], span: Span { start: Position { line: 33, column: 31, }, end: Position { line: 35, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 55, }, end: Position { line: 36, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 38, column: 13, }, }, }, ), Raw( PartRaw { content: "wirelessRegulatoryDatabase", span: Span { start: Position { line: 38, column: 14, }, end: Position { line: 38, column: 40, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 38, column: 43, }, end: Position { line: 38, column: 51, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 39, column: 17, }, end: Position { line: 39, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 40, column: 14, }, end: Position { line: 40, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 40, column: 20, }, end: Position { line: 40, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 41, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 41, column: 25, }, end: Position { line: 41, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Load the wireless regulatory database at boot.\n", span: Span { start: Position { line: 42, column: 1, }, end: Position { line: 43, column: 7, }, }, }, ), ], span: Span { start: Position { line: 41, column: 31, }, end: Position { line: 43, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 38, column: 52, }, end: Position { line: 44, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 13, }, end: Position { line: 46, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 51, column: 3, }, end: Position { line: 51, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 51, column: 12, }, end: Position { line: 51, column: 19, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 52, column: 6, }, end: Position { line: 52, column: 10, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 52, column: 12, }, end: Position { line: 52, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableAllFirmware", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 33, }, }, }, ), ], default: None, }, ), operator: LogicalOr, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 52, column: 37, }, end: Position { line: 52, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableRedistributableFirmware", span: Span { start: Position { line: 52, column: 41, }, end: Position { line: 52, column: 70, }, }, }, ), ], default: None, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 15, }, }, }, ), Raw( PartRaw { content: "firmware", span: Span { start: Position { line: 53, column: 16, }, end: Position { line: 53, column: 24, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 53, column: 32, }, end: Position { line: 53, column: 36, }, }, }, ), target: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "linux-firmware", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 23, }, }, }, ), Identifier( Identifier { id: "intel2200BGFirmware", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 28, }, }, }, ), Identifier( Identifier { id: "rtl8192su-firmware", span: Span { start: Position { line: 56, column: 9, }, end: Position { line: 56, column: 27, }, }, }, ), Identifier( Identifier { id: "rt5677-firmware", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 24, }, }, }, ), Identifier( Identifier { id: "rtl8723bs-firmware", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 27, }, }, }, ), Identifier( Identifier { id: "rtl8761b-firmware", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 26, }, }, }, ), Identifier( Identifier { id: "rtw88-firmware", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 23, }, }, }, ), Identifier( Identifier { id: "zd1211fw", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 17, }, }, }, ), Identifier( Identifier { id: "alsa-firmware", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 22, }, }, }, ), Identifier( Identifier { id: "sof-firmware", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 21, }, }, }, ), Identifier( Identifier { id: "libreelec-dvb-firmware", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 31, }, }, }, ), ], span: Span { start: Position { line: 53, column: 38, }, end: Position { line: 65, column: 8, }, }, }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 65, column: 12, }, end: Position { line: 65, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 65, column: 21, }, end: Position { line: 65, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 65, column: 26, }, end: Position { line: 65, column: 32, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 65, column: 33, }, end: Position { line: 65, column: 45, }, }, }, ), Raw( PartRaw { content: "isAarch", span: Span { start: Position { line: 65, column: 46, }, end: Position { line: 65, column: 53, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "raspberrypiWirelessFirmware", span: Span { start: Position { line: 65, column: 54, }, end: Position { line: 65, column: 81, }, }, }, ), ], }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionals", span: Span { start: Position { line: 66, column: 12, }, end: Position { line: 66, column: 21, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionOlder", span: Span { start: Position { line: 66, column: 23, }, end: Position { line: 66, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 66, column: 36, }, end: Position { line: 66, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 66, column: 43, }, end: Position { line: 66, column: 47, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 66, column: 48, }, end: Position { line: 66, column: 62, }, }, }, ), Raw( PartRaw { content: "kernel", span: Span { start: Position { line: 66, column: 63, }, end: Position { line: 66, column: 69, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 66, column: 70, }, end: Position { line: 66, column: 77, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "4.13", span: Span { start: Position { line: 66, column: 79, }, end: Position { line: 66, column: 83, }, }, }, ), ], span: Span { start: Position { line: 66, column: 78, }, end: Position { line: 66, column: 84, }, }, }, ), ], }, ), List( List { elements: [ Identifier( Identifier { id: "rtl8723bs-firmware", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 27, }, }, }, ), ], span: Span { start: Position { line: 66, column: 86, }, end: Position { line: 68, column: 8, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionals", span: Span { start: Position { line: 68, column: 12, }, end: Position { line: 68, column: 21, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionOlder", span: Span { start: Position { line: 68, column: 23, }, end: Position { line: 68, column: 35, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 68, column: 36, }, end: Position { line: 68, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 68, column: 43, }, end: Position { line: 68, column: 47, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 68, column: 48, }, end: Position { line: 68, column: 62, }, }, }, ), Raw( PartRaw { content: "kernel", span: Span { start: Position { line: 68, column: 63, }, end: Position { line: 68, column: 69, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 68, column: 70, }, end: Position { line: 68, column: 77, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "5.16", span: Span { start: Position { line: 68, column: 79, }, end: Position { line: 68, column: 83, }, }, }, ), ], span: Span { start: Position { line: 68, column: 78, }, end: Position { line: 68, column: 84, }, }, }, ), ], }, ), List( List { elements: [ Identifier( Identifier { id: "rtw89-firmware", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 23, }, }, }, ), ], span: Span { start: Position { line: 68, column: 86, }, end: Position { line: 70, column: 8, }, }, }, ), ], }, ), }, ), }, ), }, ), span: Span { start: Position { line: 53, column: 27, }, end: Position { line: 70, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 71, column: 7, }, end: Position { line: 71, column: 15, }, }, }, ), Raw( PartRaw { content: "wirelessRegulatoryDatabase", span: Span { start: Position { line: 71, column: 16, }, end: Position { line: 71, column: 42, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 71, column: 45, }, end: Position { line: 71, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 52, column: 72, }, end: Position { line: 72, column: 6, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 73, column: 6, }, end: Position { line: 73, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 73, column: 11, }, end: Position { line: 73, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableAllFirmware", span: Span { start: Position { line: 73, column: 15, }, end: Position { line: 73, column: 32, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 74, column: 7, }, end: Position { line: 74, column: 17, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: UnaryOperation( UnaryOperation { operator: Not, operand: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 75, column: 22, }, end: Position { line: 75, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableAllFirmware", span: Span { start: Position { line: 75, column: 26, }, end: Position { line: 75, column: 43, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 75, column: 43, }, }, }, ), operator: LogicalOr, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 75, column: 47, }, end: Position { line: 75, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 75, column: 54, }, end: Position { line: 75, column: 61, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 75, column: 62, }, end: Position { line: 75, column: 68, }, }, }, ), Raw( PartRaw { content: "allowUnfree", span: Span { start: Position { line: 75, column: 69, }, end: Position { line: 75, column: 80, }, }, }, ), ], default: None, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 76, column: 9, }, end: Position { line: 76, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "the list of hardware.enableAllFirmware contains non-redistributable licensed firmware files.\n This requires nixpkgs.config.allowUnfree to be true.\n An alternative is to use the hardware.enableRedistributableFirmware option.\n", span: Span { start: Position { line: 77, column: 1, }, end: Position { line: 80, column: 9, }, }, }, ), ], span: Span { start: Position { line: 76, column: 19, }, end: Position { line: 80, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 74, column: 21, }, end: Position { line: 81, column: 8, }, }, }, ), ], span: Span { start: Position { line: 74, column: 20, }, end: Position { line: 81, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 82, column: 7, }, end: Position { line: 82, column: 15, }, }, }, ), Raw( PartRaw { content: "firmware", span: Span { start: Position { line: 82, column: 16, }, end: Position { line: 82, column: 24, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 82, column: 32, }, end: Position { line: 82, column: 36, }, }, }, ), target: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "broadcom-bt-firmware", span: Span { start: Position { line: 83, column: 9, }, end: Position { line: 83, column: 29, }, }, }, ), Identifier( Identifier { id: "b43Firmware_5_1_138", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 28, }, }, }, ), Identifier( Identifier { id: "b43Firmware_6_30_163_46", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 32, }, }, }, ), Identifier( Identifier { id: "xow_dongle-firmware", span: Span { start: Position { line: 86, column: 9, }, end: Position { line: 86, column: 28, }, }, }, ), ], span: Span { start: Position { line: 82, column: 38, }, end: Position { line: 87, column: 8, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionals", span: Span { start: Position { line: 87, column: 12, }, end: Position { line: 87, column: 21, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 87, column: 22, }, end: Position { line: 87, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 87, column: 27, }, end: Position { line: 87, column: 33, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 87, column: 34, }, end: Position { line: 87, column: 46, }, }, }, ), Raw( PartRaw { content: "isx86", span: Span { start: Position { line: 87, column: 47, }, end: Position { line: 87, column: 52, }, }, }, ), ], default: None, }, ), List( List { elements: [ Identifier( Identifier { id: "facetimehd-calibration", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 31, }, }, }, ), Identifier( Identifier { id: "facetimehd-firmware", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 28, }, }, }, ), ], span: Span { start: Position { line: 87, column: 53, }, end: Position { line: 90, column: 8, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 82, column: 27, }, end: Position { line: 90, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 73, column: 33, }, end: Position { line: 91, column: 6, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 92, column: 6, }, end: Position { line: 92, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 92, column: 11, }, end: Position { line: 92, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "wirelessRegulatoryDatabase", span: Span { start: Position { line: 92, column: 15, }, end: Position { line: 92, column: 41, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 93, column: 7, }, end: Position { line: 93, column: 15, }, }, }, ), Raw( PartRaw { content: "firmware", span: Span { start: Position { line: 93, column: 16, }, end: Position { line: 93, column: 24, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 93, column: 29, }, end: Position { line: 93, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "wireless-regdb", span: Span { start: Position { line: 93, column: 34, }, end: Position { line: 93, column: 48, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 93, column: 27, }, end: Position { line: 93, column: 50, }, }, }, ), }, ), ], span: Span { start: Position { line: 92, column: 42, }, end: Position { line: 94, column: 6, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 51, column: 20, }, end: Position { line: 95, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 4, }, end: Position { line: 96, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 96, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 96, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 96, column: 2, }, }, }, )