Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "systemdUtils", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "systemdUtils", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 3, column: 19, }, end: Position { line: 3, column: 22, }, }, }, ), ], default: None, }, ), target: With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "systemdUtils", span: Span { start: Position { line: 4, column: 6, }, end: Position { line: 4, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unitOptions", span: Span { start: Position { line: 4, column: 19, }, end: Position { line: 4, column: 30, }, }, }, ), ], default: None, }, ), target: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), target: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "units", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 8, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 8, column: 16, }, end: Position { line: 8, column: 21, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 12, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 9, column: 14, }, end: Position { line: 9, column: 23, }, }, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "concreteUnitOptions", span: Span { start: Position { line: 10, column: 17, }, end: Position { line: 10, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 13, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unit", span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 11, column: 25, }, end: Position { line: 11, column: 34, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "systemdUtils", span: Span { start: Position { line: 11, column: 36, }, end: Position { line: 11, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 11, column: 49, }, end: Position { line: 11, column: 52, }, }, }, ), Raw( PartRaw { content: "makeUnit", span: Span { start: Position { line: 11, column: 53, }, end: Position { line: 11, column: 61, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 11, column: 62, }, end: Position { line: 11, column: 66, }, }, }, ), Identifier( Identifier { id: "config", span: Span { start: Position { line: 11, column: 67, }, end: Position { line: 11, column: 73, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 77, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 48, }, end: Position { line: 12, column: 6, }, }, }, ), span: Span { start: Position { line: 9, column: 25, }, end: Position { line: 12, column: 6, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 8, column: 11, }, end: Position { line: 12, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 14, column: 19, }, end: Position { line: 14, column: 24, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 14, column: 26, }, end: Position { line: 14, column: 33, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 14, column: 35, }, end: Position { line: 14, column: 44, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage2ServiceOptions", span: Span { start: Position { line: 14, column: 47, }, end: Position { line: 14, column: 67, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 14, column: 68, }, end: Position { line: 14, column: 78, }, }, }, ), Identifier( Identifier { id: "stage2ServiceConfig", span: Span { start: Position { line: 14, column: 79, }, end: Position { line: 14, column: 98, }, }, }, ), ], span: Span { start: Position { line: 14, column: 45, }, end: Position { line: 14, column: 100, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 101, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdServices", span: Span { start: Position { line: 15, column: 3, }, end: Position { line: 15, column: 17, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 15, column: 30, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 15, column: 32, }, end: Position { line: 15, column: 39, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 15, column: 41, }, end: Position { line: 15, column: 50, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage1ServiceOptions", span: Span { start: Position { line: 15, column: 53, }, end: Position { line: 15, column: 73, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 15, column: 74, }, end: Position { line: 15, column: 84, }, }, }, ), Identifier( Identifier { id: "stage1ServiceConfig", span: Span { start: Position { line: 15, column: 85, }, end: Position { line: 15, column: 104, }, }, }, ), ], span: Span { start: Position { line: 15, column: 51, }, end: Position { line: 15, column: 106, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 15, column: 20, }, end: Position { line: 15, column: 107, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "targets", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 10, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 17, column: 18, }, end: Position { line: 17, column: 23, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 17, column: 25, }, end: Position { line: 17, column: 32, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 17, column: 34, }, end: Position { line: 17, column: 43, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage2CommonUnitOptions", span: Span { start: Position { line: 17, column: 46, }, end: Position { line: 17, column: 69, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 17, column: 70, }, end: Position { line: 17, column: 80, }, }, }, ), ], span: Span { start: Position { line: 17, column: 44, }, end: Position { line: 17, column: 82, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 17, column: 83, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdTargets", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 16, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 18, column: 24, }, end: Position { line: 18, column: 29, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 18, column: 31, }, end: Position { line: 18, column: 38, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 18, column: 40, }, end: Position { line: 18, column: 49, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage1CommonUnitOptions", span: Span { start: Position { line: 18, column: 52, }, end: Position { line: 18, column: 75, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 18, column: 76, }, end: Position { line: 18, column: 86, }, }, }, ), ], span: Span { start: Position { line: 18, column: 50, }, end: Position { line: 18, column: 88, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 18, column: 19, }, end: Position { line: 18, column: 89, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sockets", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 10, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 18, }, end: Position { line: 20, column: 23, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 20, column: 25, }, end: Position { line: 20, column: 32, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 20, column: 34, }, end: Position { line: 20, column: 43, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage2SocketOptions", span: Span { start: Position { line: 20, column: 46, }, end: Position { line: 20, column: 65, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 20, column: 66, }, end: Position { line: 20, column: 76, }, }, }, ), ], span: Span { start: Position { line: 20, column: 44, }, end: Position { line: 20, column: 78, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 20, column: 13, }, end: Position { line: 20, column: 79, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdSockets", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 16, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 21, column: 24, }, end: Position { line: 21, column: 29, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 21, column: 31, }, end: Position { line: 21, column: 38, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 21, column: 40, }, end: Position { line: 21, column: 49, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage1SocketOptions", span: Span { start: Position { line: 21, column: 52, }, end: Position { line: 21, column: 71, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 21, column: 72, }, end: Position { line: 21, column: 82, }, }, }, ), ], span: Span { start: Position { line: 21, column: 50, }, end: Position { line: 21, column: 84, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 21, column: 19, }, end: Position { line: 21, column: 85, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "timers", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 9, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 17, }, end: Position { line: 23, column: 22, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 23, column: 24, }, end: Position { line: 23, column: 31, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 23, column: 33, }, end: Position { line: 23, column: 42, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage2TimerOptions", span: Span { start: Position { line: 23, column: 45, }, end: Position { line: 23, column: 63, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 23, column: 64, }, end: Position { line: 23, column: 74, }, }, }, ), ], span: Span { start: Position { line: 23, column: 43, }, end: Position { line: 23, column: 76, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 77, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdTimers", span: Span { start: Position { line: 24, column: 3, }, end: Position { line: 24, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 24, column: 23, }, end: Position { line: 24, column: 28, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 24, column: 30, }, end: Position { line: 24, column: 37, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 24, column: 39, }, end: Position { line: 24, column: 48, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage1TimerOptions", span: Span { start: Position { line: 24, column: 51, }, end: Position { line: 24, column: 69, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 24, column: 70, }, end: Position { line: 24, column: 80, }, }, }, ), ], span: Span { start: Position { line: 24, column: 49, }, end: Position { line: 24, column: 82, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 24, column: 18, }, end: Position { line: 24, column: 83, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paths", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 8, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 16, }, end: Position { line: 26, column: 21, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 26, column: 23, }, end: Position { line: 26, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 26, column: 32, }, end: Position { line: 26, column: 41, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage2PathOptions", span: Span { start: Position { line: 26, column: 44, }, end: Position { line: 26, column: 61, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 26, column: 62, }, end: Position { line: 26, column: 72, }, }, }, ), ], span: Span { start: Position { line: 26, column: 42, }, end: Position { line: 26, column: 74, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 26, column: 11, }, end: Position { line: 26, column: 75, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdPaths", span: Span { start: Position { line: 27, column: 3, }, end: Position { line: 27, column: 14, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 27, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 27, column: 29, }, end: Position { line: 27, column: 36, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 27, column: 38, }, end: Position { line: 27, column: 47, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage1PathOptions", span: Span { start: Position { line: 27, column: 50, }, end: Position { line: 27, column: 67, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 27, column: 68, }, end: Position { line: 27, column: 78, }, }, }, ), ], span: Span { start: Position { line: 27, column: 48, }, end: Position { line: 27, column: 80, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 27, column: 17, }, end: Position { line: 27, column: 81, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "slices", span: Span { start: Position { line: 29, column: 3, }, end: Position { line: 29, column: 9, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 29, column: 17, }, end: Position { line: 29, column: 22, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 29, column: 24, }, end: Position { line: 29, column: 31, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 29, column: 33, }, end: Position { line: 29, column: 42, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage2SliceOptions", span: Span { start: Position { line: 29, column: 45, }, end: Position { line: 29, column: 63, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 29, column: 64, }, end: Position { line: 29, column: 74, }, }, }, ), ], span: Span { start: Position { line: 29, column: 43, }, end: Position { line: 29, column: 76, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 29, column: 12, }, end: Position { line: 29, column: 77, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdSlices", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 30, column: 23, }, end: Position { line: 30, column: 28, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 30, column: 30, }, end: Position { line: 30, column: 37, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 30, column: 39, }, end: Position { line: 30, column: 48, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage1SliceOptions", span: Span { start: Position { line: 30, column: 51, }, end: Position { line: 30, column: 69, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 30, column: 70, }, end: Position { line: 30, column: 80, }, }, }, ), ], span: Span { start: Position { line: 30, column: 49, }, end: Position { line: 30, column: 82, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 30, column: 18, }, end: Position { line: 30, column: 83, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mounts", span: Span { start: Position { line: 32, column: 3, }, end: Position { line: 32, column: 9, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 22, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 32, column: 24, }, end: Position { line: 32, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 32, column: 32, }, end: Position { line: 32, column: 41, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage2MountOptions", span: Span { start: Position { line: 32, column: 44, }, end: Position { line: 32, column: 62, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 32, column: 63, }, end: Position { line: 32, column: 73, }, }, }, ), Identifier( Identifier { id: "mountConfig", span: Span { start: Position { line: 32, column: 74, }, end: Position { line: 32, column: 85, }, }, }, ), ], span: Span { start: Position { line: 32, column: 42, }, end: Position { line: 32, column: 87, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 32, column: 12, }, end: Position { line: 32, column: 88, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdMounts", span: Span { start: Position { line: 33, column: 3, }, end: Position { line: 33, column: 15, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 33, column: 28, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 33, column: 30, }, end: Position { line: 33, column: 36, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 33, column: 38, }, end: Position { line: 33, column: 47, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage1MountOptions", span: Span { start: Position { line: 33, column: 50, }, end: Position { line: 33, column: 68, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 33, column: 69, }, end: Position { line: 33, column: 79, }, }, }, ), Identifier( Identifier { id: "mountConfig", span: Span { start: Position { line: 33, column: 80, }, end: Position { line: 33, column: 91, }, }, }, ), ], span: Span { start: Position { line: 33, column: 48, }, end: Position { line: 33, column: 93, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 33, column: 18, }, end: Position { line: 33, column: 94, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "automounts", span: Span { start: Position { line: 35, column: 3, }, end: Position { line: 35, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 35, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listOf", span: Span { start: Position { line: 35, column: 28, }, end: Position { line: 35, column: 34, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 35, column: 36, }, end: Position { line: 35, column: 45, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage2AutomountOptions", span: Span { start: Position { line: 35, column: 48, }, end: Position { line: 35, column: 70, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 35, column: 71, }, end: Position { line: 35, column: 81, }, }, }, ), Identifier( Identifier { id: "automountConfig", span: Span { start: Position { line: 35, column: 82, }, end: Position { line: 35, column: 97, }, }, }, ), ], span: Span { start: Position { line: 35, column: 46, }, end: Position { line: 35, column: 99, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 35, column: 16, }, end: Position { line: 35, column: 100, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdAutomounts", span: Span { start: Position { line: 36, column: 3, }, end: Position { line: 36, column: 19, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 36, column: 27, }, end: Position { line: 36, column: 32, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 36, column: 34, }, end: Position { line: 36, column: 41, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 36, column: 43, }, end: Position { line: 36, column: 52, }, }, }, ), arguments: [ List( List { elements: [ Identifier( Identifier { id: "stage1AutomountOptions", span: Span { start: Position { line: 36, column: 55, }, end: Position { line: 36, column: 77, }, }, }, ), Identifier( Identifier { id: "unitConfig", span: Span { start: Position { line: 36, column: 78, }, end: Position { line: 36, column: 88, }, }, }, ), Identifier( Identifier { id: "automountConfig", span: Span { start: Position { line: 36, column: 89, }, end: Position { line: 36, column: 104, }, }, }, ), ], span: Span { start: Position { line: 36, column: 53, }, end: Position { line: 36, column: 106, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 36, column: 22, }, end: Position { line: 36, column: 107, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initrdContents", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 38, column: 20, }, end: Position { line: 38, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 38, column: 26, }, end: Position { line: 38, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 38, column: 35, }, end: Position { line: 38, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 38, column: 41, }, end: Position { line: 38, column: 50, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", default: None, }, FunctionHeadDestructuredArgument { identifier: "name", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 13, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 40, column: 16, }, end: Position { line: 40, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 40, column: 32, }, end: Position { line: 40, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 40, column: 36, }, end: Position { line: 40, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "copying of this file and symlinking it", span: Span { start: Position { line: 40, column: 43, }, end: Position { line: 40, column: 81, }, }, }, ), ], span: Span { start: Position { line: 40, column: 42, }, end: Position { line: 40, column: 82, }, }, }, ), ], }, ), ], }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 40, column: 89, }, end: Position { line: 40, column: 96, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 40, column: 99, }, end: Position { line: 40, column: 103, }, }, }, ), }, ), ], span: Span { start: Position { line: 40, column: 87, }, end: Position { line: 40, column: 106, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "target", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 42, column: 16, }, end: Position { line: 42, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 43, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 43, column: 16, }, end: Position { line: 43, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 43, column: 22, }, end: Position { line: 43, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 44, column: 9, }, end: Position { line: 44, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 44, column: 23, }, end: Position { line: 44, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 44, column: 27, }, end: Position { line: 44, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path of the symlink.\n", span: Span { start: Position { line: 45, column: 1, }, end: Position { line: 46, column: 9, }, }, }, ), ], span: Span { start: Position { line: 44, column: 33, }, end: Position { line: 46, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "name", span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 23, }, }, }, ), }, ), ], span: Span { start: Position { line: 42, column: 25, }, end: Position { line: 48, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 50, column: 7, }, end: Position { line: 50, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 50, column: 14, }, end: Position { line: 50, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 51, column: 19, }, end: Position { line: 51, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 16, }, end: Position { line: 52, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 52, column: 22, }, end: Position { line: 52, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 29, }, end: Position { line: 52, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 52, column: 35, }, end: Position { line: 52, column: 40, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 53, column: 23, }, end: Position { line: 53, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 53, column: 27, }, end: Position { line: 53, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Text of the file.", span: Span { start: Position { line: 53, column: 34, }, end: Position { line: 53, column: 51, }, }, }, ), ], span: Span { start: Position { line: 53, column: 33, }, end: Position { line: 53, column: 52, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 50, column: 23, }, end: Position { line: 54, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 56, column: 7, }, end: Position { line: 56, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 56, column: 16, }, end: Position { line: 56, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 57, column: 16, }, end: Position { line: 57, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 57, column: 22, }, end: Position { line: 57, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 58, column: 23, }, end: Position { line: 58, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 58, column: 27, }, end: Position { line: 58, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Path of the source file.", span: Span { start: Position { line: 58, column: 34, }, end: Position { line: 58, column: 58, }, }, }, ), ], span: Span { start: Position { line: 58, column: 33, }, end: Position { line: 58, column: 59, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 56, column: 25, }, end: Position { line: 59, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 39, column: 15, }, end: Position { line: 60, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 62, column: 5, }, end: Position { line: 62, column: 11, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 63, column: 16, }, end: Position { line: 63, column: 20, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 63, column: 22, }, end: Position { line: 63, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 63, column: 29, }, end: Position { line: 63, column: 33, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 63, column: 37, }, end: Position { line: 63, column: 41, }, }, }, ), }, ), LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name'", span: Span { start: Position { line: 64, column: 13, }, end: Position { line: 64, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "initrd-", span: Span { start: Position { line: 64, column: 22, }, end: Position { line: 64, column: 29, }, }, }, ), ], span: Span { start: Position { line: 64, column: 21, }, end: Position { line: 64, column: 30, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "baseNameOf", span: Span { start: Position { line: 64, column: 33, }, end: Position { line: 64, column: 43, }, }, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 64, column: 44, }, end: Position { line: 64, column: 48, }, }, }, ), ], }, ), }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDerivedConfig", span: Span { start: Position { line: 65, column: 12, }, end: Position { line: 65, column: 27, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 65, column: 28, }, end: Position { line: 65, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 65, column: 36, }, end: Position { line: 65, column: 40, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 65, column: 42, }, end: Position { line: 65, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 65, column: 47, }, end: Position { line: 65, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "name'", span: Span { start: Position { line: 65, column: 57, }, end: Position { line: 65, column: 62, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 65, column: 63, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 62, column: 14, }, end: Position { line: 67, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 38, column: 84, }, end: Position { line: 68, column: 4, }, }, }, ), span: Span { start: Position { line: 38, column: 52, }, end: Position { line: 68, column: 4, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 69, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 69, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 69, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 69, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 69, column: 2, }, }, }, )