Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 10, }, }, }, ), ], to: List( List { elements: [ Path( Path { parts: [ Raw( PartRaw { content: "../../profiles/base.nix", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 28, }, }, }, ), ], span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 28, }, }, }, ), Path( Path { parts: [ Raw( PartRaw { content: "./sd-image.nix", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 19, }, }, }, ), ], span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 19, }, }, }, ), ], span: Span { start: Position { line: 6, column: 13, }, end: Position { line: 9, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 7, }, }, }, ), Raw( PartRaw { content: "loader", span: Span { start: Position { line: 11, column: 8, }, end: Position { line: 11, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "grub", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 9, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 12, column: 10, }, end: Position { line: 12, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 12, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "generic-extlinux-compatible", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 14, column: 16, }, end: Position { line: 14, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useGenerationDeviceTree", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 30, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 18, column: 33, }, end: Position { line: 18, column: 38, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 35, }, end: Position { line: 19, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 20, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 7, }, }, }, ), Raw( PartRaw { content: "consoleLogLevel", span: Span { start: Position { line: 22, column: 8, }, end: Position { line: 22, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 22, column: 26, }, end: Position { line: 22, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkDefault", span: Span { start: Position { line: 22, column: 30, }, end: Position { line: 22, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ Integer( Integer { value: "7", span: Span { start: Position { line: 22, column: 40, }, end: Position { line: 22, column: 41, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 7, }, }, }, ), Raw( PartRaw { content: "kernelParams", span: Span { start: Position { line: 23, column: 8, }, end: Position { line: 23, column: 20, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "console=tty0", span: Span { start: Position { line: 23, column: 26, }, end: Position { line: 23, column: 38, }, }, }, ), ], span: Span { start: Position { line: 23, column: 25, }, end: Position { line: 23, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "console=ttyS0,115200n8", span: Span { start: Position { line: 23, column: 41, }, end: Position { line: 23, column: 63, }, }, }, ), ], span: Span { start: Position { line: 23, column: 40, }, end: Position { line: 23, column: 64, }, }, }, ), ], span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sdImage", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "populateFirmwareCommands", span: Span { start: Position { line: 26, column: 5, }, end: Position { line: 26, column: 29, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 26, column: 32, }, end: Position { line: 26, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "populateRootCommands", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 25, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p ./files/boot\n", span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 29, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 29, column: 9, }, end: Position { line: 29, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 29, column: 16, }, end: Position { line: 29, column: 20, }, }, }, ), Raw( PartRaw { content: "loader", span: Span { start: Position { line: 29, column: 21, }, end: Position { line: 29, column: 27, }, }, }, ), Raw( PartRaw { content: "generic-extlinux-compatible", span: Span { start: Position { line: 29, column: 28, }, end: Position { line: 29, column: 55, }, }, }, ), Raw( PartRaw { content: "populateCmd", span: Span { start: Position { line: 29, column: 56, }, end: Position { line: 29, column: 67, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -c ", span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 29, column: 72, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 29, column: 74, }, end: Position { line: 29, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 29, column: 81, }, end: Position { line: 29, column: 87, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 29, column: 88, }, end: Position { line: 29, column: 93, }, }, }, ), Raw( PartRaw { content: "toplevel", span: Span { start: Position { line: 29, column: 94, }, end: Position { line: 29, column: 102, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -d ./files/boot\n", span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 30, column: 5, }, }, }, ), ], span: Span { start: Position { line: 27, column: 28, }, end: Position { line: 30, column: 7, }, }, }, ), }, ), ], span: Span { start: Position { line: 25, column: 13, }, end: Position { line: 31, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 32, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 32, column: 2, }, }, }, )