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: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "buildkite-agents", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 41, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkHookOption", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 15, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "description", default: None, }, FunctionHeadDestructuredArgument { identifier: "example", default: Some( Identifier( Identifier { id: "null", span: Span { start: Position { line: 8, column: 49, }, end: Position { line: 8, column: 53, }, }, }, ), ), }, ], }, ), body: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 9, column: 17, }, }, }, ), ], span: Span { start: Position { line: 8, column: 58, }, end: Position { line: 9, column: 18, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 10, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 10, column: 13, }, end: Position { line: 10, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 11, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 21, }, end: Position { line: 12, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 12, column: 25, }, end: Position { line: 12, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "description", span: Span { start: Position { line: 12, column: 31, }, end: Position { line: 12, column: 42, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 13, column: 14, }, end: Position { line: 13, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 13, column: 20, }, end: Position { line: 13, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 13, column: 27, }, end: Position { line: 13, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 13, column: 33, }, end: Position { line: 13, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 22, }, end: Position { line: 14, column: 6, }, }, }, ), ], }, ), operator: Update, right: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "example", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 21, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 14, column: 29, }, }, }, ), }, ), then: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 14, column: 35, }, end: Position { line: 14, column: 37, }, }, }, ), else_: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 14, column: 53, }, end: Position { line: 14, column: 60, }, }, }, ), ], span: Span { start: Position { line: 14, column: 44, }, end: Position { line: 14, column: 61, }, }, }, ), ], span: Span { start: Position { line: 14, column: 43, }, end: Position { line: 14, column: 63, }, }, }, ), span: Span { start: Position { line: 14, column: 11, }, end: Position { line: 14, column: 63, }, }, }, ), }, ), }, ), ], span: Span { start: Position { line: 8, column: 57, }, end: Position { line: 15, column: 4, }, }, }, ), span: Span { start: Position { line: 8, column: 18, }, end: Position { line: 15, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkHookOptions", span: Span { start: Position { line: 16, column: 3, }, end: Position { line: 16, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "hooks", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "listToAttrs", span: Span { start: Position { line: 16, column: 26, }, end: Position { line: 16, column: 37, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 16, column: 39, }, end: Position { line: 16, column: 42, }, }, }, ), arguments: [ Identifier( Identifier { id: "mkHookOption", span: Span { start: Position { line: 16, column: 43, }, end: Position { line: 16, column: 55, }, }, }, ), Identifier( Identifier { id: "hooks", span: Span { start: Position { line: 16, column: 56, }, end: Position { line: 16, column: 61, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 16, column: 19, }, end: Position { line: 16, column: 62, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hooksDir", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 11, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "cfg", }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mkHookEntry", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 16, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cat > $out/", span: Span { start: Position { line: 20, column: 1, }, end: Position { line: 20, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 20, column: 20, }, end: Position { line: 20, column: 24, }, }, }, ), }, ), Raw( PartRaw { content: " <<'EOF'\n#! ", span: Span { start: Position { line: 20, column: 1, }, end: Position { line: 21, column: 10, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 21, column: 12, }, end: Position { line: 21, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runtimeShell", span: Span { start: Position { line: 21, column: 17, }, end: Position { line: 21, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nset -e\n", span: Span { start: Position { line: 20, column: 1, }, end: Position { line: 23, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 14, }, }, }, ), }, ), Raw( PartRaw { content: "\nEOF\nchmod 755 $out/", span: Span { start: Position { line: 20, column: 1, }, end: Position { line: 25, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 25, column: 24, }, end: Position { line: 25, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 20, column: 1, }, end: Position { line: 26, column: 5, }, }, }, ), ], span: Span { start: Position { line: 19, column: 32, }, end: Position { line: 26, column: 7, }, }, }, ), span: Span { start: Position { line: 19, column: 25, }, end: Position { line: 26, column: 7, }, }, }, ), span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 26, column: 7, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 27, column: 6, }, end: Position { line: 27, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 27, column: 11, }, end: Position { line: 27, column: 21, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "buildkite-agent-hooks", span: Span { start: Position { line: 27, column: 23, }, end: Position { line: 27, column: 44, }, }, }, ), ], span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 45, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preferLocalBuild", span: Span { start: Position { line: 27, column: 48, }, end: Position { line: 27, column: 64, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 27, column: 67, }, end: Position { line: 27, column: 71, }, }, }, ), }, ), ], span: Span { start: Position { line: 27, column: 46, }, end: Position { line: 27, column: 74, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir $out\n", span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 29, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 23, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 29, column: 25, }, end: Position { line: 29, column: 27, }, }, }, ), ], span: Span { start: Position { line: 29, column: 24, }, end: Position { line: 29, column: 28, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 29, column: 30, }, end: Position { line: 29, column: 44, }, }, }, ), arguments: [ Identifier( Identifier { id: "mkHookEntry", span: Span { start: Position { line: 29, column: 45, }, end: Position { line: 29, column: 56, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterAttrs", span: Span { start: Position { line: 29, column: 58, }, end: Position { line: 29, column: 69, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "v", span: Span { start: Position { line: 29, column: 77, }, end: Position { line: 29, column: 78, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 29, column: 82, }, end: Position { line: 29, column: 86, }, }, }, ), }, ), span: Span { start: Position { line: 29, column: 74, }, end: Position { line: 29, column: 86, }, }, }, ), span: Span { start: Position { line: 29, column: 71, }, end: Position { line: 29, column: 86, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 29, column: 88, }, end: Position { line: 29, column: 91, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hooks", span: Span { start: Position { line: 29, column: 92, }, end: Position { line: 29, column: 97, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 28, column: 1, }, end: Position { line: 30, column: 3, }, }, }, ), ], span: Span { start: Position { line: 27, column: 75, }, end: Position { line: 30, column: 5, }, }, }, ), ], }, ), span: Span { start: Position { line: 18, column: 19, }, end: Position { line: 30, column: 5, }, }, }, ), span: Span { start: Position { line: 18, column: 14, }, end: Position { line: 30, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "buildkiteOptions", span: Span { start: Position { line: 32, column: 3, }, end: Position { line: 32, column: 19, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: Some( String( String_ { parts: [], span: Span { start: Position { line: 32, column: 31, }, end: Position { line: 32, column: 33, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 33, column: 5, }, end: Position { line: 33, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 34, column: 7, }, end: Position { line: 34, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 34, column: 16, }, end: Position { line: 34, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 35, column: 19, }, end: Position { line: 35, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 36, column: 9, }, end: Position { line: 36, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 36, column: 16, }, end: Position { line: 36, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 36, column: 22, }, end: Position { line: 36, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 37, column: 23, }, end: Position { line: 37, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 37, column: 27, }, end: Position { line: 37, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to enable this buildkite agent", span: Span { start: Position { line: 37, column: 34, }, end: Position { line: 37, column: 72, }, }, }, ), ], span: Span { start: Position { line: 37, column: 33, }, end: Position { line: 37, column: 73, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 34, column: 25, }, end: Position { line: 38, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 40, column: 17, }, end: Position { line: 40, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 41, column: 19, }, end: Position { line: 41, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "buildkite-agent", span: Span { start: Position { line: 41, column: 24, }, end: Position { line: 41, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 42, column: 23, }, end: Position { line: 42, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.buildkite-agent", span: Span { start: Position { line: 42, column: 42, }, end: Position { line: 42, column: 62, }, }, }, ), ], span: Span { start: Position { line: 42, column: 41, }, end: Position { line: 42, column: 63, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 43, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 43, column: 23, }, end: Position { line: 43, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 43, column: 27, }, end: Position { line: 43, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Which buildkite-agent derivation to use", span: Span { start: Position { line: 43, column: 34, }, end: Position { line: 43, column: 73, }, }, }, ), ], span: Span { start: Position { line: 43, column: 33, }, end: Position { line: 43, column: 74, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 44, column: 9, }, end: Position { line: 44, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 44, column: 16, }, end: Position { line: 44, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 44, column: 22, }, end: Position { line: 44, column: 29, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 40, column: 26, }, end: Position { line: 45, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 47, column: 17, }, end: Position { line: 47, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/buildkite-agent-", span: Span { start: Position { line: 48, column: 20, }, end: Position { line: 48, column: 52, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 48, column: 47, }, end: Position { line: 48, column: 51, }, }, }, ), }, ), ], span: Span { start: Position { line: 48, column: 19, }, end: Position { line: 48, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 49, column: 23, }, end: Position { line: 49, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 49, column: 27, }, end: Position { line: 49, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The workdir for the agent", span: Span { start: Position { line: 49, column: 34, }, end: Position { line: 49, column: 59, }, }, }, ), ], span: Span { start: Position { line: 49, column: 33, }, end: Position { line: 49, column: 60, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 50, column: 9, }, end: Position { line: 50, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 50, column: 16, }, end: Position { line: 50, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 50, column: 22, }, end: Position { line: 50, column: 25, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 47, column: 26, }, end: Position { line: 51, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "runtimePackages", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 53, column: 25, }, end: Position { line: 53, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 16, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bash", span: Span { start: Position { line: 54, column: 26, }, end: Position { line: 54, column: 30, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 54, column: 31, }, end: Position { line: 54, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gnutar", span: Span { start: Position { line: 54, column: 36, }, end: Position { line: 54, column: 42, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 54, column: 43, }, end: Position { line: 54, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gzip", span: Span { start: Position { line: 54, column: 48, }, end: Position { line: 54, column: 52, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 54, column: 53, }, end: Position { line: 54, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "git", span: Span { start: Position { line: 54, column: 58, }, end: Position { line: 54, column: 61, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 54, column: 62, }, end: Position { line: 54, column: 66, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 54, column: 67, }, end: Position { line: 54, column: 70, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 54, column: 19, }, end: Position { line: 54, column: 72, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 55, column: 23, }, end: Position { line: 55, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "[ pkgs.bash pkgs.gnutar pkgs.gzip pkgs.git pkgs.nix ]", span: Span { start: Position { line: 55, column: 42, }, end: Position { line: 55, column: 95, }, }, }, ), ], span: Span { start: Position { line: 55, column: 41, }, end: Position { line: 55, column: 96, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 56, column: 9, }, end: Position { line: 56, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 56, column: 23, }, end: Position { line: 56, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 56, column: 27, }, end: Position { line: 56, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Add programs to the buildkite-agent environment", span: Span { start: Position { line: 56, column: 34, }, end: Position { line: 56, column: 81, }, }, }, ), ], span: Span { start: Position { line: 56, column: 33, }, end: Position { line: 56, column: 82, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 57, column: 16, }, end: Position { line: 57, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 57, column: 22, }, end: Position { line: 57, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 57, column: 29, }, end: Position { line: 57, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 57, column: 35, }, end: Position { line: 57, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 53, column: 34, }, end: Position { line: 58, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tokenPath", span: Span { start: Position { line: 60, column: 7, }, end: Position { line: 60, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 60, column: 19, }, end: Position { line: 60, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 61, column: 16, }, end: Position { line: 61, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 61, column: 22, }, end: Position { line: 61, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 62, column: 23, }, end: Position { line: 62, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 62, column: 27, }, end: Position { line: 62, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The token from your Buildkite \"Agents\" page.\n\nA run-time path to the token file, which is supposed to be provisioned\noutside of Nix store.\n", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 67, column: 9, }, }, }, ), ], span: Span { start: Position { line: 62, column: 33, }, end: Position { line: 67, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 60, column: 28, }, end: Position { line: 68, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 70, column: 7, }, end: Position { line: 70, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 70, column: 14, }, end: Position { line: 70, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 71, column: 16, }, end: Position { line: 71, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 71, column: 22, }, end: Position { line: 71, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "%hostname-", span: Span { start: Position { line: 72, column: 20, }, end: Position { line: 72, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 72, column: 32, }, end: Position { line: 72, column: 36, }, }, }, ), }, ), Raw( PartRaw { content: "-%n", span: Span { start: Position { line: 72, column: 20, }, end: Position { line: 72, column: 40, }, }, }, ), ], span: Span { start: Position { line: 72, column: 19, }, end: Position { line: 72, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 73, column: 9, }, end: Position { line: 73, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 73, column: 23, }, end: Position { line: 73, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 73, column: 27, }, end: Position { line: 73, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The name of the agent as seen in the buildkite dashboard.\n", span: Span { start: Position { line: 74, column: 1, }, end: Position { line: 75, column: 9, }, }, }, ), ], span: Span { start: Position { line: 73, column: 33, }, end: Position { line: 75, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 70, column: 23, }, end: Position { line: 76, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 78, column: 14, }, end: Position { line: 78, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 79, column: 16, }, end: Position { line: 79, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 79, column: 22, }, end: Position { line: 79, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 79, column: 31, }, end: Position { line: 79, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "either", span: Span { start: Position { line: 79, column: 37, }, end: Position { line: 79, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 79, column: 44, }, end: Position { line: 79, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 79, column: 50, }, end: Position { line: 79, column: 53, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 79, column: 55, }, end: Position { line: 79, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 79, column: 61, }, end: Position { line: 79, column: 67, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 79, column: 68, }, end: Position { line: 79, column: 73, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 79, column: 74, }, end: Position { line: 79, column: 77, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 80, column: 19, }, end: Position { line: 80, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "queue", span: Span { start: Position { line: 81, column: 21, }, end: Position { line: 81, column: 26, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 81, column: 30, }, end: Position { line: 81, column: 37, }, }, }, ), ], span: Span { start: Position { line: 81, column: 29, }, end: Position { line: 81, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "docker", span: Span { start: Position { line: 81, column: 40, }, end: Position { line: 81, column: 46, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "true", span: Span { start: Position { line: 81, column: 50, }, end: Position { line: 81, column: 54, }, }, }, ), ], span: Span { start: Position { line: 81, column: 49, }, end: Position { line: 81, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ruby2", span: Span { start: Position { line: 81, column: 57, }, end: Position { line: 81, column: 62, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "true", span: Span { start: Position { line: 81, column: 65, }, end: Position { line: 81, column: 69, }, }, }, ), ], span: Span { start: Position { line: 81, column: 64, }, end: Position { line: 81, column: 70, }, }, }, ), }, ), ], span: Span { start: Position { line: 81, column: 19, }, end: Position { line: 81, column: 73, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 82, column: 9, }, end: Position { line: 82, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 82, column: 23, }, end: Position { line: 82, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 82, column: 27, }, end: Position { line: 82, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Tags for the agent.\n", span: Span { start: Position { line: 83, column: 1, }, end: Position { line: 84, column: 9, }, }, }, ), ], span: Span { start: Position { line: 82, column: 33, }, end: Position { line: 84, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 78, column: 23, }, end: Position { line: 85, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 87, column: 21, }, end: Position { line: 87, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 88, column: 16, }, end: Position { line: 88, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 88, column: 22, }, end: Position { line: 88, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 89, column: 19, }, end: Position { line: 89, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "debug=true", span: Span { start: Position { line: 90, column: 20, }, end: Position { line: 90, column: 30, }, }, }, ), ], span: Span { start: Position { line: 90, column: 19, }, end: Position { line: 90, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 91, column: 23, }, end: Position { line: 91, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 91, column: 27, }, end: Position { line: 91, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra lines to be added verbatim to the configuration file.\n", span: Span { start: Position { line: 92, column: 1, }, end: Position { line: 93, column: 9, }, }, }, ), ], span: Span { start: Position { line: 91, column: 33, }, end: Position { line: 93, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 87, column: 30, }, end: Position { line: 94, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "privateSshKeyPath", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 96, column: 27, }, end: Position { line: 96, column: 35, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 97, column: 16, }, end: Position { line: 97, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 97, column: 22, }, end: Position { line: 97, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 97, column: 29, }, end: Position { line: 97, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 97, column: 35, }, end: Position { line: 97, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 98, column: 19, }, end: Position { line: 98, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apply", span: Span { start: Position { line: 101, column: 9, }, end: Position { line: 101, column: 14, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "final", }, ), body: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "final", span: Span { start: Position { line: 101, column: 27, }, end: Position { line: 101, column: 32, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 101, column: 36, }, end: Position { line: 101, column: 40, }, }, }, ), }, ), then: Identifier( Identifier { id: "null", span: Span { start: Position { line: 101, column: 46, }, end: Position { line: 101, column: 50, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 101, column: 56, }, end: Position { line: 101, column: 64, }, }, }, ), arguments: [ Identifier( Identifier { id: "final", span: Span { start: Position { line: 101, column: 65, }, end: Position { line: 101, column: 70, }, }, }, ), ], }, ), span: Span { start: Position { line: 101, column: 24, }, end: Position { line: 101, column: 70, }, }, }, ), span: Span { start: Position { line: 101, column: 17, }, end: Position { line: 101, column: 70, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 103, column: 23, }, end: Position { line: 103, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 103, column: 27, }, end: Position { line: 103, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "OpenSSH private key\n\nA run-time path to the key file, which is supposed to be provisioned\noutside of Nix store.\n", span: Span { start: Position { line: 104, column: 1, }, end: Position { line: 108, column: 9, }, }, }, ), ], span: Span { start: Position { line: 103, column: 33, }, end: Position { line: 108, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 96, column: 36, }, end: Position { line: 109, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hooks", span: Span { start: Position { line: 111, column: 7, }, end: Position { line: 111, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkHookOptions", span: Span { start: Position { line: 111, column: 15, }, end: Position { line: 111, column: 28, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 112, column: 11, }, end: Position { line: 112, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "checkout", span: Span { start: Position { line: 112, column: 19, }, end: Position { line: 112, column: 27, }, }, }, ), ], span: Span { start: Position { line: 112, column: 18, }, end: Position { line: 112, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 113, column: 11, }, end: Position { line: 113, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `checkout` hook script will replace the default checkout routine of the\nbootstrap.sh script. You can use this hook to do your own SCM checkout\nbehaviour\n", span: Span { start: Position { line: 114, column: 1, }, end: Position { line: 117, column: 11, }, }, }, ), ], span: Span { start: Position { line: 113, column: 25, }, end: Position { line: 117, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 112, column: 9, }, end: Position { line: 117, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 118, column: 11, }, end: Position { line: 118, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "command", span: Span { start: Position { line: 118, column: 19, }, end: Position { line: 118, column: 26, }, }, }, ), ], span: Span { start: Position { line: 118, column: 18, }, end: Position { line: 118, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 119, column: 11, }, end: Position { line: 119, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `command` hook script will replace the default implementation of running\nthe build command.\n", span: Span { start: Position { line: 120, column: 1, }, end: Position { line: 122, column: 11, }, }, }, ), ], span: Span { start: Position { line: 119, column: 25, }, end: Position { line: 122, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 122, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 123, column: 11, }, end: Position { line: 123, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 123, column: 19, }, end: Position { line: 123, column: 30, }, }, }, ), ], span: Span { start: Position { line: 123, column: 18, }, end: Position { line: 123, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 124, column: 11, }, end: Position { line: 124, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `environment` hook will run before all other commands, and can be used\nto set up secrets, data, etc. Anything exported in hooks will be available\nto the build script.\n\nNote: the contents of this file will be copied to the world-readable\nNix store.\n", span: Span { start: Position { line: 125, column: 1, }, end: Position { line: 131, column: 11, }, }, }, ), ], span: Span { start: Position { line: 124, column: 25, }, end: Position { line: 131, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 132, column: 11, }, end: Position { line: 132, column: 18, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "export SECRET_VAR=`head -1 /run/keys/secret`\n", span: Span { start: Position { line: 133, column: 1, }, end: Position { line: 134, column: 11, }, }, }, ), ], span: Span { start: Position { line: 132, column: 21, }, end: Position { line: 134, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 134, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 135, column: 11, }, end: Position { line: 135, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "post-artifact", span: Span { start: Position { line: 135, column: 19, }, end: Position { line: 135, column: 32, }, }, }, ), ], span: Span { start: Position { line: 135, column: 18, }, end: Position { line: 135, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 136, column: 11, }, end: Position { line: 136, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `post-artifact` hook will run just after artifacts are uploaded\n", span: Span { start: Position { line: 137, column: 1, }, end: Position { line: 138, column: 11, }, }, }, ), ], span: Span { start: Position { line: 136, column: 25, }, end: Position { line: 138, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 135, column: 9, }, end: Position { line: 138, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 139, column: 11, }, end: Position { line: 139, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "post-checkout", span: Span { start: Position { line: 139, column: 19, }, end: Position { line: 139, column: 32, }, }, }, ), ], span: Span { start: Position { line: 139, column: 18, }, end: Position { line: 139, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 140, column: 11, }, end: Position { line: 140, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `post-checkout` hook will run after the bootstrap script has checked out\nyour projects source code.\n", span: Span { start: Position { line: 141, column: 1, }, end: Position { line: 143, column: 11, }, }, }, ), ], span: Span { start: Position { line: 140, column: 25, }, end: Position { line: 143, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 139, column: 9, }, end: Position { line: 143, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 144, column: 11, }, end: Position { line: 144, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "post-command", span: Span { start: Position { line: 144, column: 19, }, end: Position { line: 144, column: 31, }, }, }, ), ], span: Span { start: Position { line: 144, column: 18, }, end: Position { line: 144, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 145, column: 11, }, end: Position { line: 145, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `post-command` hook will run after the bootstrap script has run your\nbuild commands\n", span: Span { start: Position { line: 146, column: 1, }, end: Position { line: 148, column: 11, }, }, }, ), ], span: Span { start: Position { line: 145, column: 25, }, end: Position { line: 148, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 144, column: 9, }, end: Position { line: 148, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 149, column: 11, }, end: Position { line: 149, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "pre-artifact", span: Span { start: Position { line: 149, column: 19, }, end: Position { line: 149, column: 31, }, }, }, ), ], span: Span { start: Position { line: 149, column: 18, }, end: Position { line: 149, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 150, column: 11, }, end: Position { line: 150, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `pre-artifact` hook will run just before artifacts are uploaded\n", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 152, column: 11, }, }, }, ), ], span: Span { start: Position { line: 150, column: 25, }, end: Position { line: 152, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 152, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 153, column: 11, }, end: Position { line: 153, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "pre-checkout", span: Span { start: Position { line: 153, column: 19, }, end: Position { line: 153, column: 31, }, }, }, ), ], span: Span { start: Position { line: 153, column: 18, }, end: Position { line: 153, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 154, column: 11, }, end: Position { line: 154, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `pre-checkout` hook will run just before your projects source code is\nchecked out from your SCM provider\n", span: Span { start: Position { line: 155, column: 1, }, end: Position { line: 157, column: 11, }, }, }, ), ], span: Span { start: Position { line: 154, column: 25, }, end: Position { line: 157, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 153, column: 9, }, end: Position { line: 157, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 158, column: 11, }, end: Position { line: 158, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "pre-command", span: Span { start: Position { line: 158, column: 19, }, end: Position { line: 158, column: 30, }, }, }, ), ], span: Span { start: Position { line: 158, column: 18, }, end: Position { line: 158, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 159, column: 11, }, end: Position { line: 159, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `pre-command` hook will run just before your build command runs\n", span: Span { start: Position { line: 160, column: 1, }, end: Position { line: 161, column: 11, }, }, }, ), ], span: Span { start: Position { line: 159, column: 25, }, end: Position { line: 161, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 161, column: 16, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 162, column: 11, }, end: Position { line: 162, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "pre-exit", span: Span { start: Position { line: 162, column: 19, }, end: Position { line: 162, column: 27, }, }, }, ), ], span: Span { start: Position { line: 162, column: 18, }, end: Position { line: 162, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 163, column: 11, }, end: Position { line: 163, column: 22, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The `pre-exit` hook will run just before your build job finishes\n", span: Span { start: Position { line: 164, column: 1, }, end: Position { line: 165, column: 11, }, }, }, ), ], span: Span { start: Position { line: 163, column: 25, }, end: Position { line: 165, column: 13, }, }, }, ), }, ), ], span: Span { start: Position { line: 162, column: 9, }, end: Position { line: 165, column: 16, }, }, }, ), ], span: Span { start: Position { line: 111, column: 29, }, end: Position { line: 166, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hooksPath", span: Span { start: Position { line: 168, column: 7, }, end: Position { line: 168, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 168, column: 19, }, end: Position { line: 168, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 169, column: 9, }, end: Position { line: 169, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 169, column: 16, }, end: Position { line: 169, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 169, column: 22, }, end: Position { line: 169, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 170, column: 9, }, end: Position { line: 170, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hooksDir", span: Span { start: Position { line: 170, column: 19, }, end: Position { line: 170, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "config", span: Span { start: Position { line: 170, column: 28, }, end: Position { line: 170, column: 34, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 171, column: 9, }, end: Position { line: 171, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalMD", span: Span { start: Position { line: 171, column: 23, }, end: Position { line: 171, column: 32, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "generated from {option}`services.buildkite-agents..hooks`", span: Span { start: Position { line: 171, column: 34, }, end: Position { line: 171, column: 97, }, }, }, ), ], span: Span { start: Position { line: 171, column: 33, }, end: Position { line: 171, column: 98, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 172, column: 9, }, end: Position { line: 172, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 172, column: 23, }, end: Position { line: 172, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 172, column: 27, }, end: Position { line: 172, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to the directory storing the hooks.\nConsider using {option}`services.buildkite-agents..hooks.`\ninstead.\n", span: Span { start: Position { line: 173, column: 1, }, end: Position { line: 176, column: 9, }, }, }, ), ], span: Span { start: Position { line: 172, column: 33, }, end: Position { line: 176, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 168, column: 28, }, end: Position { line: 177, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shell", span: Span { start: Position { line: 179, column: 7, }, end: Position { line: 179, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 179, column: 15, }, end: Position { line: 179, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 180, column: 9, }, end: Position { line: 180, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 180, column: 16, }, end: Position { line: 180, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 180, column: 22, }, end: Position { line: 180, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 181, column: 22, }, end: Position { line: 181, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bash", span: Span { start: Position { line: 181, column: 27, }, end: Position { line: 181, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/bash -e -c", span: Span { start: Position { line: 181, column: 20, }, end: Position { line: 181, column: 47, }, }, }, ), ], span: Span { start: Position { line: 181, column: 19, }, end: Position { line: 181, column: 48, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 182, column: 9, }, end: Position { line: 182, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 182, column: 23, }, end: Position { line: 182, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\"", span: Span { start: Position { line: 182, column: 43, }, end: Position { line: 182, column: 44, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 182, column: 43, }, end: Position { line: 182, column: 47, }, }, }, ), Raw( PartRaw { content: "{pkgs.bash}/bin/bash -e -c\"", span: Span { start: Position { line: 182, column: 43, }, end: Position { line: 182, column: 74, }, }, }, ), ], span: Span { start: Position { line: 182, column: 41, }, end: Position { line: 182, column: 76, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 183, column: 9, }, end: Position { line: 183, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 183, column: 23, }, end: Position { line: 183, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 183, column: 27, }, end: Position { line: 183, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Command that buildkite-agent 3 will execute when it spawns a shell.\n", span: Span { start: Position { line: 184, column: 1, }, end: Position { line: 185, column: 9, }, }, }, ), ], span: Span { start: Position { line: 183, column: 33, }, end: Position { line: 185, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 179, column: 24, }, end: Position { line: 186, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 33, column: 15, }, end: Position { line: 187, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 50, }, end: Position { line: 188, column: 4, }, }, }, ), span: Span { start: Position { line: 32, column: 22, }, end: Position { line: 188, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enabledAgents", span: Span { start: Position { line: 189, column: 3, }, end: Position { line: 189, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 189, column: 19, }, end: Position { line: 189, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filterAttrs", span: Span { start: Position { line: 189, column: 23, }, end: Position { line: 189, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 189, column: 42, }, end: Position { line: 189, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 189, column: 44, }, end: Position { line: 189, column: 50, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 189, column: 39, }, end: Position { line: 189, column: 50, }, }, }, ), span: Span { start: Position { line: 189, column: 36, }, end: Position { line: 189, column: 50, }, }, }, ), Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 189, column: 52, }, end: Position { line: 189, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mapAgents", span: Span { start: Position { line: 190, column: 3, }, end: Position { line: 190, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "function", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 190, column: 25, }, end: Position { line: 190, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkMerge", span: Span { start: Position { line: 190, column: 29, }, end: Position { line: 190, column: 36, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 190, column: 38, }, end: Position { line: 190, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 190, column: 42, }, end: Position { line: 190, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "function", span: Span { start: Position { line: 190, column: 57, }, end: Position { line: 190, column: 65, }, }, }, ), Identifier( Identifier { id: "enabledAgents", span: Span { start: Position { line: 190, column: 66, }, end: Position { line: 190, column: 79, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 190, column: 15, }, end: Position { line: 190, column: 80, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 193, column: 3, }, end: Position { line: 193, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 193, column: 11, }, end: Position { line: 193, column: 19, }, }, }, ), Raw( PartRaw { content: "buildkite-agents", span: Span { start: Position { line: 193, column: 20, }, end: Position { line: 193, column: 36, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 193, column: 39, }, end: Position { line: 193, column: 47, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 194, column: 5, }, end: Position { line: 194, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 194, column: 12, }, end: Position { line: 194, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 194, column: 18, }, end: Position { line: 194, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 194, column: 27, }, end: Position { line: 194, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 194, column: 33, }, end: Position { line: 194, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "buildkiteOptions", span: Span { start: Position { line: 194, column: 43, }, end: Position { line: 194, column: 59, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 195, column: 5, }, end: Position { line: 195, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 195, column: 15, }, end: Position { line: 195, column: 17, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 196, column: 5, }, end: Position { line: 196, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 196, column: 19, }, end: Position { line: 196, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 196, column: 23, }, end: Position { line: 196, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Attribute set of buildkite agents.\nThe attribute key is combined with the hostname and a unique integer to\ncreate the final agent name. This can be overridden by setting the `name`\nattribute.\n", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 201, column: 5, }, }, }, ), ], span: Span { start: Position { line: 196, column: 29, }, end: Position { line: 201, column: 7, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 193, column: 48, }, end: Position { line: 202, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 204, column: 3, }, end: Position { line: 204, column: 9, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 204, column: 10, }, end: Position { line: 204, column: 15, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 204, column: 16, }, end: Position { line: 204, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAgents", span: Span { start: Position { line: 204, column: 24, }, end: Position { line: 204, column: 33, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "cfg", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "buildkite-agent-", span: Span { start: Position { line: 205, column: 6, }, end: Position { line: 205, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 205, column: 24, }, end: Position { line: 205, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 205, column: 5, }, end: Position { line: 205, column: 30, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 206, column: 7, }, end: Position { line: 206, column: 11, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "buildkite-agent-", span: Span { start: Position { line: 206, column: 15, }, end: Position { line: 206, column: 38, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 206, column: 33, }, end: Position { line: 206, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 206, column: 14, }, end: Position { line: 206, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 207, column: 7, }, end: Position { line: 207, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 207, column: 14, }, end: Position { line: 207, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 207, column: 18, }, end: Position { line: 207, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createHome", span: Span { start: Position { line: 208, column: 7, }, end: Position { line: 208, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 208, column: 20, }, end: Position { line: 208, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 209, column: 7, }, end: Position { line: 209, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Buildkite agent user", span: Span { start: Position { line: 209, column: 22, }, end: Position { line: 209, column: 42, }, }, }, ), ], span: Span { start: Position { line: 209, column: 21, }, end: Position { line: 209, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 210, column: 7, }, end: Position { line: 210, column: 18, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "keys", span: Span { start: Position { line: 210, column: 24, }, end: Position { line: 210, column: 28, }, }, }, ), ], span: Span { start: Position { line: 210, column: 23, }, end: Position { line: 210, column: 29, }, }, }, ), ], span: Span { start: Position { line: 210, column: 21, }, end: Position { line: 210, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 211, column: 7, }, end: Position { line: 211, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 211, column: 22, }, end: Position { line: 211, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 212, column: 7, }, end: Position { line: 212, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "buildkite-agent-", span: Span { start: Position { line: 212, column: 16, }, end: Position { line: 212, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 212, column: 34, }, end: Position { line: 212, column: 38, }, }, }, ), }, ), ], span: Span { start: Position { line: 212, column: 15, }, end: Position { line: 212, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 205, column: 33, }, end: Position { line: 213, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 204, column: 46, }, end: Position { line: 214, column: 4, }, }, }, ), span: Span { start: Position { line: 204, column: 41, }, end: Position { line: 214, column: 4, }, }, }, ), span: Span { start: Position { line: 204, column: 35, }, end: Position { line: 214, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 215, column: 3, }, end: Position { line: 215, column: 9, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 215, column: 10, }, end: Position { line: 215, column: 15, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 215, column: 16, }, end: Position { line: 215, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAgents", span: Span { start: Position { line: 215, column: 25, }, end: Position { line: 215, column: 34, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "cfg", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "buildkite-agent-", span: Span { start: Position { line: 216, column: 6, }, end: Position { line: 216, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 216, column: 24, }, end: Position { line: 216, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 216, column: 5, }, end: Position { line: 216, column: 30, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 216, column: 33, }, end: Position { line: 216, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 215, column: 47, }, end: Position { line: 217, column: 4, }, }, }, ), span: Span { start: Position { line: 215, column: 42, }, end: Position { line: 217, column: 4, }, }, }, ), span: Span { start: Position { line: 215, column: 36, }, end: Position { line: 217, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 219, column: 3, }, end: Position { line: 219, column: 9, }, }, }, ), Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 219, column: 10, }, end: Position { line: 219, column: 17, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 219, column: 18, }, end: Position { line: 219, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAgents", span: Span { start: Position { line: 219, column: 29, }, end: Position { line: 219, column: 38, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "cfg", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "buildkite-agent-", span: Span { start: Position { line: 220, column: 6, }, end: Position { line: 220, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 220, column: 24, }, end: Position { line: 220, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 220, column: 5, }, end: Position { line: 220, column: 30, }, }, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 221, column: 9, }, end: Position { line: 221, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Buildkite Agent", span: Span { start: Position { line: 221, column: 24, }, end: Position { line: 221, column: 39, }, }, }, ), ], span: Span { start: Position { line: 221, column: 23, }, end: Position { line: 221, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 222, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 222, column: 23, }, end: Position { line: 222, column: 40, }, }, }, ), ], span: Span { start: Position { line: 222, column: 22, }, end: Position { line: 222, column: 41, }, }, }, ), ], span: Span { start: Position { line: 222, column: 20, }, end: Position { line: 222, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 223, column: 9, }, end: Position { line: 223, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 223, column: 20, }, end: Position { line: 223, column: 34, }, }, }, ), ], span: Span { start: Position { line: 223, column: 19, }, end: Position { line: 223, column: 35, }, }, }, ), ], span: Span { start: Position { line: 223, column: 17, }, end: Position { line: 223, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 224, column: 9, }, end: Position { line: 224, column: 13, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 224, column: 16, }, end: Position { line: 224, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runtimePackages", span: Span { start: Position { line: 224, column: 20, }, end: Position { line: 224, column: 35, }, }, }, ), ], default: None, }, ), operator: Concatenation, right: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 224, column: 41, }, end: Position { line: 224, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 224, column: 45, }, end: Position { line: 224, column: 52, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 224, column: 53, }, end: Position { line: 224, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 224, column: 58, }, end: Position { line: 224, column: 67, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 224, column: 39, }, end: Position { line: 224, column: 69, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 225, column: 9, }, end: Position { line: 225, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 225, column: 23, }, end: Position { line: 225, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "networking", span: Span { start: Position { line: 225, column: 30, }, end: Position { line: 225, column: 40, }, }, }, ), Raw( PartRaw { content: "proxy", span: Span { start: Position { line: 225, column: 41, }, end: Position { line: 225, column: 46, }, }, }, ), Raw( PartRaw { content: "envVars", span: Span { start: Position { line: 225, column: 47, }, end: Position { line: 225, column: 54, }, }, }, ), ], default: None, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HOME", span: Span { start: Position { line: 226, column: 11, }, end: Position { line: 226, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 226, column: 18, }, end: Position { line: 226, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 226, column: 22, }, end: Position { line: 226, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NIX_REMOTE", span: Span { start: Position { line: 227, column: 11, }, end: Position { line: 227, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "daemon", span: Span { start: Position { line: 227, column: 25, }, end: Position { line: 227, column: 31, }, }, }, ), ], span: Span { start: Position { line: 227, column: 24, }, end: Position { line: 227, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 225, column: 58, }, end: Position { line: 228, column: 10, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 232, column: 9, }, end: Position { line: 232, column: 17, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sshDir", span: Span { start: Position { line: 233, column: 11, }, end: Position { line: 233, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 233, column: 23, }, end: Position { line: 233, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 233, column: 27, }, end: Position { line: 233, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/.ssh", span: Span { start: Position { line: 233, column: 21, }, end: Position { line: 233, column: 40, }, }, }, ), ], span: Span { start: Position { line: 233, column: 20, }, end: Position { line: 233, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tagStr", span: Span { start: Position { line: 234, column: 11, }, end: Position { line: 234, column: 17, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 235, column: 16, }, end: Position { line: 235, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "isList", span: Span { start: Position { line: 235, column: 20, }, end: Position { line: 235, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 235, column: 27, }, end: Position { line: 235, column: 32, }, }, }, ), ], }, ), then: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 236, column: 18, }, end: Position { line: 236, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 236, column: 22, }, end: Position { line: 236, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 236, column: 40, }, end: Position { line: 236, column: 41, }, }, }, ), ], span: Span { start: Position { line: 236, column: 39, }, end: Position { line: 236, column: 42, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 236, column: 44, }, end: Position { line: 236, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "map", span: Span { start: Position { line: 236, column: 53, }, end: Position { line: 236, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 236, column: 64, }, end: Position { line: 236, column: 68, }, }, }, ), }, ), Raw( PartRaw { content: "=", span: Span { start: Position { line: 236, column: 62, }, end: Position { line: 236, column: 70, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "v", span: Span { start: Position { line: 236, column: 72, }, end: Position { line: 236, column: 73, }, }, }, ), }, ), ], span: Span { start: Position { line: 236, column: 61, }, end: Position { line: 236, column: 75, }, }, }, ), span: Span { start: Position { line: 236, column: 58, }, end: Position { line: 236, column: 75, }, }, }, ), Identifier( Identifier { id: "value", span: Span { start: Position { line: 236, column: 77, }, end: Position { line: 236, column: 82, }, }, }, ), ], }, ), ], }, ), else_: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 237, column: 21, }, end: Position { line: 237, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: "=", span: Span { start: Position { line: 237, column: 19, }, end: Position { line: 237, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 237, column: 29, }, end: Position { line: 237, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 237, column: 18, }, end: Position { line: 237, column: 36, }, }, }, ), span: Span { start: Position { line: 235, column: 13, }, end: Position { line: 237, column: 36, }, }, }, ), span: Span { start: Position { line: 234, column: 26, }, end: Position { line: 237, column: 36, }, }, }, ), span: Span { start: Position { line: 234, column: 20, }, end: Position { line: 237, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tagsStr", span: Span { start: Position { line: 238, column: 11, }, end: Position { line: 238, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 238, column: 21, }, end: Position { line: 238, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 238, column: 25, }, end: Position { line: 238, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ",", span: Span { start: Position { line: 238, column: 43, }, end: Position { line: 238, column: 44, }, }, }, ), ], span: Span { start: Position { line: 238, column: 42, }, end: Position { line: 238, column: 45, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 238, column: 47, }, end: Position { line: 238, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 238, column: 51, }, end: Position { line: 238, column: 65, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "tagStr", span: Span { start: Position { line: 238, column: 66, }, end: Position { line: 238, column: 72, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 238, column: 73, }, end: Position { line: 238, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "tags", span: Span { start: Position { line: 238, column: 77, }, end: Position { line: 238, column: 81, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 240, column: 11, }, end: Position { line: 240, column: 25, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 240, column: 27, }, end: Position { line: 240, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "privateSshKeyPath", span: Span { start: Position { line: 240, column: 31, }, end: Position { line: 240, column: 48, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 240, column: 52, }, end: Position { line: 240, column: 56, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -m 0700 -p \"", span: Span { start: Position { line: 241, column: 1, }, end: Position { line: 241, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "sshDir", span: Span { start: Position { line: 241, column: 33, }, end: Position { line: 241, column: 39, }, }, }, ), }, ), Raw( PartRaw { content: "\"\ninstall -m600 \"", span: Span { start: Position { line: 241, column: 1, }, end: Position { line: 242, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 242, column: 30, }, end: Position { line: 242, column: 38, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 242, column: 39, }, end: Position { line: 242, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "privateSshKeyPath", span: Span { start: Position { line: 242, column: 43, }, end: Position { line: 242, column: 60, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\" \"", span: Span { start: Position { line: 241, column: 1, }, end: Position { line: 242, column: 64, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "sshDir", span: Span { start: Position { line: 242, column: 66, }, end: Position { line: 242, column: 72, }, }, }, ), }, ), Raw( PartRaw { content: "/id_rsa\"\n", span: Span { start: Position { line: 241, column: 1, }, end: Position { line: 243, column: 11, }, }, }, ), ], span: Span { start: Position { line: 240, column: 58, }, end: Position { line: 243, column: 13, }, }, }, ), ], }, ), operator: Addition, right: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cat > \"", span: Span { start: Position { line: 244, column: 1, }, end: Position { line: 244, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 244, column: 22, }, end: Position { line: 244, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 244, column: 26, }, end: Position { line: 244, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/buildkite-agent.cfg\" <' are mutually exclusive.\n", span: Span { start: Position { line: 271, column: 1, }, end: Position { line: 273, column: 9, }, }, }, ), ], span: Span { start: Position { line: 270, column: 19, }, end: Position { line: 273, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 269, column: 7, }, end: Position { line: 274, column: 8, }, }, }, ), ], span: Span { start: Position { line: 268, column: 45, }, end: Position { line: 275, column: 4, }, }, }, ), span: Span { start: Position { line: 268, column: 40, }, end: Position { line: 275, column: 4, }, }, }, ), span: Span { start: Position { line: 268, column: 34, }, end: Position { line: 275, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 277, column: 3, }, end: Position { line: 277, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 278, column: 6, }, end: Position { line: 278, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 278, column: 31, }, end: Position { line: 278, column: 39, }, }, }, ), ], span: Span { start: Position { line: 278, column: 30, }, end: Position { line: 278, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "buildkite-agent", span: Span { start: Position { line: 278, column: 42, }, end: Position { line: 278, column: 57, }, }, }, ), ], span: Span { start: Position { line: 278, column: 41, }, end: Position { line: 278, column: 58, }, }, }, ), ], span: Span { start: Position { line: 278, column: 28, }, end: Position { line: 278, column: 59, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "services.buildkite-agent has been upgraded from version 2 to version 3 and moved to an attribute set at services.buildkite-agents. Please consult the 20.03 release notes for more information.", span: Span { start: Position { line: 278, column: 61, }, end: Position { line: 278, column: 252, }, }, }, ), ], span: Span { start: Position { line: 278, column: 60, }, end: Position { line: 278, column: 253, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 277, column: 13, }, end: Position { line: 279, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 192, column: 1, }, end: Position { line: 280, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 280, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 280, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 280, column: 2, }, }, }, )