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: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 11, column: 12, }, end: Position { line: 11, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "filterAttrs", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 16, }, }, }, ), Raw( PartRaw { content: "literalMD", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 14, }, }, }, ), Raw( PartRaw { content: "literalExpression", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 22, }, }, }, ), Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 9, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 13, }, }, }, ), Raw( PartRaw { content: "mkRemovedOptionModule", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 26, }, }, }, ), Raw( PartRaw { content: "mkRenamedOptionModule", span: Span { start: Position { line: 18, column: 5, }, end: Position { line: 18, column: 26, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 10, }, }, }, ), ], span: Span { start: Position { line: 10, column: 4, }, end: Position { line: 20, column: 6, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 23, column: 5, }, end: Position { line: 23, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 23, column: 12, }, end: Position { line: 23, column: 20, }, }, }, ), Raw( PartRaw { content: "hercules-ci-agent", span: Span { start: Position { line: 23, column: 21, }, end: Position { line: 23, column: 38, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "format", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 25, column: 12, }, end: Position { line: 25, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "formats", span: Span { start: Position { line: 25, column: 17, }, end: Position { line: 25, column: 24, }, }, }, ), Raw( PartRaw { content: "toml", span: Span { start: Position { line: 25, column: 25, }, end: Position { line: 25, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 25, column: 30, }, end: Position { line: 25, column: 33, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settingsModule", span: Span { start: Position { line: 27, column: 3, }, end: Position { line: 27, column: 17, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "freeformType", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 17, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 28, column: 20, }, end: Position { line: 28, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 31, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 12, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "apiBaseUrl", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 30, column: 20, }, end: Position { line: 30, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 31, column: 23, }, end: Position { line: 31, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 31, column: 27, }, end: Position { line: 31, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "API base URL that the agent will connect to.\n\nWhen using Hercules CI Enterprise, set this to the URL where your\nHercules CI server is reachable.\n", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 36, column: 9, }, }, }, ), ], span: Span { start: Position { line: 31, column: 33, }, end: Position { line: 36, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 37, column: 16, }, end: Position { line: 37, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 37, column: 22, }, end: Position { line: 37, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "https://hercules-ci.com", span: Span { start: Position { line: 38, column: 20, }, end: Position { line: 38, column: 43, }, }, }, ), ], span: Span { start: Position { line: 38, column: 19, }, end: Position { line: 38, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 29, }, end: Position { line: 39, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "baseDirectory", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 40, column: 23, }, end: Position { line: 40, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 41, column: 16, }, end: Position { line: 41, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 41, column: 22, }, end: Position { line: 41, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/hercules-ci-agent", span: Span { start: Position { line: 42, column: 20, }, end: Position { line: 42, column: 46, }, }, }, ), ], span: Span { start: Position { line: 42, column: 19, }, end: Position { line: 42, column: 47, }, }, }, ), }, ), 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: "State directory (secrets, work directory, etc) for agent\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: 40, column: 32, }, end: Position { line: 46, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "concurrentTasks", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 47, column: 25, }, end: Position { line: 47, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 48, column: 27, }, end: Position { line: 48, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Number of tasks to perform simultaneously.\n\nA task is a single derivation build, an evaluation or an effect run.\nAt minimum, you need 2 concurrent tasks for `x86_64-linux`\nin your cluster, to allow for import from derivation.\n\n`concurrentTasks` can be around the CPU core count or lower if memory is\nthe bottleneck.\n\nThe optimal value depends on the resource consumption characteristics of your workload,\nincluding memory usage and in-task parallelism. This is typically determined empirically.\n\nWhen scaling, it is generally better to have a double-size machine than two machines,\nbecause each split of resources causes inefficiencies; particularly with regards\nto build latency because of extra downloads.\n", span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 64, column: 9, }, }, }, ), ], span: Span { start: Position { line: 48, column: 33, }, end: Position { line: 64, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 65, column: 16, }, end: Position { line: 65, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "either", span: Span { start: Position { line: 65, column: 22, }, end: Position { line: 65, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 65, column: 29, }, end: Position { line: 65, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ints", span: Span { start: Position { line: 65, column: 35, }, end: Position { line: 65, column: 39, }, }, }, ), Raw( PartRaw { content: "positive", span: Span { start: Position { line: 65, column: 40, }, end: Position { line: 65, column: 48, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 65, column: 50, }, end: Position { line: 65, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enum", span: Span { start: Position { line: 65, column: 56, }, end: Position { line: 65, column: 60, }, }, }, ), ], default: None, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "auto", span: Span { start: Position { line: 65, column: 64, }, end: Position { line: 65, column: 68, }, }, }, ), ], span: Span { start: Position { line: 65, column: 63, }, end: Position { line: 65, column: 69, }, }, }, ), ], span: Span { start: Position { line: 65, column: 61, }, end: Position { line: 65, column: 71, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "auto", span: Span { start: Position { line: 66, column: 20, }, end: Position { line: 66, column: 24, }, }, }, ), ], span: Span { start: Position { line: 66, column: 19, }, end: Position { line: 66, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 47, column: 34, }, end: Position { line: 67, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "labels", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 68, column: 16, }, end: Position { line: 68, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 69, column: 23, }, end: Position { line: 69, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 69, column: 27, }, end: Position { line: 69, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A key-value map of user data.\n\nThis data will be available to organization members in the dashboard and API.\n\nThe values can be of any TOML type that corresponds to a JSON type, but arrays\ncan not contain tables/objects due to limitations of the TOML library. Values\ninvolving arrays of non-primitive types may not be representable currently.\n", span: Span { start: Position { line: 70, column: 1, }, end: Position { line: 77, column: 9, }, }, }, ), ], span: Span { start: Position { line: 69, column: 33, }, end: Position { line: 77, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 78, column: 16, }, end: Position { line: 78, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 78, column: 23, }, end: Position { line: 78, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 79, column: 23, }, end: Position { line: 79, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n agent.source = \"...\"; # One of \"nixpkgs\", \"flake\", \"override\"\n lib.version = \"...\";\n pkgs.version = \"...\";\n}\n", span: Span { start: Position { line: 80, column: 1, }, end: Position { line: 85, column: 9, }, }, }, ), ], span: Span { start: Position { line: 79, column: 41, }, end: Position { line: 85, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 68, column: 25, }, end: Position { line: 86, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "workDirectory", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 87, column: 23, }, end: Position { line: 87, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ 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: "The directory in which temporary subdirectories are created for task state. This includes sources for Nix evaluation.\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, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 91, column: 16, }, end: Position { line: 91, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 92, column: 19, }, end: Position { line: 92, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "baseDirectory", span: Span { start: Position { line: 92, column: 26, }, end: Position { line: 92, column: 39, }, }, }, ), ], default: None, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "/work", span: Span { start: Position { line: 92, column: 43, }, end: Position { line: 92, column: 48, }, }, }, ), ], span: Span { start: Position { line: 92, column: 42, }, end: Position { line: 92, column: 49, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 93, column: 23, }, end: Position { line: 93, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "baseDirectory + \"/work\"", span: Span { start: Position { line: 93, column: 43, }, end: Position { line: 93, column: 66, }, }, }, ), ], span: Span { start: Position { line: 93, column: 41, }, end: Position { line: 93, column: 68, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 87, column: 32, }, end: Position { line: 94, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "staticSecretsDirectory", span: Span { start: Position { line: 95, column: 7, }, end: Position { line: 95, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 95, column: 32, }, end: Position { line: 95, column: 40, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 96, column: 9, }, end: Position { line: 96, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 96, column: 23, }, end: Position { line: 96, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 96, column: 27, }, end: Position { line: 96, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "This is the default directory to look for statically configured secrets like `cluster-join-token.key`.\n\nSee also `clusterJoinTokenPath` and `binaryCachesPath` for fine-grained configuration.\n", span: Span { start: Position { line: 97, column: 1, }, end: Position { line: 100, column: 9, }, }, }, ), ], span: Span { start: Position { line: 96, column: 33, }, end: Position { line: 100, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 101, column: 9, }, end: Position { line: 101, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 101, column: 16, }, end: Position { line: 101, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 101, column: 22, }, end: Position { line: 101, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 102, column: 9, }, end: Position { line: 102, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 102, column: 19, }, end: Position { line: 102, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "baseDirectory", span: Span { start: Position { line: 102, column: 26, }, end: Position { line: 102, column: 39, }, }, }, ), ], default: None, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "/secrets", span: Span { start: Position { line: 102, column: 43, }, end: Position { line: 102, column: 51, }, }, }, ), ], span: Span { start: Position { line: 102, column: 42, }, end: Position { line: 102, column: 52, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 103, column: 23, }, end: Position { line: 103, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "baseDirectory + \"/secrets\"", span: Span { start: Position { line: 103, column: 43, }, end: Position { line: 103, column: 69, }, }, }, ), ], span: Span { start: Position { line: 103, column: 41, }, end: Position { line: 103, column: 71, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 95, column: 41, }, end: Position { line: 104, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "clusterJoinTokenPath", span: Span { start: Position { line: 105, column: 7, }, end: Position { line: 105, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 105, column: 30, }, end: Position { line: 105, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 106, column: 9, }, end: Position { line: 106, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 106, column: 23, }, end: Position { line: 106, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 106, column: 27, }, end: Position { line: 106, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Location of the cluster-join-token.key file.\n\nYou can retrieve the contents of the file when creating a new agent via\n.\n\nAs this value is confidential, it should not be in the store, but\ninstalled using other means, such as agenix, NixOps\n`deployment.keys`, or manual installation.\n\nThe contents of the file are used for authentication between the agent and the API.\n", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 117, column: 9, }, }, }, ), ], span: Span { start: Position { line: 106, column: 33, }, end: Position { line: 117, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 118, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 118, column: 16, }, end: Position { line: 118, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 118, column: 22, }, end: Position { line: 118, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 119, column: 9, }, end: Position { line: 119, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 119, column: 19, }, end: Position { line: 119, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "staticSecretsDirectory", span: Span { start: Position { line: 119, column: 26, }, end: Position { line: 119, column: 48, }, }, }, ), ], default: None, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "/cluster-join-token.key", span: Span { start: Position { line: 119, column: 52, }, end: Position { line: 119, column: 75, }, }, }, ), ], span: Span { start: Position { line: 119, column: 51, }, end: Position { line: 119, column: 76, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 120, column: 9, }, end: Position { line: 120, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 120, column: 23, }, end: Position { line: 120, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "staticSecretsDirectory + \"/cluster-join-token.key\"", span: Span { start: Position { line: 120, column: 43, }, end: Position { line: 120, column: 93, }, }, }, ), ], span: Span { start: Position { line: 120, column: 41, }, end: Position { line: 120, column: 95, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 105, column: 39, }, end: Position { line: 121, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "binaryCachesPath", span: Span { start: Position { line: 122, column: 7, }, end: Position { line: 122, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 122, column: 26, }, end: Position { line: 122, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 123, column: 23, }, end: Position { line: 123, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 123, column: 27, }, end: Position { line: 123, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to a JSON file containing binary cache secret keys.\n\nAs these values are confidential, they should not be in the store, but\ncopied over using other means, such as agenix, NixOps\n`deployment.keys`, or manual installation.\n\nThe format is described on .\n", span: Span { start: Position { line: 124, column: 1, }, end: Position { line: 131, column: 9, }, }, }, ), ], span: Span { start: Position { line: 123, column: 33, }, end: Position { line: 131, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 132, column: 9, }, end: Position { line: 132, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 132, column: 16, }, end: Position { line: 132, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 132, column: 22, }, end: Position { line: 132, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 133, column: 9, }, end: Position { line: 133, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 133, column: 19, }, end: Position { line: 133, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "staticSecretsDirectory", span: Span { start: Position { line: 133, column: 26, }, end: Position { line: 133, column: 48, }, }, }, ), ], default: None, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "/binary-caches.json", span: Span { start: Position { line: 133, column: 52, }, end: Position { line: 133, column: 71, }, }, }, ), ], span: Span { start: Position { line: 133, column: 51, }, end: Position { line: 133, column: 72, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 134, column: 9, }, end: Position { line: 134, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 134, column: 23, }, end: Position { line: 134, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "staticSecretsDirectory + \"/binary-caches.json\"", span: Span { start: Position { line: 134, column: 43, }, end: Position { line: 134, column: 89, }, }, }, ), ], span: Span { start: Position { line: 134, column: 41, }, end: Position { line: 134, column: 91, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 122, column: 35, }, end: Position { line: 135, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "secretsJsonPath", span: Span { start: Position { line: 136, column: 7, }, end: Position { line: 136, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 136, column: 25, }, end: Position { line: 136, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 137, column: 9, }, end: Position { line: 137, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 137, column: 23, }, end: Position { line: 137, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 137, column: 27, }, end: Position { line: 137, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to a JSON file containing secrets for effects.\n\nAs these values are confidential, they should not be in the store, but\ncopied over using other means, such as agenix, NixOps\n`deployment.keys`, or manual installation.\n\nThe format is described on .\n", span: Span { start: Position { line: 138, column: 1, }, end: Position { line: 145, column: 9, }, }, }, ), ], span: Span { start: Position { line: 137, column: 33, }, end: Position { line: 145, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 146, column: 9, }, end: Position { line: 146, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 146, column: 16, }, end: Position { line: 146, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 146, column: 22, }, end: Position { line: 146, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 147, column: 9, }, end: Position { line: 147, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 147, column: 19, }, end: Position { line: 147, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "staticSecretsDirectory", span: Span { start: Position { line: 147, column: 26, }, end: Position { line: 147, column: 48, }, }, }, ), ], default: None, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "/secrets.json", span: Span { start: Position { line: 147, column: 52, }, end: Position { line: 147, column: 65, }, }, }, ), ], span: Span { start: Position { line: 147, column: 51, }, end: Position { line: 147, column: 66, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 148, column: 9, }, end: Position { line: 148, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 148, column: 23, }, end: Position { line: 148, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "staticSecretsDirectory + \"/secrets.json\"", span: Span { start: Position { line: 148, column: 43, }, end: Position { line: 148, column: 83, }, }, }, ), ], span: Span { start: Position { line: 148, column: 41, }, end: Position { line: 148, column: 85, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 136, column: 34, }, end: Position { line: 149, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 15, }, end: Position { line: 150, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 27, column: 37, }, end: Position { line: 151, column: 4, }, }, }, ), span: Span { start: Position { line: 27, column: 20, }, end: Position { line: 151, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "checkNix", span: Span { start: Position { line: 154, column: 3, }, end: Position { line: 154, column: 11, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: UnaryOperation( UnaryOperation { operator: Not, operand: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 155, column: 9, }, end: Position { line: 155, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "checkNix", span: Span { start: Position { line: 155, column: 13, }, end: Position { line: 155, column: 21, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 155, column: 8, }, end: Position { line: 155, column: 21, }, }, }, ), then: String( String_ { parts: [], span: Span { start: Position { line: 156, column: 10, }, end: Position { line: 156, column: 12, }, }, }, ), else_: IfThenElse( IfThenElse { predicate: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 157, column: 13, }, end: Position { line: 157, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "versionAtLeast", span: Span { start: Position { line: 157, column: 17, }, end: Position { line: 157, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 157, column: 32, }, end: Position { line: 157, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 157, column: 39, }, end: Position { line: 157, column: 42, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 157, column: 43, }, end: Position { line: 157, column: 50, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 157, column: 51, }, end: Position { line: 157, column: 58, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "2.3.10", span: Span { start: Position { line: 157, column: 60, }, end: Position { line: 157, column: 66, }, }, }, ), ], span: Span { start: Position { line: 157, column: 59, }, end: Position { line: 157, column: 67, }, }, }, ), ], }, ), then: String( String_ { parts: [], span: Span { start: Position { line: 158, column: 10, }, end: Position { line: 158, column: 12, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 160, column: 7, }, end: Position { line: 160, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 160, column: 12, }, end: Position { line: 160, column: 18, }, }, }, ), Raw( PartRaw { content: "mkDerivation", span: Span { start: Position { line: 160, column: 19, }, end: Position { line: 160, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 161, column: 9, }, end: Position { line: 161, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hercules-ci-check-system-nix-src", span: Span { start: Position { line: 161, column: 17, }, end: Position { line: 161, column: 49, }, }, }, ), ], span: Span { start: Position { line: 161, column: 16, }, end: Position { line: 161, column: 50, }, }, }, ), }, ), Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 162, column: 18, }, end: Position { line: 162, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 162, column: 25, }, end: Position { line: 162, column: 28, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 162, column: 29, }, end: Position { line: 162, column: 36, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "src", span: Span { start: Position { line: 162, column: 38, }, end: Position { line: 162, column: 41, }, }, }, ), Raw( PartRaw { content: "patches", span: Span { start: Position { line: 162, column: 42, }, end: Position { line: 162, column: 49, }, }, }, ), ], span: Span { start: Position { line: 160, column: 33, }, end: Position { line: 162, column: 50, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dontConfigure", span: Span { start: Position { line: 163, column: 9, }, end: Position { line: 163, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 163, column: 25, }, end: Position { line: 163, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "buildPhase", span: Span { start: Position { line: 164, column: 9, }, end: Position { line: 164, column: 19, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "echo \"Checking in-memory pathInfoCache expiry\"\nif ! grep 'PathInfoCacheValue' src/libstore/store-api.hh >/dev/null; then\n cat 1>&2 <.\n", span: Span { start: Position { line: 220, column: 1, }, end: Position { line: 225, column: 7, }, }, }, ), ], span: Span { start: Position { line: 219, column: 31, }, end: Position { line: 225, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 226, column: 7, }, end: Position { line: 226, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 226, column: 14, }, end: Position { line: 226, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submoduleWith", span: Span { start: Position { line: 226, column: 20, }, end: Position { line: 226, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 226, column: 36, }, end: Position { line: 226, column: 43, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "settingsModule", span: Span { start: Position { line: 226, column: 48, }, end: Position { line: 226, column: 62, }, }, }, ), ], span: Span { start: Position { line: 226, column: 46, }, end: Position { line: 226, column: 64, }, }, }, ), }, ), ], span: Span { start: Position { line: 226, column: 34, }, end: Position { line: 226, column: 67, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 218, column: 25, }, end: Position { line: 227, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tomlFile", span: Span { start: Position { line: 235, column: 5, }, end: Position { line: 235, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 235, column: 16, }, end: Position { line: 235, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 236, column: 7, }, end: Position { line: 236, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 236, column: 14, }, end: Position { line: 236, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 236, column: 20, }, end: Position { line: 236, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 237, column: 7, }, end: Position { line: 237, column: 15, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 237, column: 18, }, end: Position { line: 237, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 238, column: 7, }, end: Position { line: 238, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalMD", span: Span { start: Position { line: 238, column: 21, }, end: Position { line: 238, column: 30, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "generated `hercules-ci-agent.toml`", span: Span { start: Position { line: 238, column: 32, }, end: Position { line: 238, column: 66, }, }, }, ), ], span: Span { start: Position { line: 238, column: 31, }, end: Position { line: 238, column: 67, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 239, column: 7, }, end: Position { line: 239, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 239, column: 21, }, end: Position { line: 239, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 239, column: 25, }, end: Position { line: 239, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The fully assembled config file.\n", span: Span { start: Position { line: 240, column: 1, }, end: Position { line: 241, column: 7, }, }, }, ), ], span: Span { start: Position { line: 239, column: 31, }, end: Position { line: 241, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 235, column: 25, }, end: Position { line: 242, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 188, column: 40, }, end: Position { line: 243, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 245, column: 3, }, end: Position { line: 245, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 245, column: 12, }, end: Position { line: 245, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 245, column: 17, }, end: Position { line: 245, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 245, column: 21, }, end: Position { line: 245, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 246, column: 5, }, end: Position { line: 246, column: 8, }, }, }, ), Raw( PartRaw { content: "extraOptions", span: Span { start: Position { line: 246, column: 9, }, end: Position { line: 246, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 246, column: 24, }, end: Position { line: 246, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "addContextFrom", span: Span { start: Position { line: 246, column: 28, }, end: Position { line: 246, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "checkNix", span: Span { start: Position { line: 246, column: 43, }, end: Position { line: 246, column: 51, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# A store path that was missing at first may well have finished building,\n# even shortly after the previous lookup. This *also* applies to the daemon.\nnarinfo-cache-negative-ttl = 0\n", span: Span { start: Position { line: 247, column: 1, }, end: Position { line: 250, column: 5, }, }, }, ), ], span: Span { start: Position { line: 246, column: 52, }, end: Position { line: 250, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 251, column: 5, }, end: Position { line: 251, column: 13, }, }, }, ), Raw( PartRaw { content: "hercules-ci-agent", span: Span { start: Position { line: 251, column: 14, }, end: Position { line: 251, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tomlFile", span: Span { start: Position { line: 252, column: 7, }, end: Position { line: 252, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "format", span: Span { start: Position { line: 253, column: 9, }, end: Position { line: 253, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "generate", span: Span { start: Position { line: 253, column: 16, }, end: Position { line: 253, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "hercules-ci-agent.toml", span: Span { start: Position { line: 253, column: 26, }, end: Position { line: 253, column: 48, }, }, }, ), ], span: Span { start: Position { line: 253, column: 25, }, end: Position { line: 253, column: 49, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 253, column: 50, }, end: Position { line: 253, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 253, column: 54, }, end: Position { line: 253, column: 62, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settings", span: Span { start: Position { line: 255, column: 7, }, end: Position { line: 255, column: 15, }, }, }, ), Raw( PartRaw { content: "labels", span: Span { start: Position { line: 255, column: 16, }, end: Position { line: 255, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "agent", span: Span { start: Position { line: 256, column: 9, }, end: Position { line: 256, column: 14, }, }, }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 256, column: 15, }, end: Position { line: 256, column: 21, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "options", span: Span { start: Position { line: 257, column: 14, }, end: Position { line: 257, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 257, column: 22, }, end: Position { line: 257, column: 30, }, }, }, ), Raw( PartRaw { content: "hercules-ci-agent", span: Span { start: Position { line: 257, column: 31, }, end: Position { line: 257, column: 48, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 257, column: 49, }, end: Position { line: 257, column: 56, }, }, }, ), Raw( PartRaw { content: "highestPrio", span: Span { start: Position { line: 257, column: 57, }, end: Position { line: 257, column: 68, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 257, column: 73, }, end: Position { line: 257, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 257, column: 77, }, end: Position { line: 257, column: 84, }, }, }, ), Raw( PartRaw { content: "mkOptionDefault", span: Span { start: Position { line: 257, column: 85, }, end: Position { line: 257, column: 100, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 257, column: 101, }, end: Position { line: 257, column: 104, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "priority", span: Span { start: Position { line: 257, column: 106, }, end: Position { line: 257, column: 114, }, }, }, ), ], default: None, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 258, column: 17, }, end: Position { line: 258, column: 24, }, }, }, ), ], span: Span { start: Position { line: 258, column: 16, }, end: Position { line: 258, column: 25, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 259, column: 16, }, end: Position { line: 259, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOptionDefault", span: Span { start: Position { line: 259, column: 20, }, end: Position { line: 259, column: 35, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "override", span: Span { start: Position { line: 259, column: 37, }, end: Position { line: 259, column: 45, }, }, }, ), ], span: Span { start: Position { line: 259, column: 36, }, end: Position { line: 259, column: 46, }, }, }, ), ], }, ), span: Span { start: Position { line: 257, column: 11, }, end: Position { line: 259, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 260, column: 9, }, end: Position { line: 260, column: 13, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 260, column: 14, }, end: Position { line: 260, column: 21, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 260, column: 24, }, end: Position { line: 260, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 260, column: 29, }, end: Position { line: 260, column: 32, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 260, column: 33, }, end: Position { line: 260, column: 40, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 261, column: 9, }, end: Position { line: 261, column: 12, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 261, column: 13, }, end: Position { line: 261, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 261, column: 23, }, end: Position { line: 261, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "version", span: Span { start: Position { line: 261, column: 27, }, end: Position { line: 261, column: 34, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 255, column: 25, }, end: Position { line: 262, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 251, column: 34, }, end: Position { line: 263, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 245, column: 28, }, end: Position { line: 264, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 180, column: 1, }, end: Position { line: 265, column: 2, }, }, }, ), span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 265, column: 2, }, }, }, ), span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 265, column: 2, }, }, }, )