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: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), ], to: List( List { elements: [ Path( Path { parts: [ Raw( PartRaw { content: "../../profiles/base.nix", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 28, }, }, }, ), ], span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 28, }, }, }, ), Path( Path { parts: [ Raw( PartRaw { content: "./sd-image.nix", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 19, }, }, }, ), ], span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 19, }, }, }, ), ], span: Span { start: Position { line: 8, column: 13, }, end: Position { line: 11, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 7, }, }, }, ), Raw( PartRaw { content: "loader", span: Span { start: Position { line: 13, column: 8, }, end: Position { line: 13, column: 14, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "grub", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 9, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 14, column: 10, }, end: Position { line: 14, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 14, column: 19, }, end: Position { line: 14, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "generic-extlinux-compatible", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 32, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 15, column: 33, }, end: Position { line: 15, column: 39, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 15, column: 42, }, end: Position { line: 15, column: 46, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 17, }, end: Position { line: 16, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 7, }, }, }, ), Raw( PartRaw { content: "consoleLogLevel", span: Span { start: Position { line: 18, column: 8, }, end: Position { line: 18, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 18, column: 26, }, end: Position { line: 18, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkDefault", span: Span { start: Position { line: 18, column: 30, }, end: Position { line: 18, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ Integer( Integer { value: "7", span: Span { start: Position { line: 18, column: 40, }, end: Position { line: 18, column: 41, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sdImage", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "populateFirmwareCommands", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 29, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 21, column: 32, }, end: Position { line: 21, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "populateRootCommands", span: Span { start: Position { line: 22, column: 5, }, end: Position { line: 22, column: 25, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p ./files/boot\n", span: Span { start: Position { line: 23, column: 1, }, end: Position { line: 24, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 20, }, }, }, ), Raw( PartRaw { content: "loader", span: Span { start: Position { line: 24, column: 21, }, end: Position { line: 24, column: 27, }, }, }, ), Raw( PartRaw { content: "generic-extlinux-compatible", span: Span { start: Position { line: 24, column: 28, }, end: Position { line: 24, column: 55, }, }, }, ), Raw( PartRaw { content: "populateCmd", span: Span { start: Position { line: 24, column: 56, }, end: Position { line: 24, column: 67, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -c ", span: Span { start: Position { line: 23, column: 1, }, end: Position { line: 24, column: 72, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 24, column: 74, }, end: Position { line: 24, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 24, column: 81, }, end: Position { line: 24, column: 87, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 24, column: 88, }, end: Position { line: 24, column: 93, }, }, }, ), Raw( PartRaw { content: "toplevel", span: Span { start: Position { line: 24, column: 94, }, end: Position { line: 24, column: 102, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -d ./files/boot\n", span: Span { start: Position { line: 23, column: 1, }, end: Position { line: 25, column: 5, }, }, }, ), ], span: Span { start: Position { line: 22, column: 28, }, end: Position { line: 25, column: 7, }, }, }, ), }, ), ], span: Span { start: Position { line: 20, column: 13, }, end: Position { line: 26, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 27, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 27, column: 2, }, }, }, )