Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "options", 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: "gocd-agent", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 35, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "opt", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 17, }, end: Position { line: 7, column: 25, }, }, }, ), Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 7, column: 26, }, end: Position { line: 7, column: 36, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 13, }, }, }, ), Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 30, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 11, column: 32, }, end: Position { line: 11, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 11, column: 36, }, end: Position { line: 11, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 11, column: 43, }, end: Position { line: 11, column: 53, }, }, }, ), ], span: Span { start: Position { line: 11, column: 42, }, end: Position { line: 11, column: 54, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 13, column: 14, }, end: Position { line: 13, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 14, column: 20, }, end: Position { line: 14, column: 30, }, }, }, ), ], span: Span { start: Position { line: 14, column: 19, }, end: Position { line: 14, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 15, column: 16, }, end: Position { line: 15, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 16, column: 23, }, end: Position { line: 16, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 16, column: 27, }, end: Position { line: 16, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "User the Go.CD agent should execute under.\n", span: Span { start: Position { line: 17, column: 1, }, end: Position { line: 18, column: 9, }, }, }, ), ], span: Span { start: Position { line: 16, column: 33, }, end: Position { line: 18, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 13, column: 23, }, end: Position { line: 19, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 21, column: 15, }, end: Position { line: 21, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 22, column: 20, }, end: Position { line: 22, column: 30, }, }, }, ), ], span: Span { start: Position { line: 22, column: 19, }, end: Position { line: 22, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 23, column: 16, }, end: Position { line: 23, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 23, column: 22, }, end: Position { line: 23, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 23, }, end: Position { line: 24, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 24, column: 27, }, end: Position { line: 24, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "If the default user \"gocd-agent\" is configured then this is the primary\ngroup of that user.\n", span: Span { start: Position { line: 25, column: 1, }, end: Position { line: 27, column: 9, }, }, }, ), ], span: Span { start: Position { line: 24, column: 33, }, end: Position { line: 27, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 21, column: 24, }, end: Position { line: 28, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 30, column: 21, }, end: Position { line: 30, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 31, column: 16, }, end: Position { line: 31, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 31, column: 22, }, end: Position { line: 31, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 31, column: 29, }, end: Position { line: 31, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 31, column: 35, }, end: Position { line: 31, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 32, column: 9, }, end: Position { line: 32, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 32, column: 19, }, end: Position { line: 32, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "wheel", span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 33, column: 27, }, }, }, ), ], span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 33, column: 28, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "docker", span: Span { start: Position { line: 33, column: 30, }, end: Position { line: 33, column: 36, }, }, }, ), ], span: Span { start: Position { line: 33, column: 29, }, end: Position { line: 33, column: 37, }, }, }, ), ], span: Span { start: Position { line: 33, column: 19, }, end: Position { line: 33, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 34, column: 23, }, end: Position { line: 34, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 34, column: 27, }, end: Position { line: 34, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "List of extra groups that the \"gocd-agent\" user should be a part of.\n", span: Span { start: Position { line: 35, column: 1, }, end: Position { line: 36, column: 9, }, }, }, ), ], span: Span { start: Position { line: 34, column: 33, }, end: Position { line: 36, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 30, column: 30, }, end: Position { line: 37, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "packages", span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 39, column: 18, }, end: Position { line: 39, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 16, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 40, column: 21, }, end: Position { line: 40, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 40, column: 26, }, end: Position { line: 40, column: 32, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 40, column: 33, }, end: Position { line: 40, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "jre", span: Span { start: Position { line: 40, column: 38, }, end: Position { line: 40, column: 41, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 40, column: 42, }, end: Position { line: 40, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "git", span: Span { start: Position { line: 40, column: 47, }, end: Position { line: 40, column: 50, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 40, column: 51, }, end: Position { line: 40, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 40, column: 58, }, end: Position { line: 40, column: 66, }, }, }, ), Raw( PartRaw { content: "ssh", span: Span { start: Position { line: 40, column: 67, }, end: Position { line: 40, column: 70, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 40, column: 71, }, end: Position { line: 40, column: 78, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 40, column: 79, }, end: Position { line: 40, column: 83, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 40, column: 84, }, end: Position { line: 40, column: 87, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 40, column: 19, }, end: Position { line: 40, column: 89, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 41, column: 23, }, end: Position { line: 41, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "[ pkgs.stdenv pkgs.jre pkgs.git config.programs.ssh.package pkgs.nix ]", span: Span { start: Position { line: 41, column: 42, }, end: Position { line: 41, column: 112, }, }, }, ), ], span: Span { start: Position { line: 41, column: 41, }, end: Position { line: 41, column: 113, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 42, column: 16, }, end: Position { line: 42, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 42, column: 22, }, end: Position { line: 42, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 42, column: 29, }, end: Position { line: 42, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 42, column: 35, }, end: Position { line: 42, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), }, ), 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: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Packages to add to PATH for the Go.CD agent process.\n", span: Span { start: Position { line: 44, column: 1, }, end: Position { line: 45, column: 9, }, }, }, ), ], span: Span { start: Position { line: 43, column: 33, }, end: Position { line: 45, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 39, column: 27, }, end: Position { line: 46, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "agentConfig", span: Span { start: Position { line: 48, column: 7, }, end: Position { line: 48, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 48, column: 21, }, end: Position { line: 48, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 49, column: 19, }, end: Position { line: 49, column: 21, }, }, }, ), }, ), 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, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "agent.auto.register.resources=ant,java\nagent.auto.register.environments=QA,Performance\nagent.auto.register.hostname=Agent01\n", span: Span { start: Position { line: 52, column: 1, }, end: Position { line: 55, column: 9, }, }, }, ), ], span: Span { start: Position { line: 51, column: 19, }, end: Position { line: 55, column: 11, }, }, }, ), }, ), 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: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Agent registration configuration.\n", span: Span { start: Position { line: 57, column: 1, }, end: Position { line: 58, column: 9, }, }, }, ), ], span: Span { start: Position { line: 56, column: 33, }, end: Position { line: 58, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 48, column: 30, }, end: Position { line: 59, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "goServer", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 61, column: 18, }, end: Position { line: 61, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 62, column: 9, }, end: Position { line: 62, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "https://127.0.0.1:8154/go", span: Span { start: Position { line: 62, column: 20, }, end: Position { line: 62, column: 45, }, }, }, ), ], span: Span { start: Position { line: 62, column: 19, }, end: Position { line: 62, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 63, column: 16, }, end: Position { line: 63, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 63, column: 22, }, end: Position { line: 63, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 64, column: 23, }, end: Position { line: 64, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 64, column: 27, }, end: Position { line: 64, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "URL of the GoCD Server to attach the Go.CD Agent to.\n", span: Span { start: Position { line: 65, column: 1, }, end: Position { line: 66, column: 9, }, }, }, ), ], span: Span { start: Position { line: 64, column: 33, }, end: Position { line: 66, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 61, column: 27, }, end: Position { line: 67, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 69, column: 17, }, end: Position { line: 69, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/go-agent", span: Span { start: Position { line: 70, column: 20, }, end: Position { line: 70, column: 37, }, }, }, ), ], span: Span { start: Position { line: 70, column: 19, }, end: Position { line: 70, column: 38, }, }, }, ), }, ), 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: "description", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 72, column: 23, }, end: Position { line: 72, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 72, column: 27, }, end: Position { line: 72, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Specifies the working directory in which the Go.CD agent java archive resides.\n", span: Span { start: Position { line: 73, column: 1, }, end: Position { line: 74, column: 9, }, }, }, ), ], span: Span { start: Position { line: 72, column: 33, }, end: Position { line: 74, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 69, column: 26, }, end: Position { line: 75, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "initialJavaHeapSize", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 77, column: 29, }, end: Position { line: 77, column: 37, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "128m", span: Span { start: Position { line: 78, column: 20, }, end: Position { line: 78, column: 24, }, }, }, ), ], span: Span { start: Position { line: 78, column: 19, }, end: Position { line: 78, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 13, }, }, }, ), ], to: 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: "str", span: Span { start: Position { line: 79, column: 22, }, end: Position { line: 79, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 80, column: 23, }, end: Position { line: 80, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 80, column: 27, }, end: Position { line: 80, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Specifies the initial java heap memory size for the Go.CD agent java process.\n", span: Span { start: Position { line: 81, column: 1, }, end: Position { line: 82, column: 9, }, }, }, ), ], span: Span { start: Position { line: 80, column: 33, }, end: Position { line: 82, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 77, column: 38, }, end: Position { line: 83, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "maxJavaHeapMemory", span: Span { start: Position { line: 85, column: 7, }, end: Position { line: 85, column: 24, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 85, column: 27, }, end: Position { line: 85, column: 35, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 86, column: 9, }, end: Position { line: 86, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "256m", span: Span { start: Position { line: 86, column: 20, }, end: Position { line: 86, column: 24, }, }, }, ), ], span: Span { start: Position { line: 86, column: 19, }, end: Position { line: 86, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 87, column: 9, }, end: Position { line: 87, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 87, column: 16, }, end: Position { line: 87, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 87, column: 22, }, end: Position { line: 87, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 88, column: 23, }, end: Position { line: 88, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 88, column: 27, }, end: Position { line: 88, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Specifies the java maximum heap memory size for the Go.CD agent java process.\n", span: Span { start: Position { line: 89, column: 1, }, end: Position { line: 90, column: 9, }, }, }, ), ], span: Span { start: Position { line: 88, column: 33, }, end: Position { line: 90, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 85, column: 36, }, end: Position { line: 91, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startupOptions", span: Span { start: Position { line: 93, column: 7, }, end: Position { line: 93, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 93, column: 24, }, end: Position { line: 93, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 94, column: 9, }, end: Position { line: 94, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 94, column: 16, }, end: Position { line: 94, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 94, column: 22, }, end: Position { line: 94, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 94, column: 29, }, end: Position { line: 94, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 94, column: 35, }, end: Position { line: 94, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 95, column: 9, }, end: Position { line: 95, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "-Xms", span: Span { start: Position { line: 96, column: 12, }, end: Position { line: 96, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 96, column: 18, }, end: Position { line: 96, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "initialJavaHeapSize", span: Span { start: Position { line: 96, column: 22, }, end: Position { line: 96, column: 41, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 96, column: 11, }, end: Position { line: 96, column: 43, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-Xmx", span: Span { start: Position { line: 97, column: 12, }, end: Position { line: 97, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 97, column: 18, }, end: Position { line: 97, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maxJavaHeapMemory", span: Span { start: Position { line: 97, column: 22, }, end: Position { line: 97, column: 39, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 97, column: 11, }, end: Position { line: 97, column: 41, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-Djava.io.tmpdir=/tmp", span: Span { start: Position { line: 98, column: 12, }, end: Position { line: 98, column: 33, }, }, }, ), ], span: Span { start: Position { line: 98, column: 11, }, end: Position { line: 98, column: 34, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-Dcruise.console.publish.interval=10", span: Span { start: Position { line: 99, column: 12, }, end: Position { line: 99, column: 48, }, }, }, ), ], span: Span { start: Position { line: 99, column: 11, }, end: Position { line: 99, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-Djava.security.egd=file:/dev/./urandom", span: Span { start: Position { line: 100, column: 12, }, end: Position { line: 100, column: 51, }, }, }, ), ], span: Span { start: Position { line: 100, column: 11, }, end: Position { line: 100, column: 52, }, }, }, ), ], span: Span { start: Position { line: 95, column: 19, }, end: Position { line: 101, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 102, column: 9, }, end: Position { line: 102, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 102, column: 23, }, end: Position { line: 102, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[\n \"-Xms", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 104, column: 18, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 104, column: 21, }, }, }, ), Raw( PartRaw { content: "{config.", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 104, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 104, column: 31, }, end: Position { line: 104, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "initialJavaHeapSize", span: Span { start: Position { line: 104, column: 35, }, end: Position { line: 104, column: 54, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "}\"\n \"-Xmx", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 105, column: 18, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 105, column: 21, }, }, }, ), Raw( PartRaw { content: "{config.", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 105, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "opt", span: Span { start: Position { line: 105, column: 31, }, end: Position { line: 105, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "maxJavaHeapMemory", span: Span { start: Position { line: 105, column: 35, }, end: Position { line: 105, column: 52, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "}\"\n \"-Djava.io.tmpdir=/tmp\"\n \"-Dcruise.console.publish.interval=10\"\n \"-Djava.security.egd=file:/dev/./urandom\"\n]\n", span: Span { start: Position { line: 103, column: 1, }, end: Position { line: 110, column: 9, }, }, }, ), ], span: Span { start: Position { line: 102, column: 41, }, end: Position { line: 110, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 111, column: 9, }, end: Position { line: 111, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 111, column: 23, }, end: Position { line: 111, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 111, column: 27, }, end: Position { line: 111, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Specifies startup command line arguments to pass to Go.CD agent\njava process.\n", span: Span { start: Position { line: 112, column: 1, }, end: Position { line: 114, column: 9, }, }, }, ), ], span: Span { start: Position { line: 111, column: 33, }, end: Position { line: 114, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 93, column: 33, }, end: Position { line: 115, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 117, column: 7, }, end: Position { line: 117, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 117, column: 22, }, end: Position { line: 117, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 118, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 118, column: 19, }, end: Position { line: 118, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 119, column: 9, }, end: Position { line: 119, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 119, column: 16, }, end: Position { line: 119, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 119, column: 22, }, end: Position { line: 119, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 119, column: 29, }, end: Position { line: 119, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 119, column: 35, }, end: Position { line: 119, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "-X debug", span: Span { start: Position { line: 121, column: 12, }, end: Position { line: 121, column: 20, }, }, }, ), ], span: Span { start: Position { line: 121, column: 11, }, end: Position { line: 121, column: 21, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=5006", span: Span { start: Position { line: 122, column: 12, }, end: Position { line: 122, column: 73, }, }, }, ), ], span: Span { start: Position { line: 122, column: 11, }, end: Position { line: 122, column: 74, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-verbose:gc", span: Span { start: Position { line: 123, column: 12, }, end: Position { line: 123, column: 23, }, }, }, ), ], span: Span { start: Position { line: 123, column: 11, }, end: Position { line: 123, column: 24, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-Xloggc:go-agent-gc.log", span: Span { start: Position { line: 124, column: 12, }, end: Position { line: 124, column: 35, }, }, }, ), ], span: Span { start: Position { line: 124, column: 11, }, end: Position { line: 124, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-XX:+PrintGCTimeStamps", span: Span { start: Position { line: 125, column: 12, }, end: Position { line: 125, column: 34, }, }, }, ), ], span: Span { start: Position { line: 125, column: 11, }, end: Position { line: 125, column: 35, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-XX:+PrintTenuringDistribution", span: Span { start: Position { line: 126, column: 12, }, end: Position { line: 126, column: 42, }, }, }, ), ], span: Span { start: Position { line: 126, column: 11, }, end: Position { line: 126, column: 43, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-XX:+PrintGCDetails", span: Span { start: Position { line: 127, column: 12, }, end: Position { line: 127, column: 31, }, }, }, ), ], span: Span { start: Position { line: 127, column: 11, }, end: Position { line: 127, column: 32, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-XX:+PrintGC", span: Span { start: Position { line: 128, column: 12, }, end: Position { line: 128, column: 24, }, }, }, ), ], span: Span { start: Position { line: 128, column: 11, }, end: Position { line: 128, column: 25, }, }, }, ), ], span: Span { start: Position { line: 120, column: 19, }, end: Position { line: 129, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 130, column: 23, }, end: Position { line: 130, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 130, column: 27, }, end: Position { line: 130, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Specifies additional command line arguments to pass to Go.CD agent\njava process. Example contains debug and gcLog arguments.\n", span: Span { start: Position { line: 131, column: 1, }, end: Position { line: 133, column: 9, }, }, }, ), ], span: Span { start: Position { line: 130, column: 33, }, end: Position { line: 133, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 117, column: 31, }, end: Position { line: 134, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 136, column: 7, }, end: Position { line: 136, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 136, column: 21, }, end: Position { line: 136, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 137, column: 9, }, end: Position { line: 137, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 137, column: 19, }, end: Position { line: 137, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 138, column: 9, }, end: Position { line: 138, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 138, column: 21, }, end: Position { line: 138, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 138, column: 28, }, end: Position { line: 138, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 138, column: 36, }, end: Position { line: 138, column: 39, }, }, }, ), ], }, ), span: Span { start: Position { line: 138, column: 16, }, end: Position { line: 138, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 139, column: 9, }, end: Position { line: 139, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 139, column: 23, }, end: Position { line: 139, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 139, column: 27, }, end: Position { line: 139, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Additional environment variables to be passed to the Go.CD agent process.\nAs a base environment, Go.CD agent receives NIX_PATH from\n{option}`environment.sessionVariables`, NIX_REMOTE is set to\n\"daemon\".\n", span: Span { start: Position { line: 140, column: 1, }, end: Position { line: 144, column: 9, }, }, }, ), ], span: Span { start: Position { line: 139, column: 33, }, end: Position { line: 144, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 136, column: 30, }, end: Position { line: 145, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 27, }, end: Position { line: 146, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 147, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 149, column: 3, }, end: Position { line: 149, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 149, column: 12, }, end: Position { line: 149, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 149, column: 17, }, end: Position { line: 149, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 149, column: 21, }, end: Position { line: 149, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 150, column: 5, }, end: Position { line: 150, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 150, column: 11, }, end: Position { line: 150, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 150, column: 20, }, end: Position { line: 150, column: 33, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 150, column: 35, }, end: Position { line: 150, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 150, column: 39, }, end: Position { line: 150, column: 44, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 150, column: 49, }, end: Position { line: 150, column: 59, }, }, }, ), ], span: Span { start: Position { line: 150, column: 48, }, end: Position { line: 150, column: 60, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 151, column: 7, }, end: Position { line: 151, column: 17, }, }, }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 151, column: 18, }, end: Position { line: 151, column: 21, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 151, column: 24, }, end: Position { line: 151, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 151, column: 31, }, end: Position { line: 151, column: 34, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 151, column: 35, }, end: Position { line: 151, column: 39, }, }, }, ), Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 151, column: 40, }, end: Position { line: 151, column: 50, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 150, column: 62, }, end: Position { line: 152, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 154, column: 5, }, end: Position { line: 154, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 154, column: 11, }, end: Position { line: 154, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 154, column: 19, }, end: Position { line: 154, column: 32, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 154, column: 34, }, end: Position { line: 154, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 154, column: 38, }, end: Position { line: 154, column: 42, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 154, column: 47, }, end: Position { line: 154, column: 57, }, }, }, ), ], span: Span { start: Position { line: 154, column: 46, }, end: Position { line: 154, column: 58, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 155, column: 7, }, end: Position { line: 155, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 156, column: 9, }, end: Position { line: 156, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "gocd-agent user", span: Span { start: Position { line: 156, column: 24, }, end: Position { line: 156, column: 39, }, }, }, ), ], span: Span { start: Position { line: 156, column: 23, }, end: Position { line: 156, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createHome", span: Span { start: Position { line: 157, column: 9, }, end: Position { line: 157, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 157, column: 22, }, end: Position { line: 157, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 158, column: 16, }, end: Position { line: 158, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 158, column: 20, }, end: Position { line: 158, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 159, column: 17, }, end: Position { line: 159, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 159, column: 21, }, end: Position { line: 159, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 160, column: 9, }, end: Position { line: 160, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 160, column: 23, }, end: Position { line: 160, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 160, column: 27, }, end: Position { line: 160, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useDefaultShell", span: Span { start: Position { line: 161, column: 9, }, end: Position { line: 161, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 161, column: 27, }, end: Position { line: 161, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 162, column: 9, }, end: Position { line: 162, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 162, column: 15, }, end: Position { line: 162, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 162, column: 22, }, end: Position { line: 162, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 162, column: 26, }, end: Position { line: 162, column: 30, }, }, }, ), Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 162, column: 31, }, end: Position { line: 162, column: 41, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 155, column: 20, }, end: Position { line: 163, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 154, column: 60, }, end: Position { line: 164, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 166, column: 5, }, end: Position { line: 166, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 166, column: 13, }, end: Position { line: 166, column: 21, }, }, }, ), Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 166, column: 22, }, end: Position { line: 166, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 167, column: 7, }, end: Position { line: 167, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "GoCD Agent", span: Span { start: Position { line: 167, column: 22, }, end: Position { line: 167, column: 32, }, }, }, ), ], span: Span { start: Position { line: 167, column: 21, }, end: Position { line: 167, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 168, column: 7, }, end: Position { line: 168, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 168, column: 18, }, end: Position { line: 168, column: 32, }, }, }, ), ], span: Span { start: Position { line: 168, column: 17, }, end: Position { line: 168, column: 33, }, }, }, ), ], span: Span { start: Position { line: 168, column: 15, }, end: Position { line: 168, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 169, column: 7, }, end: Position { line: 169, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 169, column: 21, }, end: Position { line: 169, column: 38, }, }, }, ), ], span: Span { start: Position { line: 169, column: 20, }, end: Position { line: 169, column: 39, }, }, }, ), ], span: Span { start: Position { line: 169, column: 18, }, end: Position { line: 169, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 171, column: 7, }, end: Position { line: 171, column: 18, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "selectedSessionVars", span: Span { start: Position { line: 173, column: 11, }, end: Position { line: 173, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 174, column: 13, }, end: Position { line: 174, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filterAttrs", span: Span { start: Position { line: 174, column: 17, }, end: Position { line: 174, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "n", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 174, column: 36, }, end: Position { line: 174, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "elem", span: Span { start: Position { line: 174, column: 45, }, end: Position { line: 174, column: 49, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "n", span: Span { start: Position { line: 174, column: 50, }, end: Position { line: 174, column: 51, }, }, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "NIX_PATH", span: Span { start: Position { line: 174, column: 55, }, end: Position { line: 174, column: 63, }, }, }, ), ], span: Span { start: Position { line: 174, column: 54, }, end: Position { line: 174, column: 64, }, }, }, ), ], span: Span { start: Position { line: 174, column: 52, }, end: Position { line: 174, column: 66, }, }, }, ), ], }, ), span: Span { start: Position { line: 174, column: 33, }, end: Position { line: 174, column: 66, }, }, }, ), span: Span { start: Position { line: 174, column: 30, }, end: Position { line: 174, column: 66, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 175, column: 15, }, end: Position { line: 175, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 175, column: 22, }, end: Position { line: 175, column: 33, }, }, }, ), Raw( PartRaw { content: "sessionVariables", span: Span { start: Position { line: 175, column: 34, }, end: Position { line: 175, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "selectedSessionVars", span: Span { start: Position { line: 177, column: 11, }, end: Position { line: 177, column: 30, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NIX_REMOTE", span: Span { start: Position { line: 179, column: 15, }, end: Position { line: 179, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "daemon", span: Span { start: Position { line: 179, column: 29, }, end: Position { line: 179, column: 35, }, }, }, ), ], span: Span { start: Position { line: 179, column: 28, }, end: Position { line: 179, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "AGENT_WORK_DIR", span: Span { start: Position { line: 180, column: 15, }, end: Position { line: 180, column: 29, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 180, column: 32, }, end: Position { line: 180, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 180, column: 36, }, end: Position { line: 180, column: 43, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "AGENT_STARTUP_ARGS", span: Span { start: Position { line: 181, column: 15, }, end: Position { line: 181, column: 33, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 181, column: 40, }, end: Position { line: 181, column: 56, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 181, column: 58, }, end: Position { line: 181, column: 59, }, }, }, ), ], span: Span { start: Position { line: 181, column: 57, }, end: Position { line: 181, column: 60, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 62, }, end: Position { line: 181, column: 65, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "startupOptions", span: Span { start: Position { line: 181, column: 66, }, end: Position { line: 181, column: 80, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 181, column: 36, }, end: Position { line: 181, column: 83, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LOG_DIR", span: Span { start: Position { line: 182, column: 15, }, end: Position { line: 182, column: 22, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 182, column: 25, }, end: Position { line: 182, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 182, column: 29, }, end: Position { line: 182, column: 36, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LOG_FILE", span: Span { start: Position { line: 183, column: 15, }, end: Position { line: 183, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 183, column: 29, }, end: Position { line: 183, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 183, column: 33, }, end: Position { line: 183, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/go-agent-start.log", span: Span { start: Position { line: 183, column: 27, }, end: Position { line: 183, column: 60, }, }, }, ), ], span: Span { start: Position { line: 183, column: 26, }, end: Position { line: 183, column: 61, }, }, }, ), }, ), ], span: Span { start: Position { line: 178, column: 13, }, end: Position { line: 184, column: 14, }, }, }, ), operator: Update, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 185, column: 13, }, end: Position { line: 185, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 185, column: 17, }, end: Position { line: 185, column: 28, }, }, }, ), ], default: None, }, ), }, ), }, ), span: Span { start: Position { line: 172, column: 9, }, end: Position { line: 185, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 187, column: 7, }, end: Position { line: 187, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 187, column: 14, }, end: Position { line: 187, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "packages", span: Span { start: Position { line: 187, column: 18, }, end: Position { line: 187, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 189, column: 7, }, end: Position { line: 189, column: 13, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "MPATH=\"", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 190, column: 16, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 190, column: 19, }, }, }, ), Raw( PartRaw { content: "{PATH}\";\nsource /etc/profile\nexport PATH=\"", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 192, column: 22, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 192, column: 25, }, }, }, ), Raw( PartRaw { content: "{MPATH}:", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 192, column: 33, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 192, column: 36, }, }, }, ), Raw( PartRaw { content: "{PATH}\";\n\nif ! test -f ~/.nixpkgs/config.nix; then\n mkdir -p ~/.nixpkgs/\n echo \"{ allowUnfree = true; }\" > ~/.nixpkgs/config.nix\nfi\n\nmkdir -p config\nrm -f config/autoregister.properties\nln -s \"", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 201, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 201, column: 18, }, end: Position { line: 201, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 201, column: 23, }, end: Position { line: 201, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "autoregister.properties", span: Span { start: Position { line: 201, column: 34, }, end: Position { line: 201, column: 57, }, }, }, ), ], span: Span { start: Position { line: 201, column: 33, }, end: Position { line: 201, column: 58, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 201, column: 59, }, end: Position { line: 201, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "agentConfig", span: Span { start: Position { line: 201, column: 63, }, end: Position { line: 201, column: 74, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\" config/autoregister.properties\n\n", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 203, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 203, column: 11, }, end: Position { line: 203, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "git", span: Span { start: Position { line: 203, column: 16, }, end: Position { line: 203, column: 19, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/git config --global --add http.sslCAinfo /etc/ssl/certs/ca-certificates.crt\n", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 204, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 204, column: 11, }, end: Position { line: 204, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "jre", span: Span { start: Position { line: 204, column: 16, }, end: Position { line: 204, column: 19, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/java ", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 204, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 204, column: 32, }, end: Position { line: 204, column: 48, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 204, column: 50, }, end: Position { line: 204, column: 51, }, }, }, ), ], span: Span { start: Position { line: 204, column: 49, }, end: Position { line: 204, column: 52, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 204, column: 53, }, end: Position { line: 204, column: 56, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "startupOptions", span: Span { start: Position { line: 204, column: 57, }, end: Position { line: 204, column: 71, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 205, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 205, column: 27, }, end: Position { line: 205, column: 43, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 205, column: 45, }, end: Position { line: 205, column: 46, }, }, }, ), ], span: Span { start: Position { line: 205, column: 44, }, end: Position { line: 205, column: 47, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 205, column: 48, }, end: Position { line: 205, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 205, column: 52, }, end: Position { line: 205, column: 64, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n -jar ", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 206, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 206, column: 38, }, end: Position { line: 206, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gocd-agent", span: Span { start: Position { line: 206, column: 43, }, end: Position { line: 206, column: 53, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/go-agent/agent-bootstrapper.jar \\\n -serverUrl ", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 207, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 207, column: 44, }, end: Position { line: 207, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "goServer", span: Span { start: Position { line: 207, column: 48, }, end: Position { line: 207, column: 56, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 190, column: 1, }, end: Position { line: 208, column: 7, }, }, }, ), ], span: Span { start: Position { line: 189, column: 16, }, end: Position { line: 208, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 210, column: 7, }, end: Position { line: 210, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 211, column: 9, }, end: Position { line: 211, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 211, column: 16, }, end: Position { line: 211, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 211, column: 20, }, end: Position { line: 211, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 212, column: 9, }, end: Position { line: 212, column: 25, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 212, column: 28, }, end: Position { line: 212, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "workDir", span: Span { start: Position { line: 212, column: 32, }, end: Position { line: 212, column: 39, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 213, column: 9, }, end: Position { line: 213, column: 19, }, }, }, ), ], to: Integer( Integer { value: "30", span: Span { start: Position { line: 213, column: 22, }, end: Position { line: 213, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 214, column: 9, }, end: Position { line: 214, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 214, column: 20, }, end: Position { line: 214, column: 30, }, }, }, ), ], span: Span { start: Position { line: 214, column: 19, }, end: Position { line: 214, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 210, column: 23, }, end: Position { line: 215, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 166, column: 35, }, end: Position { line: 216, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 149, column: 28, }, end: Position { line: 217, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 4, }, end: Position { line: 218, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 218, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 218, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 218, column: 2, }, }, }, )