Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 5, column: 6, }, end: Position { line: 5, column: 9, }, }, }, ), target: 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: "../../../modules/virtualisation/cloudstack-config.nix", span: Span { start: Position { line: 9, column: 7, }, end: Position { line: 9, column: 60, }, }, }, ), ], span: Span { start: Position { line: 9, column: 7, }, end: Position { line: 9, column: 60, }, }, }, ), ], span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 62, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 9, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 11, column: 10, }, end: Position { line: 11, column: 15, }, }, }, ), Raw( PartRaw { content: "cloudstackImage", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 11, column: 34, }, end: Position { line: 11, column: 40, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "../../../lib/make-disk-image.nix", span: Span { start: Position { line: 11, column: 41, }, end: Position { line: 11, column: 73, }, }, }, ), ], span: Span { start: Position { line: 11, column: 41, }, end: Position { line: 11, column: 73, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 12, column: 13, }, end: Position { line: 12, column: 16, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 23, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 12, column: 24, }, end: Position { line: 12, column: 28, }, }, }, ), ], span: Span { start: Position { line: 11, column: 75, }, end: Position { line: 12, column: 29, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "format", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "qcow2", span: Span { start: Position { line: 13, column: 15, }, end: Position { line: 13, column: 20, }, }, }, ), ], span: Span { start: Position { line: 13, column: 14, }, end: Position { line: 13, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "configFile", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 14, column: 18, }, end: Position { line: 14, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 14, column: 23, }, end: Position { line: 14, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "configuration.nix", span: Span { start: Position { line: 14, column: 34, }, end: Position { line: 14, column: 51, }, }, }, ), ], span: Span { start: Position { line: 14, column: 33, }, end: Position { line: 14, column: 52, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n imports = [ ];\n}\n", span: Span { start: Position { line: 16, column: 1, }, end: Position { line: 19, column: 7, }, }, }, ), ], span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 19, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 74, }, end: Position { line: 20, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 1, }, end: Position { line: 22, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 22, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 22, column: 2, }, }, }, )