Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "stdenv", default: None, }, FunctionHeadDestructuredArgument { identifier: "closureInfo", default: None, }, FunctionHeadDestructuredArgument { identifier: "pixz", default: None, }, FunctionHeadDestructuredArgument { identifier: "fileName", default: Some( String( String_ { parts: [ Raw( PartRaw { content: "nixos-system-", span: Span { start: Position { line: 4, column: 15, }, end: Position { line: 4, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "stdenv", span: Span { start: Position { line: 4, column: 30, }, end: Position { line: 4, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 4, column: 37, }, end: Position { line: 4, column: 49, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 4, column: 50, }, end: Position { line: 4, column: 56, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 4, column: 14, }, end: Position { line: 4, column: 58, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "contents", default: None, }, FunctionHeadDestructuredArgument { identifier: "storeContents", default: Some( List( List { elements: [], span: Span { start: Position { line: 17, column: 19, }, end: Position { line: 17, column: 21, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "extraCommands", default: Some( String( String_ { parts: [], span: Span { start: Position { line: 20, column: 19, }, end: Position { line: 20, column: 21, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "extraArgs", default: Some( String( String_ { parts: [], span: Span { start: Position { line: 23, column: 15, }, end: Position { line: 23, column: 17, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "compressCommand", default: Some( String( String_ { parts: [ Raw( PartRaw { content: "pixz -t", span: Span { start: Position { line: 25, column: 22, }, end: Position { line: 25, column: 29, }, }, }, ), ], span: Span { start: Position { line: 25, column: 21, }, end: Position { line: 25, column: 30, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "compressionExtension", default: Some( String( String_ { parts: [ Raw( PartRaw { content: ".xz", span: Span { start: Position { line: 27, column: 27, }, end: Position { line: 27, column: 30, }, }, }, ), ], span: Span { start: Position { line: 27, column: 26, }, end: Position { line: 27, column: 31, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "extraInputs", default: Some( List( List { elements: [ Identifier( Identifier { id: "pixz", span: Span { start: Position { line: 29, column: 19, }, end: Position { line: 29, column: 23, }, }, }, ), ], span: Span { start: Position { line: 29, column: 17, }, end: Position { line: 29, column: 25, }, }, }, ), ), }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "symlinks", span: Span { start: Position { line: 33, column: 3, }, end: Position { line: 33, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 33, column: 14, }, end: Position { line: 33, column: 17, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "symlink", span: Span { start: Position { line: 33, column: 24, }, end: Position { line: 33, column: 31, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 33, column: 19, }, end: Position { line: 33, column: 31, }, }, }, ), Identifier( Identifier { id: "storeContents", span: Span { start: Position { line: 33, column: 33, }, end: Position { line: 33, column: 46, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "objects", span: Span { start: Position { line: 34, column: 3, }, end: Position { line: 34, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 34, column: 13, }, end: Position { line: 34, column: 16, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 34, column: 21, }, end: Position { line: 34, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "object", span: Span { start: Position { line: 34, column: 23, }, end: Position { line: 34, column: 29, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 34, column: 18, }, end: Position { line: 34, column: 29, }, }, }, ), Identifier( Identifier { id: "storeContents", span: Span { start: Position { line: 34, column: 31, }, end: Position { line: 34, column: 44, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "stdenv", span: Span { start: Position { line: 37, column: 1, }, end: Position { line: 37, column: 7, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkDerivation", span: Span { start: Position { line: 37, column: 8, }, end: Position { line: 37, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 7, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "tarball", span: Span { start: Position { line: 38, column: 11, }, end: Position { line: 38, column: 18, }, }, }, ), ], span: Span { start: Position { line: 38, column: 10, }, end: Position { line: 38, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "builder", span: Span { start: Position { line: 39, column: 3, }, end: Position { line: 39, column: 10, }, }, }, ), ], to: Path( Path { parts: [ Raw( PartRaw { content: "./make-system-tarball.sh", span: Span { start: Position { line: 39, column: 13, }, end: Position { line: 39, column: 37, }, }, }, ), ], span: Span { start: Position { line: 39, column: 13, }, end: Position { line: 39, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nativeBuildInputs", span: Span { start: Position { line: 40, column: 3, }, end: Position { line: 40, column: 20, }, }, }, ), ], to: Identifier( Identifier { id: "extraInputs", span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 40, column: 34, }, }, }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "fileName", span: Span { start: Position { line: 42, column: 11, }, end: Position { line: 42, column: 19, }, }, }, ), Raw( PartRaw { content: "extraArgs", span: Span { start: Position { line: 42, column: 20, }, end: Position { line: 42, column: 29, }, }, }, ), Raw( PartRaw { content: "extraCommands", span: Span { start: Position { line: 42, column: 30, }, end: Position { line: 42, column: 43, }, }, }, ), Raw( PartRaw { content: "compressCommand", span: Span { start: Position { line: 42, column: 44, }, end: Position { line: 42, column: 59, }, }, }, ), ], span: Span { start: Position { line: 37, column: 22, }, end: Position { line: 42, column: 60, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sources", span: Span { start: Position { line: 45, column: 3, }, end: Position { line: 45, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 45, column: 13, }, end: Position { line: 45, column: 16, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 45, column: 21, }, end: Position { line: 45, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 45, column: 23, }, end: Position { line: 45, column: 29, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 45, column: 18, }, end: Position { line: 45, column: 29, }, }, }, ), Identifier( Identifier { id: "contents", span: Span { start: Position { line: 45, column: 31, }, end: Position { line: 45, column: 39, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "targets", span: Span { start: Position { line: 46, column: 3, }, end: Position { line: 46, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 46, column: 13, }, end: Position { line: 46, column: 16, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "x", span: Span { start: Position { line: 46, column: 21, }, end: Position { line: 46, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "target", span: Span { start: Position { line: 46, column: 23, }, end: Position { line: 46, column: 29, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 46, column: 18, }, end: Position { line: 46, column: 29, }, }, }, ), Identifier( Identifier { id: "contents", span: Span { start: Position { line: 46, column: 31, }, end: Position { line: 46, column: 39, }, }, }, ), ], }, ), }, ), Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "symlinks", span: Span { start: Position { line: 49, column: 11, }, end: Position { line: 49, column: 19, }, }, }, ), Raw( PartRaw { content: "objects", span: Span { start: Position { line: 49, column: 20, }, end: Position { line: 49, column: 27, }, }, }, ), ], span: Span { start: Position { line: 37, column: 22, }, end: Position { line: 49, column: 28, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "closureInfo", span: Span { start: Position { line: 51, column: 3, }, end: Position { line: 51, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "closureInfo", span: Span { start: Position { line: 51, column: 17, }, end: Position { line: 51, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rootPaths", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "objects", span: Span { start: Position { line: 52, column: 17, }, end: Position { line: 52, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 51, column: 29, }, end: Position { line: 53, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extension", span: Span { start: Position { line: 55, column: 3, }, end: Position { line: 55, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "compressionExtension", span: Span { start: Position { line: 55, column: 15, }, end: Position { line: 55, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 37, column: 21, }, end: Position { line: 56, column: 2, }, }, }, ), ], }, ), span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 56, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 56, column: 2, }, }, }, )