With( With { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 4, column: 6, }, end: Position { line: 4, column: 12, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "../../lib", span: Span { start: Position { line: 4, column: 13, }, end: Position { line: 4, column: 22, }, }, }, ), ], span: Span { start: Position { line: 4, column: 13, }, end: Position { line: 4, column: 22, }, }, }, ), ], }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "trace", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 8, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 7, column: 14, }, end: Position { line: 7, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "getEnv", span: Span { start: Position { line: 7, column: 23, }, end: Position { line: 7, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "VERBOSE", span: Span { start: Position { line: 7, column: 31, }, end: Position { line: 7, column: 38, }, }, }, ), ], span: Span { start: Position { line: 7, column: 30, }, end: Position { line: 7, column: 39, }, }, }, ), ], }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "1", span: Span { start: Position { line: 7, column: 44, }, end: Position { line: 7, column: 45, }, }, }, ), ], span: Span { start: Position { line: 7, column: 43, }, end: Position { line: 7, column: 46, }, }, }, ), }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 7, column: 52, }, end: Position { line: 7, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "trace", span: Span { start: Position { line: 7, column: 61, }, end: Position { line: 7, column: 66, }, }, }, ), ], default: None, }, ), else_: Function( Function { head: Simple( FunctionHeadSimple { identifier: "x", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "y", }, ), body: Identifier( Identifier { id: "y", span: Span { start: Position { line: 7, column: 79, }, end: Position { line: 7, column: 80, }, }, }, ), span: Span { start: Position { line: 7, column: 76, }, end: Position { line: 7, column: 80, }, }, }, ), span: Span { start: Position { line: 7, column: 73, }, end: Position { line: 7, column: 80, }, }, }, ), span: Span { start: Position { line: 7, column: 11, }, end: Position { line: 7, column: 81, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rel", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 6, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeAttrs", span: Span { start: Position { line: 9, column: 9, }, end: Position { line: 9, column: 20, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 28, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "../../pkgs/top-level/release.nix", span: Span { start: Position { line: 9, column: 29, }, end: Position { line: 9, column: 61, }, }, }, ), ], span: Span { start: Position { line: 9, column: 29, }, end: Position { line: 9, column: 61, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 9, column: 62, }, end: Position { line: 9, column: 65, }, }, }, ), ], }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "tarball", span: Span { start: Position { line: 9, column: 70, }, end: Position { line: 9, column: 77, }, }, }, ), ], span: Span { start: Position { line: 9, column: 69, }, end: Position { line: 9, column: 78, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "unstable", span: Span { start: Position { line: 9, column: 80, }, end: Position { line: 9, column: 88, }, }, }, ), ], span: Span { start: Position { line: 9, column: 79, }, end: Position { line: 9, column: 89, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "xbursttools", span: Span { start: Position { line: 9, column: 91, }, end: Position { line: 9, column: 102, }, }, }, ), ], span: Span { start: Position { line: 9, column: 90, }, end: Position { line: 9, column: 103, }, }, }, ), ], span: Span { start: Position { line: 9, column: 67, }, end: Position { line: 9, column: 105, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "recurse", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 10, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "path", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "tryEval", span: Span { start: Position { line: 14, column: 18, }, end: Position { line: 14, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 14, column: 26, }, end: Position { line: 14, column: 31, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "success", span: Span { start: Position { line: 14, column: 33, }, end: Position { line: 14, column: 40, }, }, }, ), ], default: None, }, ), then: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "isDerivation", span: Span { start: Position { line: 15, column: 10, }, end: Position { line: 15, column: 22, }, }, }, ), arguments: [ Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 15, column: 23, }, end: Position { line: 15, column: 28, }, }, }, ), ], }, ), then: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 17, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "tryEval", span: Span { start: Position { line: 17, column: 22, }, end: Position { line: 17, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 17, column: 30, }, end: Position { line: 17, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "drvPath", span: Span { start: Position { line: 17, column: 36, }, end: Position { line: 17, column: 43, }, }, }, ), ], default: None, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "success", span: Span { start: Position { line: 17, column: 45, }, end: Position { line: 17, column: 52, }, }, }, ), ], default: None, }, ), then: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 30, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 18, column: 32, }, end: Position { line: 18, column: 36, }, }, }, ), Raw( PartRaw { content: "drvPath", span: Span { start: Position { line: 18, column: 37, }, end: Position { line: 18, column: 44, }, }, }, ), ], span: Span { start: Position { line: 18, column: 15, }, end: Position { line: 18, column: 45, }, }, }, ), ], span: Span { start: Position { line: 18, column: 14, }, end: Position { line: 18, column: 47, }, }, }, ), else_: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "failed", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 19, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 19, column: 14, }, end: Position { line: 19, column: 32, }, }, }, ), span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 19, column: 32, }, }, }, ), else_: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "recurseForDerivations", span: Span { start: Position { line: 20, column: 14, }, end: Position { line: 20, column: 35, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 20, column: 38, }, end: Position { line: 20, column: 42, }, }, }, ), }, ), ], span: Span { start: Position { line: 20, column: 12, }, end: Position { line: 20, column: 45, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 21, column: 12, }, end: Position { line: 21, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path'", span: Span { start: Position { line: 21, column: 32, }, end: Position { line: 21, column: 37, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "path", span: Span { start: Position { line: 21, column: 40, }, end: Position { line: 21, column: 44, }, }, }, ), operator: Concatenation, right: List( List { elements: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 21, column: 49, }, end: Position { line: 21, column: 50, }, }, }, ), ], span: Span { start: Position { line: 21, column: 48, }, end: Position { line: 21, column: 51, }, }, }, ), }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "trace", span: Span { start: Position { line: 21, column: 56, }, end: Position { line: 21, column: 61, }, }, }, ), arguments: [ Identifier( Identifier { id: "path'", span: Span { start: Position { line: 21, column: 62, }, end: Position { line: 21, column: 67, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recurse", span: Span { start: Position { line: 21, column: 69, }, end: Position { line: 21, column: 76, }, }, }, ), arguments: [ Identifier( Identifier { id: "path'", span: Span { start: Position { line: 21, column: 77, }, end: Position { line: 21, column: 82, }, }, }, ), Identifier( Identifier { id: "v", span: Span { start: Position { line: 21, column: 83, }, end: Position { line: 21, column: 84, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 21, column: 28, }, end: Position { line: 21, column: 85, }, }, }, ), span: Span { start: Position { line: 21, column: 25, }, end: Position { line: 21, column: 85, }, }, }, ), span: Span { start: Position { line: 21, column: 22, }, end: Position { line: 21, column: 85, }, }, }, ), Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 21, column: 87, }, end: Position { line: 21, column: 92, }, }, }, ), ], }, ), }, ), span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 21, column: 92, }, }, }, ), else_: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 22, column: 10, }, end: Position { line: 22, column: 13, }, }, }, ), span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 22, column: 13, }, }, }, ), span: Span { start: Position { line: 13, column: 19, }, end: Position { line: 22, column: 13, }, }, }, ), span: Span { start: Position { line: 13, column: 13, }, end: Position { line: 22, column: 13, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "recurse", span: Span { start: Position { line: 24, column: 4, }, end: Position { line: 24, column: 11, }, }, }, ), arguments: [ List( List { elements: [], span: Span { start: Position { line: 24, column: 12, }, end: Position { line: 24, column: 14, }, }, }, ), Identifier( Identifier { id: "rel", span: Span { start: Position { line: 24, column: 15, }, end: Position { line: 24, column: 18, }, }, }, ), ], }, ), span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 24, column: 18, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 24, column: 18, }, }, }, )