Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 1, column: 29, }, end: Position { line: 1, column: 32, }, }, }, ), target: Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "copyFile", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "filePath", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 6, column: 24, }, end: Position { line: 6, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 6, column: 29, }, end: Position { line: 6, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 6, column: 41, }, end: Position { line: 6, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "unsafeDiscardStringContext", span: Span { start: Position { line: 6, column: 50, }, end: Position { line: 6, column: 76, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 6, column: 78, }, end: Position { line: 6, column: 86, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "baseNameOf", span: Span { start: Position { line: 6, column: 87, }, end: Position { line: 6, column: 97, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "filePath", span: Span { start: Position { line: 6, column: 98, }, end: Position { line: 6, column: 106, }, }, }, ), ], }, ), ], }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 6, column: 109, }, end: Position { line: 6, column: 111, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cp ", span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 7, column: 8, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "filePath", span: Span { start: Position { line: 7, column: 10, }, end: Position { line: 7, column: 18, }, }, }, ), }, ), Raw( PartRaw { content: " $out\n", span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 8, column: 3, }, }, }, ), ], span: Span { start: Position { line: 6, column: 112, }, end: Position { line: 8, column: 5, }, }, }, ), ], }, ), span: Span { start: Position { line: 6, column: 14, }, end: Position { line: 8, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pathsNeededForBoot", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 21, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 13, column: 27, }, end: Position { line: 13, column: 28, }, }, }, ), ], span: Span { start: Position { line: 13, column: 26, }, end: Position { line: 13, column: 29, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/nix", span: Span { start: Position { line: 13, column: 31, }, end: Position { line: 13, column: 35, }, }, }, ), ], span: Span { start: Position { line: 13, column: 30, }, end: Position { line: 13, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/nix/store", span: Span { start: Position { line: 13, column: 38, }, end: Position { line: 13, column: 48, }, }, }, ), ], span: Span { start: Position { line: 13, column: 37, }, end: Position { line: 13, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/var", span: Span { start: Position { line: 13, column: 51, }, end: Position { line: 13, column: 55, }, }, }, ), ], span: Span { start: Position { line: 13, column: 50, }, end: Position { line: 13, column: 56, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/var/log", span: Span { start: Position { line: 13, column: 58, }, end: Position { line: 13, column: 66, }, }, }, ), ], span: Span { start: Position { line: 13, column: 57, }, end: Position { line: 13, column: 67, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/var/lib", span: Span { start: Position { line: 13, column: 69, }, end: Position { line: 13, column: 77, }, }, }, ), ], span: Span { start: Position { line: 13, column: 68, }, end: Position { line: 13, column: 78, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/nixos", span: Span { start: Position { line: 13, column: 80, }, end: Position { line: 13, column: 94, }, }, }, ), ], span: Span { start: Position { line: 13, column: 79, }, end: Position { line: 13, column: 95, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/etc", span: Span { start: Position { line: 13, column: 97, }, end: Position { line: 13, column: 101, }, }, }, ), ], span: Span { start: Position { line: 13, column: 96, }, end: Position { line: 13, column: 102, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/usr", span: Span { start: Position { line: 13, column: 104, }, end: Position { line: 13, column: 108, }, }, }, ), ], span: Span { start: Position { line: 13, column: 103, }, end: Position { line: 13, column: 109, }, }, }, ), ], span: Span { start: Position { line: 13, column: 24, }, end: Position { line: 13, column: 111, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fsNeededForBoot", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "fs", }, ), body: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "fs", span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 14, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "neededForBoot", span: Span { start: Position { line: 14, column: 28, }, end: Position { line: 14, column: 41, }, }, }, ), ], default: None, }, ), operator: LogicalOr, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "elem", span: Span { start: Position { line: 14, column: 45, }, end: Position { line: 14, column: 49, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "fs", span: Span { start: Position { line: 14, column: 50, }, end: Position { line: 14, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mountPoint", span: Span { start: Position { line: 14, column: 53, }, end: Position { line: 14, column: 63, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "pathsNeededForBoot", span: Span { start: Position { line: 14, column: 64, }, end: Position { line: 14, column: 82, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 14, column: 21, }, end: Position { line: 14, column: 82, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fsBefore", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "a", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "b", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "normalisePath", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 20, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "path", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "path", span: Span { start: Position { line: 29, column: 32, }, end: Position { line: 29, column: 36, }, }, }, ), }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 29, column: 39, }, end: Position { line: 29, column: 53, }, }, }, ), arguments: [ UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasSuffix", span: Span { start: Position { line: 29, column: 57, }, end: Position { line: 29, column: 66, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 29, column: 68, }, end: Position { line: 29, column: 69, }, }, }, ), ], span: Span { start: Position { line: 29, column: 67, }, end: Position { line: 29, column: 70, }, }, }, ), Identifier( Identifier { id: "path", span: Span { start: Position { line: 29, column: 71, }, end: Position { line: 29, column: 75, }, }, }, ), ], }, ), span: Span { start: Position { line: 29, column: 55, }, end: Position { line: 29, column: 76, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 29, column: 79, }, end: Position { line: 29, column: 80, }, }, }, ), ], span: Span { start: Position { line: 29, column: 78, }, end: Position { line: 29, column: 81, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 29, }, end: Position { line: 29, column: 83, }, }, }, ), span: Span { start: Position { line: 29, column: 23, }, end: Position { line: 29, column: 83, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "normalise", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "mount", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "mount", span: Span { start: Position { line: 30, column: 26, }, end: Position { line: 30, column: 31, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 30, column: 37, }, end: Position { line: 30, column: 43, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "normalisePath", span: Span { start: Position { line: 30, column: 46, }, end: Position { line: 30, column: 59, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 30, column: 61, }, end: Position { line: 30, column: 69, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mount", span: Span { start: Position { line: 30, column: 70, }, end: Position { line: 30, column: 75, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 30, column: 76, }, end: Position { line: 30, column: 82, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mountPoint", span: Span { start: Position { line: 31, column: 37, }, end: Position { line: 31, column: 47, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "normalisePath", span: Span { start: Position { line: 31, column: 50, }, end: Position { line: 31, column: 63, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mount", span: Span { start: Position { line: 31, column: 64, }, end: Position { line: 31, column: 69, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mountPoint", span: Span { start: Position { line: 31, column: 70, }, end: Position { line: 31, column: 80, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "depends", span: Span { start: Position { line: 32, column: 37, }, end: Position { line: 32, column: 44, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 32, column: 47, }, end: Position { line: 32, column: 50, }, }, }, ), arguments: [ Identifier( Identifier { id: "normalisePath", span: Span { start: Position { line: 32, column: 51, }, end: Position { line: 32, column: 64, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "mount", span: Span { start: Position { line: 32, column: 65, }, end: Position { line: 32, column: 70, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "depends", span: Span { start: Position { line: 32, column: 71, }, end: Position { line: 32, column: 78, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 30, column: 35, }, end: Position { line: 33, column: 36, }, }, }, ), }, ), span: Span { start: Position { line: 30, column: 19, }, end: Position { line: 33, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "a'", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "normalise", span: Span { start: Position { line: 35, column: 12, }, end: Position { line: 35, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "a", span: Span { start: Position { line: 35, column: 22, }, end: Position { line: 35, column: 23, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "b'", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "normalise", span: Span { start: Position { line: 36, column: 12, }, end: Position { line: 36, column: 21, }, }, }, ), arguments: [ Identifier( Identifier { id: "b", span: Span { start: Position { line: 36, column: 22, }, end: Position { line: 36, column: 23, }, }, }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasPrefix", span: Span { start: Position { line: 38, column: 8, }, end: Position { line: 38, column: 17, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "a'", span: Span { start: Position { line: 38, column: 18, }, end: Position { line: 38, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mountPoint", span: Span { start: Position { line: 38, column: 21, }, end: Position { line: 38, column: 31, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "b'", span: Span { start: Position { line: 38, column: 32, }, end: Position { line: 38, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 38, column: 35, }, end: Position { line: 38, column: 41, }, }, }, ), ], default: None, }, ), ], }, ), operator: LogicalOr, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasPrefix", span: Span { start: Position { line: 39, column: 8, }, end: Position { line: 39, column: 17, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "a'", span: Span { start: Position { line: 39, column: 18, }, end: Position { line: 39, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mountPoint", span: Span { start: Position { line: 39, column: 21, }, end: Position { line: 39, column: 31, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "b'", span: Span { start: Position { line: 39, column: 32, }, end: Position { line: 39, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mountPoint", span: Span { start: Position { line: 39, column: 35, }, end: Position { line: 39, column: 45, }, }, }, ), ], default: None, }, ), ], }, ), }, ), operator: LogicalOr, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "any", span: Span { start: Position { line: 40, column: 8, }, end: Position { line: 40, column: 11, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasPrefix", span: Span { start: Position { line: 40, column: 13, }, end: Position { line: 40, column: 22, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "a'", span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 40, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mountPoint", span: Span { start: Position { line: 40, column: 26, }, end: Position { line: 40, column: 36, }, }, }, ), ], default: None, }, ), ], }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "b'", span: Span { start: Position { line: 40, column: 38, }, end: Position { line: 40, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "depends", span: Span { start: Position { line: 40, column: 41, }, end: Position { line: 40, column: 48, }, }, }, ), ], default: None, }, ), ], }, ), }, ), span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 40, column: 48, }, }, }, ), span: Span { start: Position { line: 17, column: 17, }, end: Position { line: 40, column: 48, }, }, }, ), span: Span { start: Position { line: 17, column: 14, }, end: Position { line: 40, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "escapeSystemdPath", span: Span { start: Position { line: 46, column: 3, }, end: Position { line: 46, column: 20, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "s", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "replacePrefix", span: Span { start: Position { line: 47, column: 5, }, end: Position { line: 47, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "p", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "r", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "s", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasPrefix", span: Span { start: Position { line: 47, column: 35, }, end: Position { line: 47, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "p", span: Span { start: Position { line: 47, column: 45, }, end: Position { line: 47, column: 46, }, }, }, ), Identifier( Identifier { id: "s", span: Span { start: Position { line: 47, column: 47, }, end: Position { line: 47, column: 48, }, }, }, ), ], }, ), then: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "r", span: Span { start: Position { line: 47, column: 55, }, end: Position { line: 47, column: 56, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removePrefix", span: Span { start: Position { line: 47, column: 60, }, end: Position { line: 47, column: 72, }, }, }, ), arguments: [ Identifier( Identifier { id: "p", span: Span { start: Position { line: 47, column: 73, }, end: Position { line: 47, column: 74, }, }, }, ), Identifier( Identifier { id: "s", span: Span { start: Position { line: 47, column: 75, }, end: Position { line: 47, column: 76, }, }, }, ), ], }, ), }, ), else_: Identifier( Identifier { id: "s", span: Span { start: Position { line: 47, column: 83, }, end: Position { line: 47, column: 84, }, }, }, ), span: Span { start: Position { line: 47, column: 31, }, end: Position { line: 47, column: 84, }, }, }, ), span: Span { start: Position { line: 47, column: 27, }, end: Position { line: 47, column: 85, }, }, }, ), span: Span { start: Position { line: 47, column: 24, }, end: Position { line: 47, column: 85, }, }, }, ), span: Span { start: Position { line: 47, column: 21, }, end: Position { line: 47, column: 85, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "trim", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 9, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "s", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeSuffix", span: Span { start: Position { line: 48, column: 15, }, end: Position { line: 48, column: 27, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 48, column: 29, }, end: Position { line: 48, column: 30, }, }, }, ), ], span: Span { start: Position { line: 48, column: 28, }, end: Position { line: 48, column: 31, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removePrefix", span: Span { start: Position { line: 48, column: 33, }, end: Position { line: 48, column: 45, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 48, column: 47, }, end: Position { line: 48, column: 48, }, }, }, ), ], span: Span { start: Position { line: 48, column: 46, }, end: Position { line: 48, column: 49, }, }, }, ), Identifier( Identifier { id: "s", span: Span { start: Position { line: 48, column: 50, }, end: Position { line: 48, column: 51, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 48, column: 12, }, end: Position { line: 48, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "normalizedPath", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "strings", span: Span { start: Position { line: 49, column: 22, }, end: Position { line: 49, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "normalizePath", span: Span { start: Position { line: 49, column: 30, }, end: Position { line: 49, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "s", span: Span { start: Position { line: 49, column: 44, }, end: Position { line: 49, column: 45, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "replaceChars", span: Span { start: Position { line: 51, column: 5, }, end: Position { line: 51, column: 17, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 51, column: 20, }, end: Position { line: 51, column: 21, }, }, }, ), ], span: Span { start: Position { line: 51, column: 19, }, end: Position { line: 51, column: 22, }, }, }, ), ], span: Span { start: Position { line: 51, column: 18, }, end: Position { line: 51, column: 23, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "-", span: Span { start: Position { line: 51, column: 26, }, end: Position { line: 51, column: 27, }, }, }, ), ], span: Span { start: Position { line: 51, column: 25, }, end: Position { line: 51, column: 28, }, }, }, ), ], span: Span { start: Position { line: 51, column: 24, }, end: Position { line: 51, column: 29, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "replacePrefix", span: Span { start: Position { line: 52, column: 6, }, end: Position { line: 52, column: 19, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 52, column: 21, }, end: Position { line: 52, column: 22, }, }, }, ), ], span: Span { start: Position { line: 52, column: 20, }, end: Position { line: 52, column: 23, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "strings", span: Span { start: Position { line: 52, column: 25, }, end: Position { line: 52, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeC", span: Span { start: Position { line: 52, column: 33, }, end: Position { line: 52, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 52, column: 43, }, end: Position { line: 52, column: 44, }, }, }, ), ], span: Span { start: Position { line: 52, column: 42, }, end: Position { line: 52, column: 45, }, }, }, ), ], span: Span { start: Position { line: 52, column: 41, }, end: Position { line: 52, column: 46, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 52, column: 48, }, end: Position { line: 52, column: 49, }, }, }, ), ], span: Span { start: Position { line: 52, column: 47, }, end: Position { line: 52, column: 50, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "strings", span: Span { start: Position { line: 53, column: 6, }, end: Position { line: 53, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeC", span: Span { start: Position { line: 53, column: 14, }, end: Position { line: 53, column: 21, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "stringToCharacters", span: Span { start: Position { line: 53, column: 23, }, end: Position { line: 53, column: 41, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " !\"#$%&'()*+,;<=>=@[\\]^`{|}~-", span: Span { start: Position { line: 53, column: 43, }, end: Position { line: 53, column: 74, }, }, }, ), ], span: Span { start: Position { line: 53, column: 42, }, end: Position { line: 53, column: 75, }, }, }, ), ], }, ), IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "normalizedPath", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 23, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 54, column: 28, }, end: Position { line: 54, column: 29, }, }, }, ), ], span: Span { start: Position { line: 54, column: 27, }, end: Position { line: 54, column: 30, }, }, }, ), }, ), then: Identifier( Identifier { id: "normalizedPath", span: Span { start: Position { line: 54, column: 36, }, end: Position { line: 54, column: 50, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "trim", span: Span { start: Position { line: 54, column: 56, }, end: Position { line: 54, column: 60, }, }, }, ), arguments: [ Identifier( Identifier { id: "normalizedPath", span: Span { start: Position { line: 54, column: 61, }, end: Position { line: 54, column: 75, }, }, }, ), ], }, ), span: Span { start: Position { line: 54, column: 6, }, end: Position { line: 54, column: 75, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 46, column: 26, }, end: Position { line: 54, column: 78, }, }, }, ), span: Span { start: Position { line: 46, column: 23, }, end: Position { line: 54, column: 78, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "escapeSystemdExecArg", span: Span { start: Position { line: 63, column: 3, }, end: Position { line: 63, column: 23, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "arg", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "s", span: Span { start: Position { line: 65, column: 7, }, end: Position { line: 65, column: 8, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 65, column: 14, }, end: Position { line: 65, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isPath", span: Span { start: Position { line: 65, column: 23, }, end: Position { line: 65, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "arg", span: Span { start: Position { line: 65, column: 30, }, end: Position { line: 65, column: 33, }, }, }, ), ], }, ), then: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "arg", span: Span { start: Position { line: 65, column: 42, }, end: Position { line: 65, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 65, column: 39, }, end: Position { line: 65, column: 47, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 66, column: 17, }, end: Position { line: 66, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isString", span: Span { start: Position { line: 66, column: 26, }, end: Position { line: 66, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "arg", span: Span { start: Position { line: 66, column: 35, }, end: Position { line: 66, column: 38, }, }, }, ), ], }, ), then: Identifier( Identifier { id: "arg", span: Span { start: Position { line: 66, column: 44, }, end: Position { line: 66, column: 47, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 67, column: 17, }, end: Position { line: 67, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isInt", span: Span { start: Position { line: 67, column: 26, }, end: Position { line: 67, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "arg", span: Span { start: Position { line: 67, column: 32, }, end: Position { line: 67, column: 35, }, }, }, ), ], }, ), operator: LogicalOr, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 67, column: 39, }, end: Position { line: 67, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isFloat", span: Span { start: Position { line: 67, column: 48, }, end: Position { line: 67, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "arg", span: Span { start: Position { line: 67, column: 56, }, end: Position { line: 67, column: 59, }, }, }, ), ], }, ), }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 67, column: 65, }, end: Position { line: 67, column: 73, }, }, }, ), arguments: [ Identifier( Identifier { id: "arg", span: Span { start: Position { line: 67, column: 74, }, end: Position { line: 67, column: 77, }, }, }, ), ], }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 68, column: 14, }, end: Position { line: 68, column: 19, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "escapeSystemdExecArg only allows strings, paths and numbers", span: Span { start: Position { line: 68, column: 21, }, end: Position { line: 68, column: 80, }, }, }, ), ], span: Span { start: Position { line: 68, column: 20, }, end: Position { line: 68, column: 81, }, }, }, ), ], }, ), span: Span { start: Position { line: 67, column: 14, }, end: Position { line: 68, column: 81, }, }, }, ), span: Span { start: Position { line: 66, column: 14, }, end: Position { line: 68, column: 81, }, }, }, ), span: Span { start: Position { line: 65, column: 11, }, end: Position { line: 68, column: 81, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "replaceChars", span: Span { start: Position { line: 70, column: 7, }, end: Position { line: 70, column: 19, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "%", span: Span { start: Position { line: 70, column: 23, }, end: Position { line: 70, column: 24, }, }, }, ), ], span: Span { start: Position { line: 70, column: 22, }, end: Position { line: 70, column: 25, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "$", span: Span { start: Position { line: 70, column: 27, }, end: Position { line: 70, column: 28, }, }, }, ), ], span: Span { start: Position { line: 70, column: 26, }, end: Position { line: 70, column: 29, }, }, }, ), ], span: Span { start: Position { line: 70, column: 20, }, end: Position { line: 70, column: 31, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "%%", span: Span { start: Position { line: 70, column: 35, }, end: Position { line: 70, column: 37, }, }, }, ), ], span: Span { start: Position { line: 70, column: 34, }, end: Position { line: 70, column: 38, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "$$", span: Span { start: Position { line: 70, column: 40, }, end: Position { line: 70, column: 42, }, }, }, ), ], span: Span { start: Position { line: 70, column: 39, }, end: Position { line: 70, column: 43, }, }, }, ), ], span: Span { start: Position { line: 70, column: 32, }, end: Position { line: 70, column: 45, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 70, column: 47, }, end: Position { line: 70, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 70, column: 56, }, end: Position { line: 70, column: 62, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "s", span: Span { start: Position { line: 70, column: 63, }, end: Position { line: 70, column: 64, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 64, column: 5, }, end: Position { line: 70, column: 65, }, }, }, ), span: Span { start: Position { line: 63, column: 26, }, end: Position { line: 70, column: 65, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "escapeSystemdExecArgs", span: Span { start: Position { line: 74, column: 3, }, end: Position { line: 74, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatMapStringsSep", span: Span { start: Position { line: 74, column: 27, }, end: Position { line: 74, column: 46, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 74, column: 48, }, end: Position { line: 74, column: 49, }, }, }, ), ], span: Span { start: Position { line: 74, column: 47, }, end: Position { line: 74, column: 50, }, }, }, ), Identifier( Identifier { id: "escapeSystemdExecArg", span: Span { start: Position { line: 74, column: 51, }, end: Position { line: 74, column: 71, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "toShellPath", span: Span { start: Position { line: 77, column: 3, }, end: Position { line: 77, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "shell", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 78, column: 8, }, end: Position { line: 78, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellPackage", span: Span { start: Position { line: 78, column: 14, }, end: Position { line: 78, column: 26, }, }, }, ), Raw( PartRaw { content: "check", span: Span { start: Position { line: 78, column: 27, }, end: Position { line: 78, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "shell", span: Span { start: Position { line: 78, column: 33, }, end: Position { line: 78, column: 38, }, }, }, ), ], }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "/run/current-system/sw", span: Span { start: Position { line: 79, column: 8, }, end: Position { line: 79, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "shell", span: Span { start: Position { line: 79, column: 32, }, end: Position { line: 79, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellPath", span: Span { start: Position { line: 79, column: 38, }, end: Position { line: 79, column: 47, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 49, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 80, column: 13, }, end: Position { line: 80, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 80, column: 19, }, end: Position { line: 80, column: 26, }, }, }, ), Raw( PartRaw { content: "check", span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 80, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "shell", span: Span { start: Position { line: 80, column: 33, }, end: Position { line: 80, column: 38, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "throw", span: Span { start: Position { line: 81, column: 7, }, end: Position { line: 81, column: 12, }, }, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "shell", span: Span { start: Position { line: 81, column: 16, }, end: Position { line: 81, column: 21, }, }, }, ), }, ), Raw( PartRaw { content: " is not a shell package", span: Span { start: Position { line: 81, column: 14, }, end: Position { line: 81, column: 45, }, }, }, ), ], span: Span { start: Position { line: 81, column: 13, }, end: Position { line: 81, column: 46, }, }, }, ), ], }, ), else_: Identifier( Identifier { id: "shell", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 12, }, }, }, ), span: Span { start: Position { line: 80, column: 10, }, end: Position { line: 83, column: 12, }, }, }, ), span: Span { start: Position { line: 78, column: 5, }, end: Position { line: 83, column: 12, }, }, }, ), span: Span { start: Position { line: 77, column: 17, }, end: Position { line: 83, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "recursiveGetAttrWithJqPrefix", span: Span { start: Position { line: 107, column: 3, }, end: Position { line: 107, column: 31, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "item", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attr", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "recurse", span: Span { start: Position { line: 109, column: 7, }, end: Position { line: 109, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "prefix", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "item", }, ), body: IfThenElse( IfThenElse { predicate: HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "item", span: Span { start: Position { line: 110, column: 12, }, end: Position { line: 110, column: 16, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "attr", span: Span { start: Position { line: 110, column: 21, }, end: Position { line: 110, column: 25, }, }, }, ), }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nameValuePair", span: Span { start: Position { line: 111, column: 11, }, end: Position { line: 111, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 111, column: 25, }, end: Position { line: 111, column: 31, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "item", span: Span { start: Position { line: 111, column: 32, }, end: Position { line: 111, column: 36, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "attr", span: Span { start: Position { line: 111, column: 39, }, end: Position { line: 111, column: 43, }, }, }, ), }, ), ], default: None, }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isAttrs", span: Span { start: Position { line: 112, column: 17, }, end: Position { line: 112, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "item", span: Span { start: Position { line: 112, column: 25, }, end: Position { line: 112, column: 29, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 113, column: 11, }, end: Position { line: 113, column: 14, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "escapedName", span: Span { start: Position { line: 115, column: 15, }, end: Position { line: 115, column: 26, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 115, column: 31, }, end: Position { line: 115, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "replaceChars", span: Span { start: Position { line: 115, column: 34, }, end: Position { line: 115, column: 46, }, }, }, ), arguments: [ List( List { elements: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 115, column: 50, }, end: Position { line: 115, column: 51, }, }, }, ), ], span: Span { start: Position { line: 115, column: 48, }, end: Position { line: 115, column: 53, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "\\", span: Span { start: Position { line: 115, column: 55, }, end: Position { line: 115, column: 57, }, }, }, ), ], span: Span { start: Position { line: 115, column: 54, }, end: Position { line: 115, column: 58, }, }, }, ), ], span: Span { start: Position { line: 115, column: 47, }, end: Position { line: 115, column: 59, }, }, }, ), List( List { elements: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\\\"", span: Span { start: Position { line: 115, column: 63, }, end: Position { line: 115, column: 65, }, }, }, ), ], span: Span { start: Position { line: 115, column: 61, }, end: Position { line: 115, column: 67, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "\\\\", span: Span { start: Position { line: 115, column: 69, }, end: Position { line: 115, column: 73, }, }, }, ), ], span: Span { start: Position { line: 115, column: 68, }, end: Position { line: 115, column: 74, }, }, }, ), ], span: Span { start: Position { line: 115, column: 60, }, end: Position { line: 115, column: 75, }, }, }, ), Identifier( Identifier { id: "name", span: Span { start: Position { line: 115, column: 76, }, end: Position { line: 115, column: 80, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 115, column: 31, }, end: Position { line: 115, column: 82, }, }, }, ), ], span: Span { start: Position { line: 115, column: 29, }, end: Position { line: 115, column: 84, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recurse", span: Span { start: Position { line: 117, column: 15, }, end: Position { line: 117, column: 22, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 117, column: 24, }, end: Position { line: 117, column: 30, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 117, column: 34, }, end: Position { line: 117, column: 35, }, }, }, ), ], span: Span { start: Position { line: 117, column: 33, }, end: Position { line: 117, column: 36, }, }, }, ), }, ), operator: Addition, right: Identifier( Identifier { id: "escapedName", span: Span { start: Position { line: 117, column: 39, }, end: Position { line: 117, column: 50, }, }, }, ), }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "item", span: Span { start: Position { line: 117, column: 52, }, end: Position { line: 117, column: 56, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 117, column: 59, }, end: Position { line: 117, column: 63, }, }, }, ), }, ), ], default: None, }, ), ], }, ), span: Span { start: Position { line: 114, column: 13, }, end: Position { line: 117, column: 64, }, }, }, ), span: Span { start: Position { line: 113, column: 16, }, end: Position { line: 117, column: 64, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 117, column: 67, }, end: Position { line: 117, column: 76, }, }, }, ), arguments: [ Identifier( Identifier { id: "item", span: Span { start: Position { line: 117, column: 77, }, end: Position { line: 117, column: 81, }, }, }, ), ], }, ), ], }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isList", span: Span { start: Position { line: 118, column: 17, }, end: Position { line: 118, column: 23, }, }, }, ), arguments: [ Identifier( Identifier { id: "item", span: Span { start: Position { line: 118, column: 24, }, end: Position { line: 118, column: 28, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "imap0", span: Span { start: Position { line: 119, column: 11, }, end: Position { line: 119, column: 16, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "index", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "item", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recurse", span: Span { start: Position { line: 119, column: 31, }, end: Position { line: 119, column: 38, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 119, column: 40, }, end: Position { line: 119, column: 46, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "[", span: Span { start: Position { line: 119, column: 50, }, end: Position { line: 119, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 119, column: 53, }, end: Position { line: 119, column: 61, }, }, }, ), arguments: [ Identifier( Identifier { id: "index", span: Span { start: Position { line: 119, column: 62, }, end: Position { line: 119, column: 67, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "]", span: Span { start: Position { line: 119, column: 50, }, end: Position { line: 119, column: 69, }, }, }, ), ], span: Span { start: Position { line: 119, column: 49, }, end: Position { line: 119, column: 70, }, }, }, ), }, ), Identifier( Identifier { id: "item", span: Span { start: Position { line: 119, column: 72, }, end: Position { line: 119, column: 76, }, }, }, ), ], }, ), span: Span { start: Position { line: 119, column: 25, }, end: Position { line: 119, column: 76, }, }, }, ), span: Span { start: Position { line: 119, column: 18, }, end: Position { line: 119, column: 76, }, }, }, ), Identifier( Identifier { id: "item", span: Span { start: Position { line: 119, column: 78, }, end: Position { line: 119, column: 82, }, }, }, ), ], }, ), else_: List( List { elements: [], span: Span { start: Position { line: 121, column: 11, }, end: Position { line: 121, column: 13, }, }, }, ), span: Span { start: Position { line: 118, column: 14, }, end: Position { line: 121, column: 13, }, }, }, ), span: Span { start: Position { line: 112, column: 14, }, end: Position { line: 121, column: 13, }, }, }, ), span: Span { start: Position { line: 110, column: 9, }, end: Position { line: 121, column: 13, }, }, }, ), span: Span { start: Position { line: 109, column: 25, }, end: Position { line: 121, column: 13, }, }, }, ), span: Span { start: Position { line: 109, column: 17, }, end: Position { line: 121, column: 13, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 122, column: 8, }, end: Position { line: 122, column: 19, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "flatten", span: Span { start: Position { line: 122, column: 21, }, end: Position { line: 122, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recurse", span: Span { start: Position { line: 122, column: 30, }, end: Position { line: 122, column: 37, }, }, }, ), arguments: [ String( String_ { parts: [], span: Span { start: Position { line: 122, column: 38, }, end: Position { line: 122, column: 40, }, }, }, ), Identifier( Identifier { id: "item", span: Span { start: Position { line: 122, column: 41, }, end: Position { line: 122, column: 45, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 108, column: 5, }, end: Position { line: 122, column: 47, }, }, }, ), span: Span { start: Position { line: 107, column: 40, }, end: Position { line: 122, column: 47, }, }, }, ), span: Span { start: Position { line: 107, column: 34, }, end: Position { line: 122, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "genJqSecretsReplacementSnippet", span: Span { start: Position { line: 173, column: 3, }, end: Position { line: 173, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "genJqSecretsReplacementSnippet'", span: Span { start: Position { line: 173, column: 36, }, end: Position { line: 173, column: 67, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "_secret", span: Span { start: Position { line: 173, column: 69, }, end: Position { line: 173, column: 76, }, }, }, ), ], span: Span { start: Position { line: 173, column: 68, }, end: Position { line: 173, column: 77, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "genJqSecretsReplacementSnippet'", span: Span { start: Position { line: 177, column: 3, }, end: Position { line: 177, column: 34, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attr", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "set", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "output", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "secrets", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recursiveGetAttrWithJqPrefix", span: Span { start: Position { line: 179, column: 17, }, end: Position { line: 179, column: 45, }, }, }, ), arguments: [ Identifier( Identifier { id: "set", span: Span { start: Position { line: 179, column: 46, }, end: Position { line: 179, column: 49, }, }, }, ), Identifier( Identifier { id: "attr", span: Span { start: Position { line: 179, column: 50, }, end: Position { line: 179, column: 54, }, }, }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if [[ -h ", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 181, column: 16, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 181, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "output", span: Span { start: Position { line: 181, column: 19, }, end: Position { line: 181, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: "' ]]; then\n rm ", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 182, column: 12, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 182, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "output", span: Span { start: Position { line: 182, column: 15, }, end: Position { line: 182, column: 21, }, }, }, ), }, ), Raw( PartRaw { content: "'\nfi\n\ninherit_errexit_enabled=0\nshopt -pq inherit_errexit && inherit_errexit_enabled=1\nshopt -s inherit_errexit\n", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 188, column: 5, }, }, }, ), ], span: Span { start: Position { line: 180, column: 8, }, end: Position { line: 188, column: 7, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 189, column: 7, }, end: Position { line: 189, column: 23, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 190, column: 10, }, end: Position { line: 190, column: 12, }, }, }, ), ], span: Span { start: Position { line: 190, column: 9, }, end: Position { line: 190, column: 13, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "imap1", span: Span { start: Position { line: 191, column: 10, }, end: Position { line: 191, column: 15, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "index", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "secret", span: Span { start: Position { line: 192, column: 1, }, end: Position { line: 192, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 192, column: 27, }, end: Position { line: 192, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "index", span: Span { start: Position { line: 192, column: 36, }, end: Position { line: 192, column: 41, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "=$(<", span: Span { start: Position { line: 192, column: 1, }, end: Position { line: 192, column: 46, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 192, column: 1, }, end: Position { line: 192, column: 47, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "secrets", span: Span { start: Position { line: 192, column: 49, }, end: Position { line: 192, column: 56, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 192, column: 59, }, end: Position { line: 192, column: 63, }, }, }, ), }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "')\nexport secret", span: Span { start: Position { line: 192, column: 1, }, end: Position { line: 193, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 193, column: 34, }, end: Position { line: 193, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "index", span: Span { start: Position { line: 193, column: 43, }, end: Position { line: 193, column: 48, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 192, column: 1, }, end: Position { line: 194, column: 17, }, }, }, ), ], span: Span { start: Position { line: 191, column: 30, }, end: Position { line: 194, column: 19, }, }, }, ), span: Span { start: Position { line: 191, column: 24, }, end: Position { line: 194, column: 19, }, }, }, ), span: Span { start: Position { line: 191, column: 17, }, end: Position { line: 194, column: 19, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 195, column: 17, }, end: Position { line: 195, column: 26, }, }, }, ), arguments: [ Identifier( Identifier { id: "secrets", span: Span { start: Position { line: 195, column: 27, }, end: Position { line: 195, column: 34, }, }, }, ), ], }, ), ], }, ), ], }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 196, column: 8, }, end: Position { line: 196, column: 10, }, }, }, ), ], span: Span { start: Position { line: 196, column: 7, }, end: Position { line: 196, column: 11, }, }, }, ), }, ), operator: Addition, right: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 197, column: 10, }, end: Position { line: 197, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "jq", span: Span { start: Position { line: 197, column: 15, }, end: Position { line: 197, column: 17, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/jq >'", span: Span { start: Position { line: 197, column: 8, }, end: Position { line: 197, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "output", span: Span { start: Position { line: 197, column: 30, }, end: Position { line: 197, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "' ", span: Span { start: Position { line: 197, column: 8, }, end: Position { line: 197, column: 39, }, }, }, ), ], span: Span { start: Position { line: 197, column: 7, }, end: Position { line: 197, column: 40, }, }, }, ), }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 198, column: 7, }, end: Position { line: 198, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 198, column: 11, }, end: Position { line: 198, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 198, column: 27, }, end: Position { line: 198, column: 43, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " | ", span: Span { start: Position { line: 199, column: 8, }, end: Position { line: 199, column: 11, }, }, }, ), ], span: Span { start: Position { line: 199, column: 7, }, end: Position { line: 199, column: 12, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "imap1", span: Span { start: Position { line: 200, column: 8, }, end: Position { line: 200, column: 13, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "index", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: IndentedString( IndentedString { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 200, column: 32, }, end: Position { line: 200, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: " = $ENV.secret", span: Span { start: Position { line: 200, column: 30, }, end: Position { line: 200, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 200, column: 53, }, end: Position { line: 200, column: 61, }, }, }, ), arguments: [ Identifier( Identifier { id: "index", span: Span { start: Position { line: 200, column: 62, }, end: Position { line: 200, column: 67, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 200, column: 28, }, end: Position { line: 200, column: 70, }, }, }, ), span: Span { start: Position { line: 200, column: 22, }, end: Position { line: 200, column: 70, }, }, }, ), span: Span { start: Position { line: 200, column: 15, }, end: Position { line: 200, column: 70, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrNames", span: Span { start: Position { line: 201, column: 15, }, end: Position { line: 201, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "secrets", span: Span { start: Position { line: 201, column: 25, }, end: Position { line: 201, column: 32, }, }, }, ), ], }, ), ], }, ), ], }, ), ], }, ), }, ), operator: Addition, right: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: " <<'EOF'\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 204, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 204, column: 9, }, end: Position { line: 204, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 204, column: 18, }, end: Position { line: 204, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "set", span: Span { start: Position { line: 204, column: 25, }, end: Position { line: 204, column: 28, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nEOF\n(( ! $inherit_errexit_enabled )) && shopt -u inherit_errexit\n", span: Span { start: Position { line: 203, column: 1, }, end: Position { line: 207, column: 5, }, }, }, ), ], span: Span { start: Position { line: 202, column: 7, }, end: Position { line: 207, column: 7, }, }, }, ), }, ), span: Span { start: Position { line: 178, column: 5, }, end: Position { line: 207, column: 7, }, }, }, ), span: Span { start: Position { line: 177, column: 48, }, end: Position { line: 207, column: 7, }, }, }, ), span: Span { start: Position { line: 177, column: 43, }, end: Position { line: 207, column: 7, }, }, }, ), span: Span { start: Position { line: 177, column: 37, }, end: Position { line: 207, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "removePackagesByName", span: Span { start: Position { line: 219, column: 3, }, end: Position { line: 219, column: 23, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "packages", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "packagesToRemove", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "namesToRemove", span: Span { start: Position { line: 221, column: 7, }, end: Position { line: 221, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 221, column: 23, }, end: Position { line: 221, column: 26, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 221, column: 27, }, end: Position { line: 221, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getName", span: Span { start: Position { line: 221, column: 31, }, end: Position { line: 221, column: 38, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "packagesToRemove", span: Span { start: Position { line: 221, column: 39, }, end: Position { line: 221, column: 55, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 223, column: 7, }, end: Position { line: 223, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filter", span: Span { start: Position { line: 223, column: 11, }, end: Position { line: 223, column: 17, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 223, column: 24, }, end: Position { line: 223, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "elem", span: Span { start: Position { line: 223, column: 33, }, end: Position { line: 223, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 223, column: 39, }, end: Position { line: 223, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getName", span: Span { start: Position { line: 223, column: 43, }, end: Position { line: 223, column: 50, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "x", span: Span { start: Position { line: 223, column: 51, }, end: Position { line: 223, column: 52, }, }, }, ), ], }, ), Identifier( Identifier { id: "namesToRemove", span: Span { start: Position { line: 223, column: 54, }, end: Position { line: 223, column: 67, }, }, }, ), ], }, ), span: Span { start: Position { line: 223, column: 22, }, end: Position { line: 223, column: 68, }, }, }, ), span: Span { start: Position { line: 223, column: 19, }, end: Position { line: 223, column: 68, }, }, }, ), Identifier( Identifier { id: "packages", span: Span { start: Position { line: 223, column: 70, }, end: Position { line: 223, column: 78, }, }, }, ), ], }, ), span: Span { start: Position { line: 220, column: 5, }, end: Position { line: 223, column: 78, }, }, }, ), span: Span { start: Position { line: 219, column: 36, }, end: Position { line: 223, column: 78, }, }, }, ), span: Span { start: Position { line: 219, column: 26, }, end: Position { line: 223, column: 78, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemdUtils", span: Span { start: Position { line: 225, column: 3, }, end: Position { line: 225, column: 15, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 226, column: 5, }, end: Position { line: 226, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 226, column: 11, }, end: Position { line: 226, column: 17, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./systemd-lib.nix", span: Span { start: Position { line: 226, column: 18, }, end: Position { line: 226, column: 35, }, }, }, ), ], span: Span { start: Position { line: 226, column: 18, }, end: Position { line: 226, column: 35, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 226, column: 46, }, end: Position { line: 226, column: 49, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 226, column: 50, }, end: Position { line: 226, column: 56, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 226, column: 57, }, end: Position { line: 226, column: 61, }, }, }, ), ], span: Span { start: Position { line: 226, column: 37, }, end: Position { line: 226, column: 62, }, }, }, ), ], span: Span { start: Position { line: 226, column: 36, }, end: Position { line: 226, column: 64, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitOptions", span: Span { start: Position { line: 227, column: 5, }, end: Position { line: 227, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 227, column: 19, }, end: Position { line: 227, column: 25, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./systemd-unit-options.nix", span: Span { start: Position { line: 227, column: 26, }, end: Position { line: 227, column: 52, }, }, }, ), ], span: Span { start: Position { line: 227, column: 26, }, end: Position { line: 227, column: 52, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 227, column: 63, }, end: Position { line: 227, column: 66, }, }, }, ), Raw( PartRaw { content: "systemdUtils", span: Span { start: Position { line: 227, column: 67, }, end: Position { line: 227, column: 79, }, }, }, ), ], span: Span { start: Position { line: 227, column: 54, }, end: Position { line: 227, column: 80, }, }, }, ), ], span: Span { start: Position { line: 227, column: 53, }, end: Position { line: 227, column: 82, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 228, column: 5, }, end: Position { line: 228, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 228, column: 13, }, end: Position { line: 228, column: 19, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./systemd-types.nix", span: Span { start: Position { line: 228, column: 20, }, end: Position { line: 228, column: 39, }, }, }, ), ], span: Span { start: Position { line: 228, column: 20, }, end: Position { line: 228, column: 39, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 228, column: 50, }, end: Position { line: 228, column: 53, }, }, }, ), Raw( PartRaw { content: "systemdUtils", span: Span { start: Position { line: 228, column: 54, }, end: Position { line: 228, column: 66, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 228, column: 67, }, end: Position { line: 228, column: 71, }, }, }, ), ], span: Span { start: Position { line: 228, column: 41, }, end: Position { line: 228, column: 72, }, }, }, ), ], span: Span { start: Position { line: 228, column: 40, }, end: Position { line: 228, column: 74, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 225, column: 18, }, end: Position { line: 229, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 230, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 24, }, end: Position { line: 230, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 230, column: 2, }, }, }, )