Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "evalMinimalConfig", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "stdenv", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "eval", span: Span { start: Position { line: 3, column: 3, }, end: Position { line: 3, column: 7, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "mod", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "evalMinimalConfig", span: Span { start: Position { line: 3, column: 15, }, end: Position { line: 3, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 4, column: 5, }, end: Position { line: 4, column: 12, }, }, }, ), ], to: List( List { elements: [ Path( Path { parts: [ Raw( PartRaw { content: "../nixpkgs.nix", span: Span { start: Position { line: 4, column: 17, }, end: Position { line: 4, column: 31, }, }, }, ), ], span: Span { start: Position { line: 4, column: 17, }, end: Position { line: 4, column: 31, }, }, }, ), Identifier( Identifier { id: "mod", span: Span { start: Position { line: 4, column: 32, }, end: Position { line: 4, column: 35, }, }, }, ), ], span: Span { start: Position { line: 4, column: 15, }, end: Position { line: 4, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 3, column: 33, }, end: Position { line: 5, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 3, column: 10, }, end: Position { line: 5, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withHost", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "eval", span: Span { start: Position { line: 6, column: 14, }, end: Position { line: 6, column: 18, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 12, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 7, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-linux", span: Span { start: Position { line: 7, column: 29, }, end: Position { line: 7, column: 42, }, }, }, ), ], span: Span { start: Position { line: 7, column: 28, }, end: Position { line: 7, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 6, column: 19, }, end: Position { line: 8, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "withHostAndBuild", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "eval", span: Span { start: Position { line: 9, column: 22, }, end: Position { line: 9, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 12, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 10, column: 13, }, end: Position { line: 10, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-linux", span: Span { start: Position { line: 10, column: 29, }, end: Position { line: 10, column: 42, }, }, }, ), ], span: Span { start: Position { line: 10, column: 28, }, end: Position { line: 10, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 12, }, }, }, ), Raw( PartRaw { content: "buildPlatform", span: Span { start: Position { line: 11, column: 13, }, end: Position { line: 11, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-darwin", span: Span { start: Position { line: 11, column: 30, }, end: Position { line: 11, column: 44, }, }, }, ), ], span: Span { start: Position { line: 11, column: 29, }, end: Position { line: 11, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 27, }, end: Position { line: 12, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ambiguous", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "ambiguous.nix", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 27, }, }, }, ), ], span: Span { start: Position { line: 14, column: 13, }, end: Position { line: 14, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 12, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 15, column: 13, }, end: Position { line: 15, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-linux", span: Span { start: Position { line: 15, column: 29, }, end: Position { line: 15, column: 42, }, }, }, ), ], span: Span { start: Position { line: 15, column: 28, }, end: Position { line: 15, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 12, }, }, }, ), Raw( PartRaw { content: "buildPlatform", span: Span { start: Position { line: 16, column: 13, }, end: Position { line: 16, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-darwin", span: Span { start: Position { line: 16, column: 30, }, end: Position { line: 16, column: 44, }, }, }, ), ], span: Span { start: Position { line: 16, column: 29, }, end: Position { line: 16, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 12, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 17, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "x86_64-linux", span: Span { start: Position { line: 17, column: 23, }, end: Position { line: 17, column: 35, }, }, }, ), ], span: Span { start: Position { line: 17, column: 22, }, end: Position { line: 17, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 12, }, }, }, ), Raw( PartRaw { content: "localSystem", span: Span { start: Position { line: 18, column: 13, }, end: Position { line: 18, column: 24, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "x86_64-darwin", span: Span { start: Position { line: 18, column: 35, }, end: Position { line: 18, column: 48, }, }, }, ), ], span: Span { start: Position { line: 18, column: 34, }, end: Position { line: 18, column: 49, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 12, }, }, }, ), Raw( PartRaw { content: "crossSystem", span: Span { start: Position { line: 19, column: 13, }, end: Position { line: 19, column: 24, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 19, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "i686-linux", span: Span { start: Position { line: 19, column: 35, }, end: Position { line: 19, column: 45, }, }, }, ), ], span: Span { start: Position { line: 19, column: 34, }, end: Position { line: 19, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 12, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "repeat.nix", span: Span { start: Position { line: 21, column: 18, }, end: Position { line: 21, column: 28, }, }, }, ), ], span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 16, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 22, column: 17, }, end: Position { line: 22, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-linux", span: Span { start: Position { line: 22, column: 33, }, end: Position { line: 22, column: 46, }, }, }, ), ], span: Span { start: Position { line: 22, column: 32, }, end: Position { line: 22, column: 47, }, }, }, ), }, ), ], span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 23, column: 8, }, }, }, ), ], span: Span { start: Position { line: 20, column: 15, }, end: Position { line: 24, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 13, column: 15, }, end: Position { line: 25, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "getErrors", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "module", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uncheckedEval", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 23, }, end: Position { line: 28, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "evalModules", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 28, column: 41, }, end: Position { line: 28, column: 48, }, }, }, ), ], to: List( List { elements: [ Path( Path { parts: [ Raw( PartRaw { content: "../nixpkgs.nix", span: Span { start: Position { line: 28, column: 53, }, end: Position { line: 28, column: 67, }, }, }, ), ], span: Span { start: Position { line: 28, column: 53, }, end: Position { line: 28, column: 67, }, }, }, ), Identifier( Identifier { id: "module", span: Span { start: Position { line: 28, column: 68, }, end: Position { line: 28, column: 74, }, }, }, ), ], span: Span { start: Position { line: 28, column: 51, }, end: Position { line: 28, column: 76, }, }, }, ), }, ), ], span: Span { start: Position { line: 28, column: 39, }, end: Position { line: 28, column: 79, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 29, column: 8, }, end: Position { line: 29, column: 11, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "ass", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ass", span: Span { start: Position { line: 29, column: 18, }, end: Position { line: 29, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "message", span: Span { start: Position { line: 29, column: 22, }, end: Position { line: 29, column: 29, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 29, column: 13, }, end: Position { line: 29, column: 29, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 29, column: 32, }, end: Position { line: 29, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filter", span: Span { start: Position { line: 29, column: 36, }, end: Position { line: 29, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "ass", }, ), body: UnaryOperation( UnaryOperation { operator: Not, operand: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "ass", span: Span { start: Position { line: 29, column: 50, }, end: Position { line: 29, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "assertion", span: Span { start: Position { line: 29, column: 54, }, end: Position { line: 29, column: 63, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 29, column: 49, }, end: Position { line: 29, column: 63, }, }, }, ), span: Span { start: Position { line: 29, column: 44, }, end: Position { line: 29, column: 63, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "uncheckedEval", span: Span { start: Position { line: 29, column: 65, }, end: Position { line: 29, column: 78, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 29, column: 79, }, end: Position { line: 29, column: 85, }, }, }, ), Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 29, column: 86, }, end: Position { line: 29, column: 96, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 29, column: 97, }, }, }, ), span: Span { start: Position { line: 26, column: 15, }, end: Position { line: 29, column: 97, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 31, column: 1, }, end: Position { line: 31, column: 4, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "recurseIntoAttrs", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 21, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "invokeNixpkgsSimple", span: Span { start: Position { line: 32, column: 3, }, end: Position { line: 32, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "eval", span: Span { start: Position { line: 33, column: 6, }, end: Position { line: 33, column: 10, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 14, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 34, column: 15, }, end: Position { line: 34, column: 21, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "stdenv", span: Span { start: Position { line: 34, column: 24, }, end: Position { line: 34, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 34, column: 31, }, end: Position { line: 34, column: 43, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 34, column: 44, }, end: Position { line: 34, column: 50, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 33, column: 11, }, end: Position { line: 35, column: 6, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 35, column: 8, }, end: Position { line: 35, column: 15, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 35, column: 16, }, end: Position { line: 35, column: 20, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 35, column: 21, }, end: Position { line: 35, column: 25, }, }, }, ), Raw( PartRaw { content: "hello", span: Span { start: Position { line: 35, column: 26, }, end: Position { line: 35, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "assertions", span: Span { start: Position { line: 36, column: 3, }, end: Position { line: 36, column: 13, }, }, }, ), ], to: Assert( Assert { expression: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "withHost", span: Span { start: Position { line: 37, column: 12, }, end: Position { line: 37, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 37, column: 21, }, end: Position { line: 37, column: 28, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 37, column: 29, }, end: Position { line: 37, column: 33, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 37, column: 34, }, end: Position { line: 37, column: 38, }, }, }, ), Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 37, column: 39, }, end: Position { line: 37, column: 45, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 37, column: 46, }, end: Position { line: 37, column: 58, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 37, column: 59, }, end: Position { line: 37, column: 65, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-linux", span: Span { start: Position { line: 37, column: 70, }, end: Position { line: 37, column: 83, }, }, }, ), ], span: Span { start: Position { line: 37, column: 69, }, end: Position { line: 37, column: 84, }, }, }, ), }, ), target: Assert( Assert { expression: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "withHost", span: Span { start: Position { line: 38, column: 12, }, end: Position { line: 38, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 38, column: 21, }, end: Position { line: 38, column: 28, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 38, column: 29, }, end: Position { line: 38, column: 33, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 38, column: 34, }, end: Position { line: 38, column: 38, }, }, }, ), Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 38, column: 39, }, end: Position { line: 38, column: 45, }, }, }, ), Raw( PartRaw { content: "buildPlatform", span: Span { start: Position { line: 38, column: 46, }, end: Position { line: 38, column: 59, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 38, column: 60, }, end: Position { line: 38, column: 66, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-linux", span: Span { start: Position { line: 38, column: 71, }, end: Position { line: 38, column: 84, }, }, }, ), ], span: Span { start: Position { line: 38, column: 70, }, end: Position { line: 38, column: 85, }, }, }, ), }, ), target: Assert( Assert { expression: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "withHostAndBuild", span: Span { start: Position { line: 39, column: 12, }, end: Position { line: 39, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 39, column: 29, }, end: Position { line: 39, column: 36, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 39, column: 37, }, end: Position { line: 39, column: 41, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 39, column: 42, }, end: Position { line: 39, column: 46, }, }, }, ), Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 39, column: 47, }, end: Position { line: 39, column: 53, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 39, column: 54, }, end: Position { line: 39, column: 66, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 39, column: 67, }, end: Position { line: 39, column: 73, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-linux", span: Span { start: Position { line: 39, column: 78, }, end: Position { line: 39, column: 91, }, }, }, ), ], span: Span { start: Position { line: 39, column: 77, }, end: Position { line: 39, column: 92, }, }, }, ), }, ), target: Assert( Assert { expression: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "withHostAndBuild", span: Span { start: Position { line: 40, column: 12, }, end: Position { line: 40, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 40, column: 29, }, end: Position { line: 40, column: 36, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 40, column: 37, }, end: Position { line: 40, column: 41, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 40, column: 42, }, end: Position { line: 40, column: 46, }, }, }, ), Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 40, column: 47, }, end: Position { line: 40, column: 53, }, }, }, ), Raw( PartRaw { content: "buildPlatform", span: Span { start: Position { line: 40, column: 54, }, end: Position { line: 40, column: 67, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 40, column: 68, }, end: Position { line: 40, column: 74, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-darwin", span: Span { start: Position { line: 40, column: 79, }, end: Position { line: 40, column: 93, }, }, }, ), ], span: Span { start: Position { line: 40, column: 78, }, end: Position { line: 40, column: 94, }, }, }, ), }, ), target: Assert( Assert { expression: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 41, column: 12, }, end: Position { line: 41, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "trace", span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 41, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 41, column: 28, }, end: Position { line: 41, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "head", span: Span { start: Position { line: 41, column: 32, }, end: Position { line: 41, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getErrors", span: Span { start: Position { line: 41, column: 38, }, end: Position { line: 41, column: 47, }, }, }, ), arguments: [ Identifier( Identifier { id: "ambiguous", span: Span { start: Position { line: 41, column: 48, }, end: Position { line: 41, column: 57, }, }, }, ), ], }, ), ], }, ), Identifier( Identifier { id: "getErrors", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 16, }, }, }, ), Identifier( Identifier { id: "ambiguous", span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 26, }, }, }, ), ], }, ), operator: EqualTo, right: List( List { elements: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Your system configures nixpkgs with the platform parameters:\nnixpkgs.hostPlatform, with values defined in:\n - repeat.nix\n - ambiguous.nix\nnixpkgs.buildPlatform, with values defined in:\n - ambiguous.nix\n\nHowever, it also defines the legacy options:\nnixpkgs.system, with values defined in:\n - ambiguous.nix\nnixpkgs.localSystem, with values defined in:\n - ambiguous.nix\nnixpkgs.crossSystem, with values defined in:\n - ambiguous.nix\n\nFor a future proof system configuration, we recommend to remove\nthe legacy definitions.\n", span: Span { start: Position { line: 44, column: 1, }, end: Position { line: 61, column: 9, }, }, }, ), ], span: Span { start: Position { line: 43, column: 10, }, end: Position { line: 61, column: 11, }, }, }, ), ], span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 61, column: 12, }, }, }, ), }, ), target: Assert( Assert { expression: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getErrors", span: Span { start: Position { line: 62, column: 12, }, end: Position { line: 62, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 16, }, }, }, ), Raw( PartRaw { content: "localSystem", span: Span { start: Position { line: 63, column: 17, }, end: Position { line: 63, column: 28, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 63, column: 31, }, end: Position { line: 63, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 63, column: 36, }, end: Position { line: 63, column: 42, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 63, column: 43, }, end: Position { line: 63, column: 55, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 16, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 64, column: 17, }, end: Position { line: 64, column: 29, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 64, column: 32, }, end: Position { line: 64, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 64, column: 37, }, end: Position { line: 64, column: 43, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 64, column: 44, }, end: Position { line: 64, column: 56, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 16, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 65, column: 17, }, end: Position { line: 65, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 65, column: 24, }, end: Position { line: 65, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 62, column: 22, }, end: Position { line: 66, column: 8, }, }, }, ), ], }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 66, column: 12, }, end: Position { line: 66, column: 14, }, }, }, ), }, ), target: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 68, column: 5, }, end: Position { line: 68, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "emptyFile", span: Span { start: Position { line: 68, column: 10, }, end: Position { line: 68, column: 19, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 62, column: 5, }, end: Position { line: 68, column: 19, }, }, }, ), span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 68, column: 19, }, }, }, ), span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 68, column: 19, }, }, }, ), span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 68, column: 19, }, }, }, ), span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 68, column: 19, }, }, }, ), span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 68, column: 19, }, }, }, ), }, ), ], span: Span { start: Position { line: 31, column: 22, }, end: Position { line: 69, column: 2, }, }, }, ), ], }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 69, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 69, column: 2, }, }, }, )