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: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "convType", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 8, column: 19, }, end: Position { line: 8, column: 27, }, }, }, ), target: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isBool", span: Span { start: Position { line: 9, column: 11, }, end: Position { line: 9, column: 17, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 9, column: 18, }, end: Position { line: 9, column: 19, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "boolToString", span: Span { start: Position { line: 9, column: 25, }, end: Position { line: 9, column: 37, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 9, column: 38, }, end: Position { line: 9, column: 39, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 9, column: 45, }, end: Position { line: 9, column: 53, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 9, column: 54, }, end: Position { line: 9, column: 55, }, }, }, ), ], }, ), span: Span { start: Position { line: 9, column: 8, }, end: Position { line: 9, column: 55, }, }, }, ), span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 55, }, }, }, ), span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 9, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergedHwConfig", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 19, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 11, column: 29, }, end: Position { line: 11, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 11, column: 32, }, end: Position { line: 11, column: 33, }, }, }, ), }, ), Raw( PartRaw { content: "\": \"", span: Span { start: Position { line: 11, column: 29, }, end: Position { line: 11, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 11, column: 41, }, end: Position { line: 11, column: 57, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 11, column: 59, }, end: Position { line: 11, column: 60, }, }, }, ), ], span: Span { start: Position { line: 11, column: 58, }, end: Position { line: 11, column: 61, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 11, column: 63, }, end: Position { line: 11, column: 66, }, }, }, ), arguments: [ Identifier( Identifier { id: "convType", span: Span { start: Position { line: 11, column: 67, }, end: Position { line: 11, column: 75, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 11, column: 76, }, end: Position { line: 11, column: 77, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 11, column: 29, }, end: Position { line: 11, column: 81, }, }, }, ), ], span: Span { start: Position { line: 11, column: 27, }, end: Position { line: 11, column: 83, }, }, }, ), span: Span { start: Position { line: 11, column: 24, }, end: Position { line: 11, column: 83, }, }, }, ), span: Span { start: Position { line: 11, column: 21, }, end: Position { line: 11, column: 83, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "foldAttrs", span: Span { start: Position { line: 12, column: 8, }, end: Position { line: 12, column: 17, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: BinaryOperation( BinaryOperation { left: List( List { elements: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 12, column: 26, }, end: Position { line: 12, column: 27, }, }, }, ), ], span: Span { start: Position { line: 12, column: 25, }, end: Position { line: 12, column: 28, }, }, }, ), operator: Concatenation, right: Identifier( Identifier { id: "a", span: Span { start: Position { line: 12, column: 32, }, end: Position { line: 12, column: 33, }, }, }, ), }, ), span: Span { start: Position { line: 12, column: 22, }, end: Position { line: 12, column: 33, }, }, }, ), span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 12, column: 33, }, }, }, ), List( List { elements: [], span: Span { start: Position { line: 12, column: 35, }, end: Position { line: 12, column: 37, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 38, }, end: Position { line: 12, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 12, column: 42, }, end: Position { line: 12, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergedConfig", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 13, column: 23, }, end: Position { line: 13, column: 31, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 19, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 14, column: 29, }, end: Position { line: 14, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "n", span: Span { start: Position { line: 14, column: 32, }, end: Position { line: 14, column: 33, }, }, }, ), }, ), Raw( PartRaw { content: "\": ", span: Span { start: Position { line: 14, column: 29, }, end: Position { line: 14, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isBool", span: Span { start: Position { line: 14, column: 43, }, end: Position { line: 14, column: 49, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 14, column: 50, }, end: Position { line: 14, column: 51, }, }, }, ), ], }, ), then: String( String_ { parts: [], span: Span { start: Position { line: 14, column: 57, }, end: Position { line: 14, column: 59, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 14, column: 67, }, end: Position { line: 14, column: 68, }, }, }, ), ], span: Span { start: Position { line: 14, column: 65, }, end: Position { line: 14, column: 70, }, }, }, ), span: Span { start: Position { line: 14, column: 40, }, end: Position { line: 14, column: 70, }, }, }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "convType", span: Span { start: Position { line: 14, column: 73, }, end: Position { line: 14, column: 81, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 14, column: 82, }, end: Position { line: 14, column: 83, }, }, }, ), ], }, ), }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isBool", span: Span { start: Position { line: 14, column: 89, }, end: Position { line: 14, column: 95, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 14, column: 96, }, end: Position { line: 14, column: 97, }, }, }, ), ], }, ), then: String( String_ { parts: [], span: Span { start: Position { line: 14, column: 103, }, end: Position { line: 14, column: 105, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 14, column: 113, }, end: Position { line: 14, column: 114, }, }, }, ), ], span: Span { start: Position { line: 14, column: 111, }, end: Position { line: 14, column: 116, }, }, }, ), span: Span { start: Position { line: 14, column: 86, }, end: Position { line: 14, column: 116, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 27, }, end: Position { line: 14, column: 119, }, }, }, ), span: Span { start: Position { line: 14, column: 24, }, end: Position { line: 14, column: 119, }, }, }, ), span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 14, column: 119, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 15, column: 11, }, end: Position { line: 15, column: 17, }, }, }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 13, column: 18, }, end: Position { line: 15, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cgminerConfig", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 17, column: 19, }, end: Position { line: 17, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 17, column: 24, }, end: Position { line: 17, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "cgminer.conf", span: Span { start: Position { line: 17, column: 35, }, end: Position { line: 17, column: 47, }, }, }, ), ], span: Span { start: Position { line: 17, column: 34, }, end: Position { line: 17, column: 48, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 19, column: 3, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 21, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",\n", span: Span { start: Position { line: 19, column: 23, }, end: Position { line: 19, column: 26, }, }, }, ), ], span: Span { start: Position { line: 19, column: 22, }, end: Position { line: 19, column: 27, }, }, }, ), Identifier( Identifier { id: "mergedHwConfig", span: Span { start: Position { line: 19, column: 28, }, end: Position { line: 19, column: 42, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ",\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 20, column: 3, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 21, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",\n", span: Span { start: Position { line: 20, column: 23, }, end: Position { line: 20, column: 26, }, }, }, ), ], span: Span { start: Position { line: 20, column: 22, }, end: Position { line: 20, column: 27, }, }, }, ), Identifier( Identifier { id: "mergedConfig", span: Span { start: Position { line: 20, column: 28, }, end: Position { line: 20, column: 40, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: ",\n\"pools\": [\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 22, column: 3, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 21, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",\n", span: Span { start: Position { line: 22, column: 23, }, end: Position { line: 22, column: 26, }, }, }, ), ], span: Span { start: Position { line: 22, column: 22, }, end: Position { line: 22, column: 27, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 23, column: 6, }, end: Position { line: 23, column: 9, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\"url\": \"", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 23, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "url", span: Span { start: Position { line: 23, column: 29, }, end: Position { line: 23, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\", \"user\": \"", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 23, column: 47, }, end: Position { line: 23, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 23, column: 49, }, end: Position { line: 23, column: 53, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\", \"pass\": \"", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 66, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 23, column: 68, }, end: Position { line: 23, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pass", span: Span { start: Position { line: 23, column: 70, }, end: Position { line: 23, column: 74, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\"}", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 77, }, }, }, ), ], span: Span { start: Position { line: 23, column: 14, }, end: Position { line: 23, column: 79, }, }, }, ), span: Span { start: Position { line: 23, column: 11, }, end: Position { line: 23, column: 79, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 24, column: 11, }, end: Position { line: 24, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pools", span: Span { start: Position { line: 24, column: 15, }, end: Position { line: 24, column: 20, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "]\n}\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 26, column: 3, }, }, }, ), ], span: Span { start: Position { line: 17, column: 49, }, end: Position { line: 26, column: 5, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 13, }, }, }, ), Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 32, column: 14, }, end: Position { line: 32, column: 21, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 34, column: 16, }, end: Position { line: 34, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 32, }, end: Position { line: 34, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 34, column: 36, }, end: Position { line: 34, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "cgminer, an ASIC/FPGA/GPU miner for bitcoin and litecoin", span: Span { start: Position { line: 34, column: 43, }, end: Position { line: 34, column: 99, }, }, }, ), ], span: Span { start: Position { line: 34, column: 42, }, end: Position { line: 34, column: 100, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 36, column: 17, }, end: Position { line: 36, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 37, column: 19, }, end: Position { line: 37, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 37, column: 24, }, end: Position { line: 37, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 38, column: 23, }, end: Position { line: 38, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.cgminer", span: Span { start: Position { line: 38, column: 42, }, end: Position { line: 38, column: 54, }, }, }, ), ], span: Span { start: Position { line: 38, column: 41, }, end: Position { line: 38, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 39, column: 9, }, end: Position { line: 39, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 39, column: 23, }, end: Position { line: 39, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 39, column: 27, }, end: Position { line: 39, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Which cgminer derivation to use.", span: Span { start: Position { line: 39, column: 34, }, end: Position { line: 39, column: 66, }, }, }, ), ], span: Span { start: Position { line: 39, column: 33, }, end: Position { line: 39, column: 67, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 40, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 40, column: 22, }, end: Position { line: 40, column: 29, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 36, column: 26, }, end: Position { line: 41, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 43, column: 14, }, end: Position { line: 43, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 44, column: 9, }, end: Position { line: 44, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 44, column: 16, }, end: Position { line: 44, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 44, column: 22, }, end: Position { line: 44, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 45, column: 9, }, end: Position { line: 45, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 45, column: 20, }, end: Position { line: 45, column: 27, }, }, }, ), ], span: Span { start: Position { line: 45, column: 19, }, end: Position { line: 45, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 46, column: 23, }, end: Position { line: 46, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 46, column: 27, }, end: Position { line: 46, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "User account under which cgminer runs", span: Span { start: Position { line: 46, column: 34, }, end: Position { line: 46, column: 71, }, }, }, ), ], span: Span { start: Position { line: 46, column: 33, }, end: Position { line: 46, column: 72, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 43, column: 23, }, end: Position { line: 47, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pools", span: Span { start: Position { line: 49, column: 7, }, end: Position { line: 49, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 49, column: 15, }, end: Position { line: 49, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 50, column: 9, }, end: Position { line: 50, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 50, column: 19, }, end: Position { line: 50, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 51, column: 16, }, end: Position { line: 51, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 51, column: 22, }, end: Position { line: 51, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 51, column: 30, }, end: Position { line: 51, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 51, column: 36, }, end: Position { line: 51, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 51, column: 44, }, end: Position { line: 51, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 51, column: 50, }, end: Position { line: 51, column: 53, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 52, column: 23, }, end: Position { line: 52, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 52, column: 27, }, end: Position { line: 52, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of pools where to mine", span: Span { start: Position { line: 52, column: 34, }, end: Position { line: 52, column: 61, }, }, }, ), ], span: Span { start: Position { line: 52, column: 33, }, end: Position { line: 52, column: 62, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 16, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "url", span: Span { start: Position { line: 54, column: 11, }, end: Position { line: 54, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "http://p2pool.org:9332", span: Span { start: Position { line: 54, column: 18, }, end: Position { line: 54, column: 40, }, }, }, ), ], span: Span { start: Position { line: 54, column: 17, }, end: Position { line: 54, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "username", span: Span { start: Position { line: 55, column: 11, }, end: Position { line: 55, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "17EUZxTvs9uRmPsjPZSYUU3zCz9iwstudk", span: Span { start: Position { line: 55, column: 23, }, end: Position { line: 55, column: 57, }, }, }, ), ], span: Span { start: Position { line: 55, column: 22, }, end: Position { line: 55, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "password", span: Span { start: Position { line: 56, column: 11, }, end: Position { line: 56, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "X", span: Span { start: Position { line: 56, column: 21, }, end: Position { line: 56, column: 22, }, }, }, ), ], span: Span { start: Position { line: 56, column: 20, }, end: Position { line: 56, column: 23, }, }, }, ), }, ), ], span: Span { start: Position { line: 53, column: 20, }, end: Position { line: 57, column: 10, }, }, }, ), ], span: Span { start: Position { line: 53, column: 19, }, end: Position { line: 57, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 49, column: 24, }, end: Position { line: 58, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hardware", span: Span { start: Position { line: 60, column: 7, }, end: Position { line: 60, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 18, }, end: Position { line: 60, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 61, column: 19, }, end: Position { line: 61, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 16, }, end: Position { line: 62, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 62, column: 22, }, end: Position { line: 62, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 30, }, end: Position { line: 62, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 62, column: 36, }, end: Position { line: 62, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 45, }, end: Position { line: 62, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "either", span: Span { start: Position { line: 62, column: 51, }, end: Position { line: 62, column: 57, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 58, }, end: Position { line: 62, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 62, column: 64, }, end: Position { line: 62, column: 67, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 62, column: 68, }, end: Position { line: 62, column: 73, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 62, column: 74, }, end: Position { line: 62, column: 77, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 63, column: 22, }, end: Position { line: 63, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 63, column: 26, }, end: Position { line: 63, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of config options for every GPU", span: Span { start: Position { line: 63, column: 33, }, end: Position { line: 63, column: 69, }, }, }, ), ], span: Span { start: Position { line: 63, column: 32, }, end: Position { line: 63, column: 70, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 16, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "intensity", span: Span { start: Position { line: 66, column: 11, }, end: Position { line: 66, column: 20, }, }, }, ), ], to: Integer( Integer { value: "9", span: Span { start: Position { line: 66, column: 23, }, end: Position { line: 66, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-engine", span: Span { start: Position { line: 67, column: 11, }, end: Position { line: 67, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0-985", span: Span { start: Position { line: 67, column: 25, }, end: Position { line: 67, column: 30, }, }, }, ), ], span: Span { start: Position { line: 67, column: 24, }, end: Position { line: 67, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-fan", span: Span { start: Position { line: 68, column: 11, }, end: Position { line: 68, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0-85", span: Span { start: Position { line: 68, column: 22, }, end: Position { line: 68, column: 26, }, }, }, ), ], span: Span { start: Position { line: 68, column: 21, }, end: Position { line: 68, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-memclock", span: Span { start: Position { line: 69, column: 11, }, end: Position { line: 69, column: 23, }, }, }, ), ], to: Integer( Integer { value: "860", span: Span { start: Position { line: 69, column: 26, }, end: Position { line: 69, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-powertune", span: Span { start: Position { line: 70, column: 11, }, end: Position { line: 70, column: 24, }, }, }, ), ], to: Integer( Integer { value: "20", span: Span { start: Position { line: 70, column: 27, }, end: Position { line: 70, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "temp-cutoff", span: Span { start: Position { line: 71, column: 11, }, end: Position { line: 71, column: 22, }, }, }, ), ], to: Integer( Integer { value: "95", span: Span { start: Position { line: 71, column: 25, }, end: Position { line: 71, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "temp-overheat", span: Span { start: Position { line: 72, column: 11, }, end: Position { line: 72, column: 24, }, }, }, ), ], to: Integer( Integer { value: "85", span: Span { start: Position { line: 72, column: 27, }, end: Position { line: 72, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "temp-target", span: Span { start: Position { line: 73, column: 11, }, end: Position { line: 73, column: 22, }, }, }, ), ], to: Integer( Integer { value: "75", span: Span { start: Position { line: 73, column: 25, }, end: Position { line: 73, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 74, column: 10, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "intensity", span: Span { start: Position { line: 76, column: 11, }, end: Position { line: 76, column: 20, }, }, }, ), ], to: Integer( Integer { value: "9", span: Span { start: Position { line: 76, column: 23, }, end: Position { line: 76, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-engine", span: Span { start: Position { line: 77, column: 11, }, end: Position { line: 77, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0-950", span: Span { start: Position { line: 77, column: 25, }, end: Position { line: 77, column: 30, }, }, }, ), ], span: Span { start: Position { line: 77, column: 24, }, end: Position { line: 77, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-fan", span: Span { start: Position { line: 78, column: 11, }, end: Position { line: 78, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0-85", span: Span { start: Position { line: 78, column: 22, }, end: Position { line: 78, column: 26, }, }, }, ), ], span: Span { start: Position { line: 78, column: 21, }, end: Position { line: 78, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-memclock", span: Span { start: Position { line: 79, column: 11, }, end: Position { line: 79, column: 23, }, }, }, ), ], to: Integer( Integer { value: "825", span: Span { start: Position { line: 79, column: 26, }, end: Position { line: 79, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-powertune", span: Span { start: Position { line: 80, column: 11, }, end: Position { line: 80, column: 24, }, }, }, ), ], to: Integer( Integer { value: "20", span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 80, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "temp-cutoff", span: Span { start: Position { line: 81, column: 11, }, end: Position { line: 81, column: 22, }, }, }, ), ], to: Integer( Integer { value: "95", span: Span { start: Position { line: 81, column: 25, }, end: Position { line: 81, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "temp-overheat", span: Span { start: Position { line: 82, column: 11, }, end: Position { line: 82, column: 24, }, }, }, ), ], to: Integer( Integer { value: "85", span: Span { start: Position { line: 82, column: 27, }, end: Position { line: 82, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "temp-target", span: Span { start: Position { line: 83, column: 11, }, end: Position { line: 83, column: 22, }, }, }, ), ], to: Integer( Integer { value: "75", span: Span { start: Position { line: 83, column: 25, }, end: Position { line: 83, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 84, column: 10, }, }, }, ), ], span: Span { start: Position { line: 64, column: 19, }, end: Position { line: 84, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 60, column: 27, }, end: Position { line: 85, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 87, column: 16, }, end: Position { line: 87, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 88, column: 19, }, end: Position { line: 88, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 89, column: 16, }, end: Position { line: 89, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 89, column: 22, }, end: Position { line: 89, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 89, column: 31, }, end: Position { line: 89, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "either", span: Span { start: Position { line: 89, column: 37, }, end: Position { line: 89, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 89, column: 44, }, end: Position { line: 89, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 89, column: 50, }, end: Position { line: 89, column: 54, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 89, column: 55, }, end: Position { line: 89, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 89, column: 61, }, end: Position { line: 89, column: 64, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 90, column: 23, }, end: Position { line: 90, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 90, column: 27, }, end: Position { line: 90, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Additional config", span: Span { start: Position { line: 90, column: 34, }, end: Position { line: 90, column: 51, }, }, }, ), ], span: Span { start: Position { line: 90, column: 33, }, end: Position { line: 90, column: 52, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "auto-fan", span: Span { start: Position { line: 92, column: 11, }, end: Position { line: 92, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 92, column: 22, }, end: Position { line: 92, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "auto-gpu", span: Span { start: Position { line: 93, column: 11, }, end: Position { line: 93, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 93, column: 22, }, end: Position { line: 93, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "expiry", span: Span { start: Position { line: 94, column: 11, }, end: Position { line: 94, column: 17, }, }, }, ), ], to: Integer( Integer { value: "120", span: Span { start: Position { line: 94, column: 20, }, end: Position { line: 94, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "failover-only", span: Span { start: Position { line: 95, column: 11, }, end: Position { line: 95, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 95, column: 27, }, end: Position { line: 95, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gpu-threads", span: Span { start: Position { line: 96, column: 11, }, end: Position { line: 96, column: 22, }, }, }, ), ], to: Integer( Integer { value: "2", span: Span { start: Position { line: 96, column: 25, }, end: Position { line: 96, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "log", span: Span { start: Position { line: 97, column: 11, }, end: Position { line: 97, column: 14, }, }, }, ), ], to: Integer( Integer { value: "5", span: Span { start: Position { line: 97, column: 17, }, end: Position { line: 97, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "queue", span: Span { start: Position { line: 98, column: 11, }, end: Position { line: 98, column: 16, }, }, }, ), ], to: Integer( Integer { value: "1", span: Span { start: Position { line: 98, column: 19, }, end: Position { line: 98, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "scan-time", span: Span { start: Position { line: 99, column: 11, }, end: Position { line: 99, column: 20, }, }, }, ), ], to: Integer( Integer { value: "60", span: Span { start: Position { line: 99, column: 23, }, end: Position { line: 99, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "temp-histeresys", span: Span { start: Position { line: 100, column: 11, }, end: Position { line: 100, column: 26, }, }, }, ), ], to: Integer( Integer { value: "3", span: Span { start: Position { line: 100, column: 29, }, end: Position { line: 100, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 91, column: 19, }, end: Position { line: 101, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 87, column: 25, }, end: Position { line: 102, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 32, column: 24, }, end: Position { line: 103, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 13, }, end: Position { line: 104, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 109, column: 3, }, end: Position { line: 109, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 109, column: 12, }, end: Position { line: 109, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 109, column: 17, }, end: Position { line: 109, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 109, column: 24, }, end: Position { line: 109, column: 32, }, }, }, ), Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 109, column: 33, }, end: Position { line: 109, column: 40, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 109, column: 41, }, end: Position { line: 109, column: 47, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 111, column: 5, }, end: Position { line: 111, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 111, column: 11, }, end: Position { line: 111, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 111, column: 19, }, end: Position { line: 111, column: 32, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 111, column: 34, }, end: Position { line: 111, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 111, column: 38, }, end: Position { line: 111, column: 42, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 111, column: 47, }, end: Position { line: 111, column: 54, }, }, }, ), ], span: Span { start: Position { line: 111, column: 46, }, end: Position { line: 111, column: 55, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 113, column: 9, }, end: Position { line: 113, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 113, column: 24, }, end: Position { line: 113, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 114, column: 9, }, end: Position { line: 114, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 114, column: 18, }, end: Position { line: 114, column: 25, }, }, }, ), ], span: Span { start: Position { line: 114, column: 17, }, end: Position { line: 114, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 115, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Cgminer user", span: Span { start: Position { line: 115, column: 24, }, end: Position { line: 115, column: 36, }, }, }, ), ], span: Span { start: Position { line: 115, column: 23, }, end: Position { line: 115, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 112, column: 17, }, end: Position { line: 116, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 111, column: 57, }, end: Position { line: 117, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 118, column: 5, }, end: Position { line: 118, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 118, column: 11, }, end: Position { line: 118, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 118, column: 20, }, end: Position { line: 118, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 118, column: 35, }, end: Position { line: 118, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 118, column: 39, }, end: Position { line: 118, column: 43, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 118, column: 48, }, end: Position { line: 118, column: 55, }, }, }, ), ], span: Span { start: Position { line: 118, column: 47, }, end: Position { line: 118, column: 56, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 119, column: 7, }, end: Position { line: 119, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 119, column: 17, }, end: Position { line: 119, column: 19, }, }, }, ), }, ), ], span: Span { start: Position { line: 118, column: 58, }, end: Position { line: 120, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 122, column: 5, }, end: Position { line: 122, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 122, column: 17, }, end: Position { line: 122, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 122, column: 36, }, end: Position { line: 122, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 122, column: 40, }, end: Position { line: 122, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 122, column: 34, }, end: Position { line: 122, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 124, column: 5, }, end: Position { line: 124, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 124, column: 13, }, end: Position { line: 124, column: 21, }, }, }, ), Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 124, column: 22, }, end: Position { line: 124, column: 29, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 125, column: 7, }, end: Position { line: 125, column: 11, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 125, column: 16, }, end: Position { line: 125, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 125, column: 21, }, end: Position { line: 125, column: 28, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 125, column: 14, }, end: Position { line: 125, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 127, column: 7, }, end: Position { line: 127, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 127, column: 18, }, end: Position { line: 127, column: 32, }, }, }, ), ], span: Span { start: Position { line: 127, column: 17, }, end: Position { line: 127, column: 33, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "display-manager.service", span: Span { start: Position { line: 127, column: 35, }, end: Position { line: 127, column: 58, }, }, }, ), ], span: Span { start: Position { line: 127, column: 34, }, end: Position { line: 127, column: 59, }, }, }, ), ], span: Span { start: Position { line: 127, column: 15, }, end: Position { line: 127, column: 61, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 128, column: 21, }, end: Position { line: 128, column: 38, }, }, }, ), ], span: Span { start: Position { line: 128, column: 20, }, end: Position { line: 128, column: 39, }, }, }, ), ], span: Span { start: Position { line: 128, column: 18, }, end: Position { line: 128, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 130, column: 7, }, end: Position { line: 130, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LD_LIBRARY_PATH", span: Span { start: Position { line: 131, column: 9, }, end: Position { line: 131, column: 24, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/run/opengl-driver/lib:/run/opengl-driver-32/lib", span: Span { start: Position { line: 131, column: 28, }, end: Position { line: 131, column: 76, }, }, }, ), ], span: Span { start: Position { line: 131, column: 27, }, end: Position { line: 131, column: 77, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DISPLAY", span: Span { start: Position { line: 132, column: 9, }, end: Position { line: 132, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: ":", span: Span { start: Position { line: 132, column: 20, }, end: Position { line: 132, column: 64, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 132, column: 23, }, end: Position { line: 132, column: 31, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 132, column: 32, }, end: Position { line: 132, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 132, column: 39, }, end: Position { line: 132, column: 47, }, }, }, ), Raw( PartRaw { content: "xserver", span: Span { start: Position { line: 132, column: 48, }, end: Position { line: 132, column: 55, }, }, }, ), Raw( PartRaw { content: "display", span: Span { start: Position { line: 132, column: 56, }, end: Position { line: 132, column: 63, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 132, column: 19, }, end: Position { line: 132, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "GPU_MAX_ALLOC_PERCENT", span: Span { start: Position { line: 133, column: 9, }, end: Position { line: 133, column: 30, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "100", span: Span { start: Position { line: 133, column: 34, }, end: Position { line: 133, column: 37, }, }, }, ), ], span: Span { start: Position { line: 133, column: 33, }, end: Position { line: 133, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "GPU_USE_SYNC_OBJECTS", span: Span { start: Position { line: 134, column: 9, }, end: Position { line: 134, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "1", span: Span { start: Position { line: 134, column: 33, }, end: Position { line: 134, column: 34, }, }, }, ), ], span: Span { start: Position { line: 134, column: 32, }, end: Position { line: 134, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 130, column: 21, }, end: Position { line: 135, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startLimitIntervalSec", span: Span { start: Position { line: 137, column: 7, }, end: Position { line: 137, column: 28, }, }, }, ), ], to: Integer( Integer { value: "60", span: Span { start: Position { line: 137, column: 31, }, end: Position { line: 137, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 138, column: 7, }, end: Position { line: 138, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 139, column: 9, }, end: Position { line: 139, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 139, column: 24, }, end: Position { line: 139, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cgminer", span: Span { start: Position { line: 139, column: 29, }, end: Position { line: 139, column: 36, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/cgminer --syslog --text-only --config ", span: Span { start: Position { line: 139, column: 22, }, end: Position { line: 139, column: 80, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "cgminerConfig", span: Span { start: Position { line: 139, column: 82, }, end: Position { line: 139, column: 95, }, }, }, ), }, ), ], span: Span { start: Position { line: 139, column: 21, }, end: Position { line: 139, column: 97, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 140, column: 9, }, end: Position { line: 140, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 140, column: 16, }, end: Position { line: 140, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 140, column: 20, }, end: Position { line: 140, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "30s", span: Span { start: Position { line: 141, column: 23, }, end: Position { line: 141, column: 26, }, }, }, ), ], span: Span { start: Position { line: 141, column: 22, }, end: Position { line: 141, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 142, column: 9, }, end: Position { line: 142, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 142, column: 20, }, end: Position { line: 142, column: 26, }, }, }, ), ], span: Span { start: Position { line: 142, column: 19, }, end: Position { line: 142, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 138, column: 23, }, end: Position { line: 143, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 124, column: 32, }, end: Position { line: 144, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 109, column: 48, }, end: Position { line: 146, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 148, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 148, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 148, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 148, column: 2, }, }, }, )