Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "pkgs", default: Some( FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 4, column: 10, }, end: Position { line: 4, column: 16, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "../..", span: Span { start: Position { line: 4, column: 17, }, end: Position { line: 4, column: 22, }, }, }, ), ], span: Span { start: Position { line: 4, column: 17, }, end: Position { line: 4, column: 22, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 4, column: 23, }, end: Position { line: 4, column: 25, }, }, }, ), ], }, ), ), }, FunctionHeadDestructuredArgument { identifier: "lib", default: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 5, column: 14, }, end: Position { line: 5, column: 17, }, }, }, ), ], default: None, }, ), ), }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkMaintainer", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "handle", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "uncheckedAttrs", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 13, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 11, column: 19, }, end: Position { line: 11, column: 22, }, }, }, ), ], span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 23, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 11, column: 25, }, end: Position { line: 11, column: 36, }, }, }, ), ], span: Span { start: Position { line: 11, column: 24, }, end: Position { line: 11, column: 37, }, }, }, ), Identifier( Identifier { id: "handle", span: Span { start: Position { line: 11, column: 38, }, end: Position { line: 11, column: 44, }, }, }, ), ], span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkedAttrs", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 12, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 12, column: 27, }, end: Position { line: 12, column: 34, }, }, }, ), Raw( PartRaw { content: "evalModules", span: Span { start: Position { line: 12, column: 35, }, end: Position { line: 12, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 13, column: 17, }, end: Position { line: 13, column: 23, }, }, }, ), ], span: Span { start: Position { line: 12, column: 48, }, end: Position { line: 13, column: 24, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 16, }, }, }, ), ], to: List( List { elements: [ Path( Path { parts: [ Raw( PartRaw { content: "./maintainer-module.nix", span: Span { start: Position { line: 15, column: 11, }, end: Position { line: 15, column: 34, }, }, }, ), ], span: Span { start: Position { line: 15, column: 11, }, end: Position { line: 15, column: 34, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 17, column: 13, }, end: Position { line: 17, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 17, column: 21, }, end: Position { line: 17, column: 29, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "../../maintainers/maintainer-list.nix", span: Span { start: Position { line: 17, column: 30, }, end: Position { line: 17, column: 67, }, }, }, ), ], span: Span { start: Position { line: 17, column: 30, }, end: Position { line: 17, column: 67, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 18, column: 13, }, end: Position { line: 18, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "uncheckedAttrs", span: Span { start: Position { line: 18, column: 22, }, end: Position { line: 18, column: 36, }, }, }, ), }, ), ], span: Span { start: Position { line: 16, column: 11, }, end: Position { line: 19, column: 12, }, }, }, ), ], span: Span { start: Position { line: 14, column: 19, }, end: Position { line: 20, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 47, }, end: Position { line: 21, column: 8, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 21, column: 10, }, end: Position { line: 21, column: 16, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkGithubId", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optional", span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 23, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "checkedAttrs", span: Span { start: Position { line: 23, column: 37, }, end: Position { line: 23, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "github", span: Span { start: Position { line: 23, column: 50, }, end: Position { line: 23, column: 56, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 23, column: 60, }, end: Position { line: 23, column: 64, }, }, }, ), }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "checkedAttrs", span: Span { start: Position { line: 23, column: 68, }, end: Position { line: 23, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "githubId", span: Span { start: Position { line: 23, column: 81, }, end: Position { line: 23, column: 89, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 23, column: 93, }, end: Position { line: 23, column: 97, }, }, }, ), }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "echo ", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 24, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 16, }, end: Position { line: 24, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 24, column: 20, }, end: Position { line: 24, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 36, }, end: Position { line: 24, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "showOption", span: Span { start: Position { line: 24, column: 40, }, end: Position { line: 24, column: 50, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 24, column: 51, }, end: Position { line: 24, column: 57, }, }, }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "': If `github` is specified, `githubId` must be too.'\n# Calling this too often would hit non-authenticated API limits, but this\n# shouldn't happen since such errors will get fixed rather quickly\ninfo=$(curl -sS https://api.github.com/users/", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 27, column: 54, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "checkedAttrs", span: Span { start: Position { line: 27, column: 56, }, end: Position { line: 27, column: 68, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "github", span: Span { start: Position { line: 27, column: 69, }, end: Position { line: 27, column: 75, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ")\nid=$(jq -r '.id' <<< \"$info\")\necho \"The GitHub ID for GitHub user ", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 29, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "checkedAttrs", span: Span { start: Position { line: 29, column: 47, }, end: Position { line: 29, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "github", span: Span { start: Position { line: 29, column: 60, }, end: Position { line: 29, column: 66, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " is $id:\"\necho -e \" githubId = $id;\\n\"\n", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 31, column: 7, }, }, }, ), ], span: Span { start: Position { line: 23, column: 99, }, end: Position { line: 31, column: 9, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 32, column: 8, }, end: Position { line: 32, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "deepSeq", span: Span { start: Position { line: 32, column: 12, }, end: Position { line: 32, column: 19, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "checkedAttrs", span: Span { start: Position { line: 32, column: 20, }, end: Position { line: 32, column: 32, }, }, }, ), Identifier( Identifier { id: "checkGithubId", span: Span { start: Position { line: 32, column: 33, }, end: Position { line: 32, column: 46, }, }, }, ), ], }, ), span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 32, column: 46, }, }, }, ), span: Span { start: Position { line: 9, column: 29, }, end: Position { line: 32, column: 46, }, }, }, ), span: Span { start: Position { line: 9, column: 21, }, end: Position { line: 32, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "missingGithubIds", span: Span { start: Position { line: 34, column: 3, }, end: Position { line: 34, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 22, }, end: Position { line: 34, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatLists", span: Span { start: Position { line: 34, column: 26, }, end: Position { line: 34, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 39, }, end: Position { line: 34, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 34, column: 43, }, end: Position { line: 34, column: 57, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "checkMaintainer", span: Span { start: Position { line: 34, column: 58, }, end: Position { line: 34, column: 73, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 74, }, end: Position { line: 34, column: 77, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 34, column: 78, }, end: Position { line: 34, column: 89, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "success", span: Span { start: Position { line: 36, column: 3, }, end: Position { line: 36, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 36, column: 13, }, end: Position { line: 36, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 36, column: 18, }, end: Position { line: 36, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "checked-maintainers-success", span: Span { start: Position { line: 36, column: 30, }, end: Position { line: 36, column: 57, }, }, }, ), ], span: Span { start: Position { line: 36, column: 29, }, end: Position { line: 36, column: 58, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 36, column: 59, }, end: Position { line: 36, column: 61, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: ">$out", span: Span { start: Position { line: 36, column: 63, }, end: Position { line: 36, column: 68, }, }, }, ), ], span: Span { start: Position { line: 36, column: 62, }, end: Position { line: 36, column: 69, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "failure", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 38, column: 13, }, end: Position { line: 38, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 38, column: 18, }, end: Position { line: 38, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "checked-maintainers-failure", span: Span { start: Position { line: 38, column: 30, }, end: Position { line: 38, column: 57, }, }, }, ), ], span: Span { start: Position { line: 38, column: 29, }, end: Position { line: 38, column: 58, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nativeBuildInputs", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 22, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 39, column: 27, }, end: Position { line: 39, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "curl", span: Span { start: Position { line: 39, column: 32, }, end: Position { line: 39, column: 36, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 39, column: 37, }, end: Position { line: 39, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "jq", span: Span { start: Position { line: 39, column: 42, }, end: Position { line: 39, column: 44, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 39, column: 25, }, end: Position { line: 39, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputHash", span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 40, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "sha256:", span: Span { start: Position { line: 40, column: 19, }, end: Position { line: 40, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 40, column: 28, }, end: Position { line: 40, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fakeSha256", span: Span { start: Position { line: 40, column: 32, }, end: Position { line: 40, column: 42, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 40, column: 18, }, end: Position { line: 40, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputHAlgo", span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 41, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "sha256", span: Span { start: Position { line: 41, column: 20, }, end: Position { line: 41, column: 26, }, }, }, ), ], span: Span { start: Position { line: 41, column: 19, }, end: Position { line: 41, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "outputHashMode", span: Span { start: Position { line: 42, column: 5, }, end: Position { line: 42, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "flat", span: Span { start: Position { line: 42, column: 23, }, end: Position { line: 42, column: 27, }, }, }, ), ], span: Span { start: Position { line: 42, column: 22, }, end: Position { line: 42, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SSL_CERT_FILE", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 43, column: 24, }, end: Position { line: 43, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cacert", span: Span { start: Position { line: 43, column: 29, }, end: Position { line: 43, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/etc/ssl/certs/ca-bundle.crt", span: Span { start: Position { line: 43, column: 22, }, end: Position { line: 43, column: 64, }, }, }, ), ], span: Span { start: Position { line: 43, column: 21, }, end: Position { line: 43, column: 65, }, }, }, ), }, ), ], span: Span { start: Position { line: 38, column: 59, }, end: Position { line: 44, column: 4, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 45, column: 1, }, end: Position { line: 45, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 45, column: 11, }, end: Position { line: 45, column: 27, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 45, column: 29, }, end: Position { line: 45, column: 31, }, }, }, ), ], span: Span { start: Position { line: 45, column: 28, }, end: Position { line: 45, column: 32, }, }, }, ), Identifier( Identifier { id: "missingGithubIds", span: Span { start: Position { line: 45, column: 33, }, end: Position { line: 45, column: 49, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nexit 1\n", span: Span { start: Position { line: 45, column: 1, }, end: Position { line: 47, column: 3, }, }, }, ), ], span: Span { start: Position { line: 44, column: 5, }, end: Position { line: 47, column: 5, }, }, }, ), ], }, ), }, ), ], target: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "missingGithubIds", span: Span { start: Position { line: 48, column: 7, }, end: Position { line: 48, column: 23, }, }, }, ), operator: EqualTo, right: List( List { elements: [], span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 48, column: 29, }, }, }, ), }, ), then: Identifier( Identifier { id: "success", span: Span { start: Position { line: 48, column: 35, }, end: Position { line: 48, column: 42, }, }, }, ), else_: Identifier( Identifier { id: "failure", span: Span { start: Position { line: 48, column: 48, }, end: Position { line: 48, column: 55, }, }, }, ), span: Span { start: Position { line: 48, column: 4, }, end: Position { line: 48, column: 55, }, }, }, ), span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 48, column: 55, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 48, column: 55, }, }, }, )