Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", 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: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "baseDir", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/hydra", span: Span { start: Position { line: 9, column: 14, }, end: Position { line: 9, column: 28, }, }, }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 9, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hydraConf", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 11, column: 15, }, end: Position { line: 11, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeScript", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra.conf", span: Span { start: Position { line: 11, column: 33, }, end: Position { line: 11, column: 43, }, }, }, ), ], span: Span { start: Position { line: 11, column: 32, }, end: Position { line: 11, column: 44, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 11, column: 45, }, end: Position { line: 11, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 11, column: 49, }, end: Position { line: 11, column: 60, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hydraEnv", span: Span { start: Position { line: 13, column: 3, }, end: Position { line: 13, column: 11, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 19, }, end: Position { line: 14, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dbi", span: Span { start: Position { line: 14, column: 23, }, end: Position { line: 14, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_CONFIG", span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 15, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: "/hydra.conf", span: Span { start: Position { line: 15, column: 23, }, end: Position { line: 15, column: 44, }, }, }, ), ], span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DATA", span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 16, column: 23, }, end: Position { line: 16, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 16, column: 20, }, end: Position { line: 16, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 17, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "env", span: Span { start: Position { line: 19, column: 3, }, end: Position { line: 19, column: 6, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NIX_REMOTE", span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "daemon", span: Span { start: Position { line: 20, column: 21, }, end: Position { line: 20, column: 27, }, }, }, ), ], span: Span { start: Position { line: 20, column: 20, }, end: Position { line: 20, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "SSL_CERT_FILE", span: Span { start: Position { line: 21, column: 7, }, end: Position { line: 21, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/etc/ssl/certs/ca-certificates.crt", span: Span { start: Position { line: 21, column: 24, }, end: Position { line: 21, column: 58, }, }, }, ), ], span: Span { start: Position { line: 21, column: 23, }, end: Position { line: 21, column: 59, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PGPASSFILE", span: Span { start: Position { line: 22, column: 7, }, end: Position { line: 22, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 22, column: 23, }, end: Position { line: 22, column: 30, }, }, }, ), }, ), Raw( PartRaw { content: "/pgpass", span: Span { start: Position { line: 22, column: 21, }, end: Position { line: 22, column: 38, }, }, }, ), ], span: Span { start: Position { line: 22, column: 20, }, end: Position { line: 22, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "NIX_REMOTE_SYSTEMS", span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 23, column: 28, }, end: Position { line: 23, column: 44, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: ":", span: Span { start: Position { line: 23, column: 46, }, end: Position { line: 23, column: 47, }, }, }, ), ], span: Span { start: Position { line: 23, column: 45, }, end: Position { line: 23, column: 48, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 23, column: 49, }, end: Position { line: 23, column: 52, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "buildMachinesFiles", span: Span { start: Position { line: 23, column: 53, }, end: Position { line: 23, column: 71, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 24, column: 6, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 24, column: 10, }, end: Position { line: 24, column: 23, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 24, column: 25, }, end: Position { line: 24, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "smtpHost", span: Span { start: Position { line: 24, column: 29, }, end: Position { line: 24, column: 37, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 24, column: 41, }, end: Position { line: 24, column: 45, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "EMAIL_SENDER_TRANSPORT", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "SMTP", span: Span { start: Position { line: 25, column: 33, }, end: Position { line: 25, column: 37, }, }, }, ), ], span: Span { start: Position { line: 25, column: 32, }, end: Position { line: 25, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "EMAIL_SENDER_TRANSPORT_host", span: Span { start: Position { line: 26, column: 7, }, end: Position { line: 26, column: 34, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 26, column: 37, }, end: Position { line: 26, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "smtpHost", span: Span { start: Position { line: 26, column: 41, }, end: Position { line: 26, column: 49, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 24, column: 47, }, end: Position { line: 27, column: 6, }, }, }, ), ], }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "hydraEnv", span: Span { start: Position { line: 27, column: 10, }, end: Position { line: 27, column: 18, }, }, }, ), operator: Update, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 27, column: 22, }, end: Position { line: 27, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraEnv", span: Span { start: Position { line: 27, column: 26, }, end: Position { line: 27, column: 34, }, }, }, ), ], default: None, }, ), }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serverEnv", span: Span { start: Position { line: 29, column: 3, }, end: Position { line: 29, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "env", span: Span { start: Position { line: 29, column: 15, }, end: Position { line: 29, column: 18, }, }, }, ), operator: Update, right: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_TRACKER", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 30, column: 23, }, end: Position { line: 30, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "tracker", span: Span { start: Position { line: 30, column: 27, }, end: Position { line: 30, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "XDG_CACHE_HOME", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 31, column: 27, }, end: Position { line: 31, column: 34, }, }, }, ), }, ), Raw( PartRaw { content: "/www/.cache", span: Span { start: Position { line: 31, column: 25, }, end: Position { line: 31, column: 46, }, }, }, ), ], span: Span { start: Position { line: 31, column: 24, }, end: Position { line: 31, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "COLUMNS", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "80", span: Span { start: Position { line: 32, column: 18, }, end: Position { line: 32, column: 20, }, }, }, ), ], span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PGPASSFILE", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 33, column: 23, }, end: Position { line: 33, column: 30, }, }, }, ), }, ), Raw( PartRaw { content: "/pgpass-www", span: Span { start: Position { line: 33, column: 21, }, end: Position { line: 33, column: 42, }, }, }, ), ], span: Span { start: Position { line: 33, column: 20, }, end: Position { line: 33, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 5, }, end: Position { line: 34, column: 6, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 34, column: 11, }, end: Position { line: 34, column: 24, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 34, column: 25, }, end: Position { line: 34, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "debugServer", span: Span { start: Position { line: 34, column: 29, }, end: Position { line: 34, column: 40, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "DBIC_TRACE", span: Span { start: Position { line: 34, column: 43, }, end: Position { line: 34, column: 53, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "1", span: Span { start: Position { line: 34, column: 57, }, end: Position { line: 34, column: 58, }, }, }, ), ], span: Span { start: Position { line: 34, column: 56, }, end: Position { line: 34, column: 59, }, }, }, ), }, ), ], span: Span { start: Position { line: 34, column: 41, }, end: Position { line: 34, column: 62, }, }, }, ), ], }, ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "localDB", span: Span { start: Position { line: 36, column: 3, }, end: Position { line: 36, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "dbi:Pg:dbname=hydra;user=hydra;", span: Span { start: Position { line: 36, column: 14, }, end: Position { line: 36, column: 45, }, }, }, ), ], span: Span { start: Position { line: 36, column: 13, }, end: Position { line: 36, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "haveLocalDB", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dbi", span: Span { start: Position { line: 38, column: 21, }, end: Position { line: 38, column: 24, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: Identifier( Identifier { id: "localDB", span: Span { start: Position { line: 38, column: 28, }, end: Position { line: 38, column: 35, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hydra-package", span: Span { start: Position { line: 40, column: 3, }, end: Position { line: 40, column: 16, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "makeWrapperArgs", span: Span { start: Position { line: 42, column: 5, }, end: Position { line: 42, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 42, column: 23, }, end: Position { line: 42, column: 39, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 42, column: 41, }, end: Position { line: 42, column: 42, }, }, }, ), ], span: Span { start: Position { line: 42, column: 40, }, end: Position { line: 42, column: 43, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsToList", span: Span { start: Position { line: 42, column: 45, }, end: Position { line: 42, column: 59, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "key", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "--set \"", span: Span { start: Position { line: 42, column: 74, }, end: Position { line: 42, column: 88, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "key", span: Span { start: Position { line: 42, column: 84, }, end: Position { line: 42, column: 87, }, }, }, ), }, ), Raw( PartRaw { content: "\" \"", span: Span { start: Position { line: 42, column: 74, }, end: Position { line: 42, column: 93, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 42, column: 95, }, end: Position { line: 42, column: 100, }, }, }, ), }, ), Raw( PartRaw { content: "\"", span: Span { start: Position { line: 42, column: 74, }, end: Position { line: 42, column: 103, }, }, }, ), ], span: Span { start: Position { line: 42, column: 73, }, end: Position { line: 42, column: 104, }, }, }, ), span: Span { start: Position { line: 42, column: 66, }, end: Position { line: 42, column: 104, }, }, }, ), span: Span { start: Position { line: 42, column: 61, }, end: Position { line: 42, column: 104, }, }, }, ), Identifier( Identifier { id: "hydraEnv", span: Span { start: Position { line: 42, column: 106, }, end: Position { line: 42, column: 114, }, }, }, ), ], }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 43, column: 6, }, end: Position { line: 43, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "buildEnv", span: Span { start: Position { line: 43, column: 11, }, end: Position { line: 43, column: 19, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: true, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 44, column: 5, }, end: Position { line: 44, column: 9, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra-env", span: Span { start: Position { line: 44, column: 13, }, end: Position { line: 44, column: 22, }, }, }, ), ], span: Span { start: Position { line: 44, column: 12, }, end: Position { line: 44, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nativeBuildInputs", span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 45, column: 22, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 45, column: 27, }, end: Position { line: 45, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "makeWrapper", span: Span { start: Position { line: 45, column: 32, }, end: Position { line: 45, column: 43, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 45, column: 25, }, end: Position { line: 45, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paths", span: Span { start: Position { line: 46, column: 5, }, end: Position { line: 46, column: 10, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 46, column: 15, }, end: Position { line: 46, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 46, column: 19, }, end: Position { line: 46, column: 26, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 46, column: 13, }, end: Position { line: 46, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postBuild", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 14, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if [ -L \"$out/bin\" ]; then\n unlink \"$out/bin\"\nfi\nmkdir -p \"$out/bin\"\n\nfor path in ", span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 54, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 37, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " ", span: Span { start: Position { line: 54, column: 39, }, end: Position { line: 54, column: 40, }, }, }, ), ], span: Span { start: Position { line: 54, column: 38, }, end: Position { line: 54, column: 41, }, }, }, ), Identifier( Identifier { id: "paths", span: Span { start: Position { line: 54, column: 42, }, end: Position { line: 54, column: 47, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "; do\n if [ -d \"$path/bin\" ]; then\n cd \"$path/bin\"\n for prg in *; do\n if [ -f \"$prg\" ]; then\n rm -f \"$out/bin/$prg\"\n if [ -x \"$prg\" ]; then\n makeWrapper \"$path/bin/$prg\" \"$out/bin/$prg\" ", span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 61, column: 62, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "makeWrapperArgs", span: Span { start: Position { line: 61, column: 64, }, end: Position { line: 61, column: 79, }, }, }, ), }, ), Raw( PartRaw { content: "\n fi\n fi\n done\n fi\ndone\n", span: Span { start: Position { line: 49, column: 1, }, end: Position { line: 67, column: 4, }, }, }, ), ], span: Span { start: Position { line: 48, column: 17, }, end: Position { line: 67, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 43, column: 20, }, end: Position { line: 68, column: 4, }, }, }, ), ], }, ), span: Span { start: Position { line: 41, column: 3, }, end: Position { line: 68, column: 4, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 74, column: 3, }, end: Position { line: 74, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 76, column: 5, }, end: Position { line: 76, column: 13, }, }, }, ), Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 76, column: 14, }, end: Position { line: 76, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 78, column: 16, }, end: Position { line: 78, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 13, }, }, }, ), ], to: 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: "bool", span: Span { start: Position { line: 79, column: 22, }, end: Position { line: 79, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 80, column: 9, }, end: Position { line: 80, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 80, column: 19, }, end: Position { line: 80, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 81, column: 9, }, end: Position { line: 81, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 81, column: 23, }, end: Position { line: 81, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 81, column: 27, }, end: Position { line: 81, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to run Hydra services.\n", span: Span { start: Position { line: 82, column: 1, }, end: Position { line: 83, column: 9, }, }, }, ), ], span: Span { start: Position { line: 81, column: 33, }, end: Position { line: 83, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 78, column: 25, }, end: Position { line: 84, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dbi", span: Span { start: Position { line: 86, column: 7, }, end: Position { line: 86, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 86, column: 13, }, end: Position { line: 86, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ 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: "default", span: Span { start: Position { line: 88, column: 9, }, end: Position { line: 88, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "localDB", span: Span { start: Position { line: 88, column: 19, }, end: Position { line: 88, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 89, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "dbi:Pg:dbname=hydra;host=postgres.example.org;user=foo;", span: Span { start: Position { line: 89, column: 20, }, end: Position { line: 89, column: 75, }, }, }, ), ], span: Span { start: Position { line: 89, column: 19, }, end: Position { line: 89, column: 76, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 90, column: 23, }, end: Position { line: 90, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 90, column: 27, }, end: Position { line: 90, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The DBI string for Hydra database connection.\n\nNOTE: Attempts to set `application_name` will be overridden by\n`hydra-TYPE` (where TYPE is e.g. `evaluator`, `queue-runner`,\netc.) in all hydra services to more easily distinguish where\nqueries are coming from.\n", span: Span { start: Position { line: 91, column: 1, }, end: Position { line: 97, column: 9, }, }, }, ), ], span: Span { start: Position { line: 90, column: 33, }, end: Position { line: 97, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 86, column: 22, }, end: Position { line: 98, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 100, column: 7, }, end: Position { line: 100, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 100, column: 17, }, end: Position { line: 100, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ 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: "package", span: Span { start: Position { line: 101, column: 22, }, end: Position { line: 101, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 102, column: 9, }, end: Position { line: 102, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 102, column: 19, }, end: Position { line: 102, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hydra_unstable", span: Span { start: Position { line: 102, column: 24, }, end: Position { line: 102, column: 38, }, }, }, ), ], default: None, }, ), }, ), 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: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.hydra_unstable", span: Span { start: Position { line: 103, column: 42, }, end: Position { line: 103, column: 61, }, }, }, ), ], span: Span { start: Position { line: 103, column: 41, }, end: Position { line: 103, column: 62, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 104, column: 23, }, end: Position { line: 104, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 104, column: 27, }, end: Position { line: 104, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "The Hydra package.", span: Span { start: Position { line: 104, column: 34, }, end: Position { line: 104, column: 52, }, }, }, ), ], span: Span { start: Position { line: 104, column: 33, }, end: Position { line: 104, column: 53, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 100, column: 26, }, end: Position { line: 105, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hydraURL", span: Span { start: Position { line: 107, column: 7, }, end: Position { line: 107, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 107, column: 18, }, end: Position { line: 107, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 108, column: 9, }, end: Position { line: 108, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 108, column: 16, }, end: Position { line: 108, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 108, column: 22, }, end: Position { line: 108, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 109, column: 23, }, end: Position { line: 109, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 109, column: 27, }, end: Position { line: 109, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The base URL for the Hydra webserver instance. Used for links in emails.\n", span: Span { start: Position { line: 110, column: 1, }, end: Position { line: 111, column: 9, }, }, }, ), ], span: Span { start: Position { line: 109, column: 33, }, end: Position { line: 111, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 107, column: 27, }, end: Position { line: 112, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "listenHost", span: Span { start: Position { line: 114, column: 7, }, end: Position { line: 114, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 114, column: 20, }, end: Position { line: 114, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 115, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 115, column: 16, }, end: Position { line: 115, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 115, column: 22, }, end: Position { line: 115, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "*", span: Span { start: Position { line: 116, column: 20, }, end: Position { line: 116, column: 21, }, }, }, ), ], span: Span { start: Position { line: 116, column: 19, }, end: Position { line: 116, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 117, column: 20, }, end: Position { line: 117, column: 29, }, }, }, ), ], span: Span { start: Position { line: 117, column: 19, }, end: Position { line: 117, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 118, column: 9, }, end: Position { line: 118, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 118, column: 23, }, end: Position { line: 118, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 118, column: 27, }, end: Position { line: 118, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The hostname or address to listen on or `*` to listen\non all interfaces.\n", span: Span { start: Position { line: 119, column: 1, }, end: Position { line: 121, column: 9, }, }, }, ), ], span: Span { start: Position { line: 118, column: 33, }, end: Position { line: 121, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 114, column: 29, }, end: Position { line: 122, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 124, column: 7, }, end: Position { line: 124, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 124, column: 14, }, end: Position { line: 124, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 125, column: 9, }, end: Position { line: 125, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 125, column: 16, }, end: Position { line: 125, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 125, column: 22, }, end: Position { line: 125, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 126, column: 9, }, end: Position { line: 126, column: 16, }, }, }, ), ], to: Integer( Integer { value: "3000", span: Span { start: Position { line: 126, column: 19, }, end: Position { line: 126, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 127, column: 9, }, end: Position { line: 127, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 127, column: 23, }, end: Position { line: 127, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 127, column: 27, }, end: Position { line: 127, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "TCP port the web server should listen to.\n", span: Span { start: Position { line: 128, column: 1, }, end: Position { line: 129, column: 9, }, }, }, ), ], span: Span { start: Position { line: 127, column: 33, }, end: Position { line: 129, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 124, column: 23, }, end: Position { line: 130, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "minimumDiskFree", span: Span { start: Position { line: 132, column: 7, }, end: Position { line: 132, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 132, column: 25, }, end: Position { line: 132, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 133, column: 9, }, end: Position { line: 133, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 133, column: 16, }, end: Position { line: 133, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 133, column: 22, }, end: Position { line: 133, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 134, column: 9, }, end: Position { line: 134, column: 16, }, }, }, ), ], to: Integer( Integer { value: "0", span: Span { start: Position { line: 134, column: 19, }, end: Position { line: 134, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 135, column: 9, }, end: Position { line: 135, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 135, column: 23, }, end: Position { line: 135, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 135, column: 27, }, end: Position { line: 135, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Threshold of minimum disk space (GiB) to determine if the queue runner should run or not.\n", span: Span { start: Position { line: 136, column: 1, }, end: Position { line: 137, column: 9, }, }, }, ), ], span: Span { start: Position { line: 135, column: 33, }, end: Position { line: 137, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 132, column: 34, }, end: Position { line: 138, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "minimumDiskFreeEvaluator", span: Span { start: Position { line: 140, column: 7, }, end: Position { line: 140, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 140, column: 34, }, end: Position { line: 140, column: 42, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 141, column: 16, }, end: Position { line: 141, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 141, column: 22, }, end: Position { line: 141, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 142, column: 9, }, end: Position { line: 142, column: 16, }, }, }, ), ], to: Integer( Integer { value: "0", span: Span { start: Position { line: 142, column: 19, }, end: Position { line: 142, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 143, column: 9, }, end: Position { line: 143, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 143, column: 23, }, end: Position { line: 143, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 143, column: 27, }, end: Position { line: 143, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Threshold of minimum disk space (GiB) to determine if the evaluator should run or not.\n", span: Span { start: Position { line: 144, column: 1, }, end: Position { line: 145, column: 9, }, }, }, ), ], span: Span { start: Position { line: 143, column: 33, }, end: Position { line: 145, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 140, column: 43, }, end: Position { line: 146, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "notificationSender", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 148, column: 28, }, end: Position { line: 148, column: 36, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 149, column: 9, }, end: Position { line: 149, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 149, column: 16, }, end: Position { line: 149, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 149, column: 22, }, end: Position { line: 149, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 150, column: 9, }, end: Position { line: 150, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 150, column: 23, }, end: Position { line: 150, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 150, column: 27, }, end: Position { line: 150, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Sender email address used for email notifications.\n", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 152, column: 9, }, }, }, ), ], span: Span { start: Position { line: 150, column: 33, }, end: Position { line: 152, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 148, column: 37, }, end: Position { line: 153, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "smtpHost", span: Span { start: Position { line: 155, column: 7, }, end: Position { line: 155, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 155, column: 18, }, end: Position { line: 155, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 156, column: 9, }, end: Position { line: 156, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 156, column: 16, }, end: Position { line: 156, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 156, column: 22, }, end: Position { line: 156, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 156, column: 29, }, end: Position { line: 156, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 156, column: 35, }, end: Position { line: 156, column: 38, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 157, column: 9, }, end: Position { line: 157, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 157, column: 19, }, end: Position { line: 157, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 158, column: 20, }, end: Position { line: 158, column: 29, }, }, }, ), ], span: Span { start: Position { line: 158, column: 19, }, end: Position { line: 158, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 159, column: 23, }, end: Position { line: 159, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 159, column: 27, }, end: Position { line: 159, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Hostname of the SMTP server to use to send email.\n", span: Span { start: Position { line: 160, column: 1, }, end: Position { line: 161, column: 9, }, }, }, ), ], span: Span { start: Position { line: 159, column: 33, }, end: Position { line: 161, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 155, column: 27, }, end: Position { line: 162, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tracker", span: Span { start: Position { line: 164, column: 7, }, end: Position { line: 164, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 164, column: 17, }, end: Position { line: 164, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 165, column: 9, }, end: Position { line: 165, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 165, column: 16, }, end: Position { line: 165, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 165, column: 22, }, end: Position { line: 165, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 166, column: 9, }, end: Position { line: 166, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 166, column: 19, }, end: Position { line: 166, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 167, column: 9, }, end: Position { line: 167, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 167, column: 23, }, end: Position { line: 167, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 167, column: 27, }, end: Position { line: 167, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Piece of HTML that is included on all pages.\n", span: Span { start: Position { line: 168, column: 1, }, end: Position { line: 169, column: 9, }, }, }, ), ], span: Span { start: Position { line: 167, column: 33, }, end: Position { line: 169, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 164, column: 26, }, end: Position { line: 170, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "logo", span: Span { start: Position { line: 172, column: 7, }, end: Position { line: 172, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 172, column: 14, }, end: Position { line: 172, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 173, column: 9, }, end: Position { line: 173, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 173, column: 16, }, end: Position { line: 173, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 173, column: 22, }, end: Position { line: 173, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 173, column: 29, }, end: Position { line: 173, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 173, column: 35, }, end: Position { line: 173, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 174, column: 9, }, end: Position { line: 174, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 174, column: 19, }, end: Position { line: 174, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 175, column: 9, }, end: Position { line: 175, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 175, column: 23, }, end: Position { line: 175, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 175, column: 27, }, end: Position { line: 175, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Path to a file containing the logo of your Hydra instance.\n", span: Span { start: Position { line: 176, column: 1, }, end: Position { line: 177, column: 9, }, }, }, ), ], span: Span { start: Position { line: 175, column: 33, }, end: Position { line: 177, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 172, column: 23, }, end: Position { line: 178, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "debugServer", span: Span { start: Position { line: 180, column: 7, }, end: Position { line: 180, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 180, column: 21, }, end: Position { line: 180, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 181, column: 9, }, end: Position { line: 181, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 181, column: 16, }, end: Position { line: 181, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 181, column: 22, }, end: Position { line: 181, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 182, column: 9, }, end: Position { line: 182, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 182, column: 19, }, end: Position { line: 182, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 183, column: 9, }, end: Position { line: 183, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 183, column: 23, }, end: Position { line: 183, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 183, column: 27, }, end: Position { line: 183, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Whether to run the server in debug mode.", span: Span { start: Position { line: 183, column: 34, }, end: Position { line: 183, column: 74, }, }, }, ), ], span: Span { start: Position { line: 183, column: 33, }, end: Position { line: 183, column: 75, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 180, column: 30, }, end: Position { line: 184, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 186, column: 7, }, end: Position { line: 186, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 186, column: 21, }, end: Position { line: 186, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 187, column: 9, }, end: Position { line: 187, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 187, column: 16, }, end: Position { line: 187, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 187, column: 22, }, end: Position { line: 187, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 188, column: 9, }, end: Position { line: 188, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 188, column: 23, }, end: Position { line: 188, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 188, column: 27, }, end: Position { line: 188, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra lines for the Hydra configuration.", span: Span { start: Position { line: 188, column: 34, }, end: Position { line: 188, column: 74, }, }, }, ), ], span: Span { start: Position { line: 188, column: 33, }, end: Position { line: 188, column: 75, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 186, column: 30, }, end: Position { line: 189, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraEnv", span: Span { start: Position { line: 191, column: 7, }, end: Position { line: 191, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 191, column: 18, }, end: Position { line: 191, column: 26, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 192, column: 9, }, end: Position { line: 192, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 192, column: 16, }, end: Position { line: 192, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 192, column: 22, }, end: Position { line: 192, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 192, column: 30, }, end: Position { line: 192, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 192, column: 36, }, end: Position { line: 192, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 193, column: 9, }, end: Position { line: 193, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 193, column: 19, }, end: Position { line: 193, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 194, column: 9, }, end: Position { line: 194, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 194, column: 23, }, end: Position { line: 194, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 194, column: 27, }, end: Position { line: 194, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Extra environment variables for Hydra.", span: Span { start: Position { line: 194, column: 34, }, end: Position { line: 194, column: 72, }, }, }, ), ], span: Span { start: Position { line: 194, column: 33, }, end: Position { line: 194, column: 73, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 191, column: 27, }, end: Position { line: 195, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gcRootsDir", span: Span { start: Position { line: 197, column: 7, }, end: Position { line: 197, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 197, column: 20, }, end: Position { line: 197, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 198, column: 9, }, end: Position { line: 198, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 198, column: 16, }, end: Position { line: 198, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 198, column: 22, }, end: Position { line: 198, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 199, column: 9, }, end: Position { line: 199, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/nix/var/nix/gcroots/hydra", span: Span { start: Position { line: 199, column: 20, }, end: Position { line: 199, column: 46, }, }, }, ), ], span: Span { start: Position { line: 199, column: 19, }, end: Position { line: 199, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 200, column: 9, }, end: Position { line: 200, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 200, column: 23, }, end: Position { line: 200, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 200, column: 27, }, end: Position { line: 200, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Directory that holds Hydra garbage collector roots.", span: Span { start: Position { line: 200, column: 34, }, end: Position { line: 200, column: 85, }, }, }, ), ], span: Span { start: Position { line: 200, column: 33, }, end: Position { line: 200, column: 86, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 197, column: 29, }, end: Position { line: 201, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "buildMachinesFiles", span: Span { start: Position { line: 203, column: 7, }, end: Position { line: 203, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 203, column: 28, }, end: Position { line: 203, column: 36, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 204, column: 9, }, end: Position { line: 204, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 204, column: 16, }, end: Position { line: 204, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 204, column: 22, }, end: Position { line: 204, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 204, column: 29, }, end: Position { line: 204, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 204, column: 35, }, end: Position { line: 204, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 205, column: 9, }, end: Position { line: 205, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 205, column: 19, }, end: Position { line: 205, column: 27, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 205, column: 29, }, end: Position { line: 205, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 205, column: 36, }, end: Position { line: 205, column: 39, }, }, }, ), Raw( PartRaw { content: "buildMachines", span: Span { start: Position { line: 205, column: 40, }, end: Position { line: 205, column: 53, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: List( List { elements: [], span: Span { start: Position { line: 205, column: 57, }, end: Position { line: 205, column: 59, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "/etc/nix/machines", span: Span { start: Position { line: 205, column: 62, }, end: Position { line: 205, column: 79, }, }, }, ), ], span: Span { start: Position { line: 205, column: 61, }, end: Position { line: 205, column: 80, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 206, column: 9, }, end: Position { line: 206, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 206, column: 23, }, end: Position { line: 206, column: 40, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "optional (config.nix.buildMachines != []) \"/etc/nix/machines\"", span: Span { start: Position { line: 206, column: 43, }, end: Position { line: 206, column: 104, }, }, }, ), ], span: Span { start: Position { line: 206, column: 41, }, end: Position { line: 206, column: 106, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 207, column: 9, }, end: Position { line: 207, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/etc/nix/machines", span: Span { start: Position { line: 207, column: 22, }, end: Position { line: 207, column: 39, }, }, }, ), ], span: Span { start: Position { line: 207, column: 21, }, end: Position { line: 207, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/hydra/provisioner/machines", span: Span { start: Position { line: 207, column: 42, }, end: Position { line: 207, column: 77, }, }, }, ), ], span: Span { start: Position { line: 207, column: 41, }, end: Position { line: 207, column: 78, }, }, }, ), ], span: Span { start: Position { line: 207, column: 19, }, end: Position { line: 207, column: 80, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 208, column: 9, }, end: Position { line: 208, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 208, column: 23, }, end: Position { line: 208, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 208, column: 27, }, end: Position { line: 208, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "List of files containing build machines.", span: Span { start: Position { line: 208, column: 34, }, end: Position { line: 208, column: 74, }, }, }, ), ], span: Span { start: Position { line: 208, column: 33, }, end: Position { line: 208, column: 75, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 203, column: 37, }, end: Position { line: 209, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useSubstitutes", span: Span { start: Position { line: 211, column: 7, }, end: Position { line: 211, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 211, column: 24, }, end: Position { line: 211, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 212, column: 9, }, end: Position { line: 212, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 212, column: 16, }, end: Position { line: 212, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 212, column: 22, }, end: Position { line: 212, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 213, column: 9, }, end: Position { line: 213, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 213, column: 19, }, end: Position { line: 213, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 214, column: 9, }, end: Position { line: 214, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 214, column: 23, }, end: Position { line: 214, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 214, column: 27, }, end: Position { line: 214, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to use binary caches for downloading store paths. Note that\nbinary substitutions trigger (a potentially large number of) additional\nHTTP requests that slow down the queue monitor thread significantly.\nAlso, this Hydra instance will serve those downloaded store paths to\nits users with its own signature attached as if it had built them\nitself, so don't enable this feature unless your active binary caches\nare absolute trustworthy.\n", span: Span { start: Position { line: 215, column: 1, }, end: Position { line: 222, column: 9, }, }, }, ), ], span: Span { start: Position { line: 214, column: 33, }, end: Position { line: 222, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 211, column: 33, }, end: Position { line: 223, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 76, column: 22, }, end: Position { line: 224, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 74, column: 13, }, end: Position { line: 226, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 231, column: 3, }, end: Position { line: 231, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 231, column: 12, }, end: Position { line: 231, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 231, column: 17, }, end: Position { line: 231, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 231, column: 21, }, end: Position { line: 231, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 233, column: 5, }, end: Position { line: 233, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 233, column: 11, }, end: Position { line: 233, column: 17, }, }, }, ), Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 233, column: 18, }, end: Position { line: 233, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gid", span: Span { start: Position { line: 234, column: 7, }, end: Position { line: 234, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 234, column: 13, }, end: Position { line: 234, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 234, column: 20, }, end: Position { line: 234, column: 23, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 234, column: 24, }, end: Position { line: 234, column: 28, }, }, }, ), Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 234, column: 29, }, end: Position { line: 234, column: 34, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 233, column: 26, }, end: Position { line: 235, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 237, column: 5, }, end: Position { line: 237, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 237, column: 11, }, end: Position { line: 237, column: 16, }, }, }, ), Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 237, column: 17, }, end: Position { line: 237, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 238, column: 9, }, end: Position { line: 238, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Hydra", span: Span { start: Position { line: 238, column: 24, }, end: Position { line: 238, column: 29, }, }, }, ), ], span: Span { start: Position { line: 238, column: 23, }, end: Position { line: 238, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 239, column: 9, }, end: Position { line: 239, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 239, column: 18, }, end: Position { line: 239, column: 23, }, }, }, ), ], span: Span { start: Position { line: 239, column: 17, }, end: Position { line: 239, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 241, column: 9, }, end: Position { line: 241, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 241, column: 16, }, end: Position { line: 241, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useDefaultShell", span: Span { start: Position { line: 242, column: 9, }, end: Position { line: 242, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 242, column: 27, }, end: Position { line: 242, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 243, column: 9, }, end: Position { line: 243, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 243, column: 15, }, end: Position { line: 243, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 243, column: 22, }, end: Position { line: 243, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 243, column: 26, }, end: Position { line: 243, column: 30, }, }, }, ), Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 243, column: 31, }, end: Position { line: 243, column: 36, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 238, column: 7, }, end: Position { line: 244, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 246, column: 5, }, end: Position { line: 246, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 246, column: 11, }, end: Position { line: 246, column: 16, }, }, }, ), Raw( PartRaw { content: "hydra-queue-runner", span: Span { start: Position { line: 246, column: 17, }, end: Position { line: 246, column: 35, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 247, column: 9, }, end: Position { line: 247, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Hydra queue runner", span: Span { start: Position { line: 247, column: 24, }, end: Position { line: 247, column: 42, }, }, }, ), ], span: Span { start: Position { line: 247, column: 23, }, end: Position { line: 247, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 248, column: 9, }, end: Position { line: 248, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 248, column: 18, }, end: Position { line: 248, column: 23, }, }, }, ), ], span: Span { start: Position { line: 248, column: 17, }, end: Position { line: 248, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useDefaultShell", span: Span { start: Position { line: 249, column: 9, }, end: Position { line: 249, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 249, column: 27, }, end: Position { line: 249, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 250, column: 9, }, end: Position { line: 250, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 250, column: 19, }, end: Position { line: 250, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: "/queue-runner", span: Span { start: Position { line: 250, column: 17, }, end: Position { line: 250, column: 40, }, }, }, ), ], span: Span { start: Position { line: 250, column: 16, }, end: Position { line: 250, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 251, column: 9, }, end: Position { line: 251, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 251, column: 15, }, end: Position { line: 251, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 251, column: 22, }, end: Position { line: 251, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 251, column: 26, }, end: Position { line: 251, column: 30, }, }, }, ), Raw( PartRaw { content: "hydra-queue-runner", span: Span { start: Position { line: 251, column: 31, }, end: Position { line: 251, column: 49, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 247, column: 7, }, end: Position { line: 252, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 254, column: 5, }, end: Position { line: 254, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 254, column: 11, }, end: Position { line: 254, column: 16, }, }, }, ), Raw( PartRaw { content: "hydra-www", span: Span { start: Position { line: 254, column: 17, }, end: Position { line: 254, column: 26, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 255, column: 9, }, end: Position { line: 255, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Hydra web server", span: Span { start: Position { line: 255, column: 24, }, end: Position { line: 255, column: 40, }, }, }, ), ], span: Span { start: Position { line: 255, column: 23, }, end: Position { line: 255, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 256, column: 9, }, end: Position { line: 256, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 256, column: 18, }, end: Position { line: 256, column: 23, }, }, }, ), ], span: Span { start: Position { line: 256, column: 17, }, end: Position { line: 256, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useDefaultShell", span: Span { start: Position { line: 257, column: 9, }, end: Position { line: 257, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 257, column: 27, }, end: Position { line: 257, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 258, column: 9, }, end: Position { line: 258, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 258, column: 15, }, end: Position { line: 258, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 258, column: 22, }, end: Position { line: 258, column: 25, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 258, column: 26, }, end: Position { line: 258, column: 30, }, }, }, ), Raw( PartRaw { content: "hydra-www", span: Span { start: Position { line: 258, column: 31, }, end: Position { line: 258, column: 40, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 255, column: 7, }, end: Position { line: 259, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 261, column: 5, }, end: Position { line: 261, column: 13, }, }, }, ), Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 261, column: 14, }, end: Position { line: 261, column: 19, }, }, }, ), Raw( PartRaw { content: "extraConfig", span: Span { start: Position { line: 261, column: 20, }, end: Position { line: 261, column: 31, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "using_frontend_proxy = 1\nbase_uri = ", span: Span { start: Position { line: 263, column: 1, }, end: Position { line: 264, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 264, column: 22, }, end: Position { line: 264, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "hydraURL", span: Span { start: Position { line: 264, column: 26, }, end: Position { line: 264, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nnotification_sender = ", span: Span { start: Position { line: 263, column: 1, }, end: Position { line: 265, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 265, column: 33, }, end: Position { line: 265, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "notificationSender", span: Span { start: Position { line: 265, column: 37, }, end: Position { line: 265, column: 55, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nmax_servers = 25\n", span: Span { start: Position { line: 263, column: 1, }, end: Position { line: 267, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 267, column: 11, }, end: Position { line: 267, column: 25, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 267, column: 27, }, end: Position { line: 267, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logo", span: Span { start: Position { line: 267, column: 31, }, end: Position { line: 267, column: 35, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 267, column: 39, }, end: Position { line: 267, column: 43, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "hydra_logo = ", span: Span { start: Position { line: 268, column: 1, }, end: Position { line: 268, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 268, column: 26, }, end: Position { line: 268, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "logo", span: Span { start: Position { line: 268, column: 30, }, end: Position { line: 268, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 268, column: 1, }, end: Position { line: 269, column: 9, }, }, }, ), ], span: Span { start: Position { line: 267, column: 45, }, end: Position { line: 269, column: 11, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\ngc_roots_dir = ", span: Span { start: Position { line: 263, column: 1, }, end: Position { line: 270, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 270, column: 26, }, end: Position { line: 270, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gcRootsDir", span: Span { start: Position { line: 270, column: 30, }, end: Position { line: 270, column: 40, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nuse-substitutes = ", span: Span { start: Position { line: 263, column: 1, }, end: Position { line: 271, column: 27, }, }, }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 271, column: 32, }, end: Position { line: 271, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "useSubstitutes", span: Span { start: Position { line: 271, column: 36, }, end: Position { line: 271, column: 50, }, }, }, ), ], default: None, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "1", span: Span { start: Position { line: 271, column: 57, }, end: Position { line: 271, column: 58, }, }, }, ), ], span: Span { start: Position { line: 271, column: 56, }, end: Position { line: 271, column: 59, }, }, }, ), else_: String( String_ { parts: [ Raw( PartRaw { content: "0", span: Span { start: Position { line: 271, column: 66, }, end: Position { line: 271, column: 67, }, }, }, ), ], span: Span { start: Position { line: 271, column: 65, }, end: Position { line: 271, column: 68, }, }, }, ), span: Span { start: Position { line: 271, column: 29, }, end: Position { line: 271, column: 68, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 263, column: 1, }, end: Position { line: 272, column: 7, }, }, }, ), ], span: Span { start: Position { line: 262, column: 7, }, end: Position { line: 272, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 274, column: 5, }, end: Position { line: 274, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 274, column: 17, }, end: Position { line: 274, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 274, column: 36, }, end: Position { line: 274, column: 49, }, }, }, ), ], span: Span { start: Position { line: 274, column: 34, }, end: Position { line: 274, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 276, column: 5, }, end: Position { line: 276, column: 16, }, }, }, ), Raw( PartRaw { content: "variables", span: Span { start: Position { line: 276, column: 17, }, end: Position { line: 276, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "hydraEnv", span: Span { start: Position { line: 276, column: 29, }, end: Position { line: 276, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 278, column: 5, }, end: Position { line: 278, column: 8, }, }, }, ), Raw( PartRaw { content: "settings", span: Span { start: Position { line: 278, column: 9, }, end: Position { line: 278, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 278, column: 20, }, end: Position { line: 278, column: 27, }, }, }, ), arguments: [ List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "keep-outputs", span: Span { start: Position { line: 280, column: 9, }, end: Position { line: 280, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 280, column: 24, }, end: Position { line: 280, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "keep-derivations", span: Span { start: Position { line: 281, column: 9, }, end: Position { line: 281, column: 25, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 281, column: 28, }, end: Position { line: 281, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "trusted-users", span: Span { start: Position { line: 282, column: 9, }, end: Position { line: 282, column: 22, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-queue-runner", span: Span { start: Position { line: 282, column: 28, }, end: Position { line: 282, column: 46, }, }, }, ), ], span: Span { start: Position { line: 282, column: 27, }, end: Position { line: 282, column: 47, }, }, }, ), ], span: Span { start: Position { line: 282, column: 25, }, end: Position { line: 282, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 279, column: 7, }, end: Position { line: 283, column: 8, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 285, column: 8, }, end: Position { line: 285, column: 12, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "versionOlder", span: Span { start: Position { line: 285, column: 14, }, end: Position { line: 285, column: 26, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "getVersion", span: Span { start: Position { line: 285, column: 28, }, end: Position { line: 285, column: 38, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 285, column: 39, }, end: Position { line: 285, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 285, column: 46, }, end: Position { line: 285, column: 49, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 285, column: 50, }, end: Position { line: 285, column: 57, }, }, }, ), Raw( PartRaw { content: "out", span: Span { start: Position { line: 285, column: 58, }, end: Position { line: 285, column: 61, }, }, }, ), ], default: None, }, ), ], }, ), String( String_ { parts: [ Raw( PartRaw { content: "2.4pre", span: Span { start: Position { line: 285, column: 64, }, end: Position { line: 285, column: 70, }, }, }, ), ], span: Span { start: Position { line: 285, column: 63, }, end: Position { line: 285, column: 71, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gc-check-reachability", span: Span { start: Position { line: 289, column: 11, }, end: Position { line: 289, column: 32, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 289, column: 35, }, end: Position { line: 289, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 286, column: 9, }, end: Position { line: 290, column: 10, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 278, column: 28, }, end: Position { line: 292, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 294, column: 5, }, end: Position { line: 294, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 294, column: 13, }, end: Position { line: 294, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-init", span: Span { start: Position { line: 294, column: 22, }, end: Position { line: 294, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 295, column: 9, }, end: Position { line: 295, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 295, column: 23, }, end: Position { line: 295, column: 40, }, }, }, ), ], span: Span { start: Position { line: 295, column: 22, }, end: Position { line: 295, column: 41, }, }, }, ), ], span: Span { start: Position { line: 295, column: 20, }, end: Position { line: 295, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requires", span: Span { start: Position { line: 296, column: 9, }, end: Position { line: 296, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 296, column: 20, }, end: Position { line: 296, column: 28, }, }, }, ), arguments: [ Identifier( Identifier { id: "haveLocalDB", span: Span { start: Position { line: 296, column: 29, }, end: Position { line: 296, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "postgresql.service", span: Span { start: Position { line: 296, column: 42, }, end: Position { line: 296, column: 60, }, }, }, ), ], span: Span { start: Position { line: 296, column: 41, }, end: Position { line: 296, column: 61, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 297, column: 9, }, end: Position { line: 297, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 297, column: 17, }, end: Position { line: 297, column: 25, }, }, }, ), arguments: [ Identifier( Identifier { id: "haveLocalDB", span: Span { start: Position { line: 297, column: 26, }, end: Position { line: 297, column: 37, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "postgresql.service", span: Span { start: Position { line: 297, column: 39, }, end: Position { line: 297, column: 57, }, }, }, ), ], span: Span { start: Position { line: 297, column: 38, }, end: Position { line: 297, column: 58, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 298, column: 9, }, end: Position { line: 298, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "env", span: Span { start: Position { line: 298, column: 23, }, end: Position { line: 298, column: 26, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 299, column: 11, }, end: Position { line: 299, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "env", span: Span { start: Position { line: 299, column: 26, }, end: Position { line: 299, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 299, column: 30, }, end: Position { line: 299, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";application_name=hydra-init", span: Span { start: Position { line: 299, column: 24, }, end: Position { line: 299, column: 68, }, }, }, ), ], span: Span { start: Position { line: 299, column: 23, }, end: Position { line: 299, column: 69, }, }, }, ), }, ), ], span: Span { start: Position { line: 298, column: 30, }, end: Position { line: 300, column: 10, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 301, column: 9, }, end: Position { line: 301, column: 13, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 301, column: 18, }, end: Position { line: 301, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "util-linux", span: Span { start: Position { line: 301, column: 23, }, end: Position { line: 301, column: 33, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 301, column: 16, }, end: Position { line: 301, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preStart", span: Span { start: Position { line: 302, column: 9, }, end: Position { line: 302, column: 17, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 303, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 303, column: 22, }, end: Position { line: 303, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: "\nchown hydra:hydra ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 304, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 304, column: 31, }, end: Position { line: 304, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "\nchmod 0750 ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 305, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 305, column: 24, }, end: Position { line: 305, column: 31, }, }, }, ), }, ), Raw( PartRaw { content: "\n\nln -sf ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 307, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydraConf", span: Span { start: Position { line: 307, column: 20, }, end: Position { line: 307, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 307, column: 31, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 307, column: 33, }, end: Position { line: 307, column: 40, }, }, }, ), }, ), Raw( PartRaw { content: "/hydra.conf\n\nmkdir -m 0700 -p ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 309, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 309, column: 30, }, end: Position { line: 309, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "/www\nchown hydra-www:hydra ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 310, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 310, column: 35, }, end: Position { line: 310, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "/www\n\nmkdir -m 0700 -p ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 312, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 312, column: 30, }, end: Position { line: 312, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "/queue-runner\nmkdir -m 0750 -p ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 313, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 313, column: 30, }, end: Position { line: 313, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "/build-logs\nmkdir -m 0750 -p ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 314, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 314, column: 30, }, end: Position { line: 314, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "/runcommand-logs\nchown hydra-queue-runner.hydra \\\n ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 316, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 316, column: 15, }, end: Position { line: 316, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: "/queue-runner \\\n ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 317, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 317, column: 15, }, end: Position { line: 317, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: "/build-logs \\\n ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 318, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 318, column: 15, }, end: Position { line: 318, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: "/runcommand-logs\n\n", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 320, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 320, column: 13, }, end: Position { line: 320, column: 27, }, }, }, ), arguments: [ Identifier( Identifier { id: "haveLocalDB", span: Span { start: Position { line: 320, column: 28, }, end: Position { line: 320, column: 39, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if ! [ -e ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 321, column: 23, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 321, column: 25, }, end: Position { line: 321, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: "/.db-created ]; then\n runuser -u ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 322, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 322, column: 28, }, end: Position { line: 322, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 322, column: 35, }, end: Position { line: 322, column: 43, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 322, column: 44, }, end: Position { line: 322, column: 54, }, }, }, ), Raw( PartRaw { content: "superUser", span: Span { start: Position { line: 322, column: 55, }, end: Position { line: 322, column: 64, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 322, column: 66, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 322, column: 68, }, end: Position { line: 322, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 322, column: 75, }, end: Position { line: 322, column: 83, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 322, column: 84, }, end: Position { line: 322, column: 94, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 322, column: 95, }, end: Position { line: 322, column: 102, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/createuser hydra\n runuser -u ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 323, column: 26, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 323, column: 28, }, end: Position { line: 323, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 323, column: 35, }, end: Position { line: 323, column: 43, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 323, column: 44, }, end: Position { line: 323, column: 54, }, }, }, ), Raw( PartRaw { content: "superUser", span: Span { start: Position { line: 323, column: 55, }, end: Position { line: 323, column: 64, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 323, column: 66, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 323, column: 68, }, end: Position { line: 323, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 323, column: 75, }, end: Position { line: 323, column: 83, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 323, column: 84, }, end: Position { line: 323, column: 94, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 323, column: 95, }, end: Position { line: 323, column: 102, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/createdb -- -O hydra hydra\n touch ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 324, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 324, column: 23, }, end: Position { line: 324, column: 30, }, }, }, ), }, ), Raw( PartRaw { content: "/.db-created\nfi\necho \"create extension if not exists pg_trgm\" | runuser -u ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 326, column: 72, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 326, column: 74, }, end: Position { line: 326, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 326, column: 81, }, end: Position { line: 326, column: 89, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 326, column: 90, }, end: Position { line: 326, column: 100, }, }, }, ), Raw( PartRaw { content: "superUser", span: Span { start: Position { line: 326, column: 101, }, end: Position { line: 326, column: 110, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " -- ", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 326, column: 115, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 326, column: 117, }, end: Position { line: 326, column: 123, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 326, column: 124, }, end: Position { line: 326, column: 132, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 326, column: 133, }, end: Position { line: 326, column: 143, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 326, column: 144, }, end: Position { line: 326, column: 151, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/psql hydra\n", span: Span { start: Position { line: 321, column: 1, }, end: Position { line: 327, column: 11, }, }, }, ), ], span: Span { start: Position { line: 320, column: 40, }, end: Position { line: 327, column: 13, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\nif [ ! -e ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 329, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 329, column: 23, }, end: Position { line: 329, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gcRootsDir", span: Span { start: Position { line: 329, column: 27, }, end: Position { line: 329, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ]; then\n\n # Move legacy roots directory.\n if [ -e /nix/var/nix/gcroots/per-user/hydra/hydra-roots ]; then\n mv /nix/var/nix/gcroots/per-user/hydra/hydra-roots ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 333, column: 66, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 333, column: 68, }, end: Position { line: 333, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gcRootsDir", span: Span { start: Position { line: 333, column: 72, }, end: Position { line: 333, column: 82, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n fi\n\n mkdir -p ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 336, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 336, column: 24, }, end: Position { line: 336, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gcRootsDir", span: Span { start: Position { line: 336, column: 28, }, end: Position { line: 336, column: 38, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nfi\n\n# Move legacy hydra-www roots.\nif [ -e /nix/var/nix/gcroots/per-user/hydra-www/hydra-roots ]; then\n find /nix/var/nix/gcroots/per-user/hydra-www/hydra-roots/ -type f \\\n | xargs -r mv -f -t ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 342, column: 35, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 342, column: 37, }, end: Position { line: 342, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gcRootsDir", span: Span { start: Position { line: 342, column: 41, }, end: Position { line: 342, column: 51, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/\n rmdir /nix/var/nix/gcroots/per-user/hydra-www/hydra-roots\nfi\n\nchown hydra:hydra ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 346, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 346, column: 31, }, end: Position { line: 346, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gcRootsDir", span: Span { start: Position { line: 346, column: 35, }, end: Position { line: 346, column: 45, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nchmod 2775 ", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 347, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 347, column: 24, }, end: Position { line: 347, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gcRootsDir", span: Span { start: Position { line: 347, column: 28, }, end: Position { line: 347, column: 38, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 303, column: 1, }, end: Position { line: 348, column: 9, }, }, }, ), ], span: Span { start: Position { line: 302, column: 20, }, end: Position { line: 348, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 349, column: 9, }, end: Position { line: 349, column: 22, }, }, }, ), Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 349, column: 23, }, end: Position { line: 349, column: 32, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 349, column: 38, }, end: Position { line: 349, column: 51, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/hydra-init", span: Span { start: Position { line: 349, column: 36, }, end: Position { line: 349, column: 67, }, }, }, ), ], span: Span { start: Position { line: 349, column: 35, }, end: Position { line: 349, column: 68, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 350, column: 9, }, end: Position { line: 350, column: 22, }, }, }, ), Raw( PartRaw { content: "PermissionsStartOnly", span: Span { start: Position { line: 350, column: 23, }, end: Position { line: 350, column: 43, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 350, column: 46, }, end: Position { line: 350, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 351, column: 9, }, end: Position { line: 351, column: 22, }, }, }, ), Raw( PartRaw { content: "User", span: Span { start: Position { line: 351, column: 23, }, end: Position { line: 351, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 351, column: 31, }, end: Position { line: 351, column: 36, }, }, }, ), ], span: Span { start: Position { line: 351, column: 30, }, end: Position { line: 351, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 352, column: 9, }, end: Position { line: 352, column: 22, }, }, }, ), Raw( PartRaw { content: "Type", span: Span { start: Position { line: 352, column: 23, }, end: Position { line: 352, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 352, column: 31, }, end: Position { line: 352, column: 38, }, }, }, ), ], span: Span { start: Position { line: 352, column: 30, }, end: Position { line: 352, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 353, column: 9, }, end: Position { line: 353, column: 22, }, }, }, ), Raw( PartRaw { content: "RemainAfterExit", span: Span { start: Position { line: 353, column: 23, }, end: Position { line: 353, column: 38, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 353, column: 41, }, end: Position { line: 353, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 295, column: 7, }, end: Position { line: 354, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 356, column: 5, }, end: Position { line: 356, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 356, column: 13, }, end: Position { line: 356, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-server", span: Span { start: Position { line: 356, column: 22, }, end: Position { line: 356, column: 34, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 357, column: 9, }, end: Position { line: 357, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 357, column: 23, }, end: Position { line: 357, column: 40, }, }, }, ), ], span: Span { start: Position { line: 357, column: 22, }, end: Position { line: 357, column: 41, }, }, }, ), ], span: Span { start: Position { line: 357, column: 20, }, end: Position { line: 357, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requires", span: Span { start: Position { line: 358, column: 9, }, end: Position { line: 358, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 358, column: 23, }, end: Position { line: 358, column: 41, }, }, }, ), ], span: Span { start: Position { line: 358, column: 22, }, end: Position { line: 358, column: 42, }, }, }, ), ], span: Span { start: Position { line: 358, column: 20, }, end: Position { line: 358, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 359, column: 9, }, end: Position { line: 359, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 359, column: 20, }, end: Position { line: 359, column: 38, }, }, }, ), ], span: Span { start: Position { line: 359, column: 19, }, end: Position { line: 359, column: 39, }, }, }, ), ], span: Span { start: Position { line: 359, column: 17, }, end: Position { line: 359, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 360, column: 9, }, end: Position { line: 360, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "serverEnv", span: Span { start: Position { line: 360, column: 23, }, end: Position { line: 360, column: 32, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 361, column: 11, }, end: Position { line: 361, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "serverEnv", span: Span { start: Position { line: 361, column: 26, }, end: Position { line: 361, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 361, column: 36, }, end: Position { line: 361, column: 45, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";application_name=hydra-server", span: Span { start: Position { line: 361, column: 24, }, end: Position { line: 361, column: 76, }, }, }, ), ], span: Span { start: Position { line: 361, column: 23, }, end: Position { line: 361, column: 77, }, }, }, ), }, ), ], span: Span { start: Position { line: 360, column: 36, }, end: Position { line: 362, column: 10, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 363, column: 9, }, end: Position { line: 363, column: 24, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "hydraConf", span: Span { start: Position { line: 363, column: 29, }, end: Position { line: 363, column: 38, }, }, }, ), ], span: Span { start: Position { line: 363, column: 27, }, end: Position { line: 363, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 364, column: 9, }, end: Position { line: 364, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 365, column: 13, }, end: Position { line: 365, column: 22, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "@", span: Span { start: Position { line: 366, column: 16, }, end: Position { line: 366, column: 33, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 366, column: 19, }, end: Position { line: 366, column: 32, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/hydra-server hydra-server -f -h '", span: Span { start: Position { line: 366, column: 16, }, end: Position { line: 366, column: 71, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 366, column: 73, }, end: Position { line: 366, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listenHost", span: Span { start: Position { line: 366, column: 77, }, end: Position { line: 366, column: 87, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "' ", span: Span { start: Position { line: 366, column: 16, }, end: Position { line: 366, column: 90, }, }, }, ), ], span: Span { start: Position { line: 366, column: 15, }, end: Position { line: 366, column: 91, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "-p ", span: Span { start: Position { line: 367, column: 18, }, end: Position { line: 367, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 367, column: 23, }, end: Position { line: 367, column: 31, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 367, column: 32, }, end: Position { line: 367, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 367, column: 36, }, end: Position { line: 367, column: 40, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " --max_spare_servers 5 --max_servers 25 ", span: Span { start: Position { line: 367, column: 18, }, end: Position { line: 367, column: 81, }, }, }, ), ], span: Span { start: Position { line: 367, column: 17, }, end: Position { line: 367, column: 82, }, }, }, ), }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "--max_requests 100 ", span: Span { start: Position { line: 368, column: 18, }, end: Position { line: 368, column: 75, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 368, column: 39, }, end: Position { line: 368, column: 53, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 368, column: 54, }, end: Position { line: 368, column: 57, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "debugServer", span: Span { start: Position { line: 368, column: 58, }, end: Position { line: 368, column: 69, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "-d", span: Span { start: Position { line: 368, column: 71, }, end: Position { line: 368, column: 73, }, }, }, ), ], span: Span { start: Position { line: 368, column: 70, }, end: Position { line: 368, column: 74, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 368, column: 17, }, end: Position { line: 368, column: 76, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 369, column: 13, }, end: Position { line: 369, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra-www", span: Span { start: Position { line: 369, column: 21, }, end: Position { line: 369, column: 30, }, }, }, ), ], span: Span { start: Position { line: 369, column: 20, }, end: Position { line: 369, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PermissionsStartOnly", span: Span { start: Position { line: 370, column: 13, }, end: Position { line: 370, column: 33, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 370, column: 36, }, end: Position { line: 370, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 371, column: 13, }, end: Position { line: 371, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 371, column: 24, }, end: Position { line: 371, column: 30, }, }, }, ), ], span: Span { start: Position { line: 371, column: 23, }, end: Position { line: 371, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 365, column: 11, }, end: Position { line: 372, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 357, column: 7, }, end: Position { line: 373, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 375, column: 5, }, end: Position { line: 375, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 375, column: 13, }, end: Position { line: 375, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-queue-runner", span: Span { start: Position { line: 375, column: 22, }, end: Position { line: 375, column: 40, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 376, column: 9, }, end: Position { line: 376, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 376, column: 23, }, end: Position { line: 376, column: 40, }, }, }, ), ], span: Span { start: Position { line: 376, column: 22, }, end: Position { line: 376, column: 41, }, }, }, ), ], span: Span { start: Position { line: 376, column: 20, }, end: Position { line: 376, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requires", span: Span { start: Position { line: 377, column: 9, }, end: Position { line: 377, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 377, column: 23, }, end: Position { line: 377, column: 41, }, }, }, ), ], span: Span { start: Position { line: 377, column: 22, }, end: Position { line: 377, column: 42, }, }, }, ), ], span: Span { start: Position { line: 377, column: 20, }, end: Position { line: 377, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 378, column: 9, }, end: Position { line: 378, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 378, column: 20, }, end: Position { line: 378, column: 38, }, }, }, ), ], span: Span { start: Position { line: 378, column: 19, }, end: Position { line: 378, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 378, column: 41, }, end: Position { line: 378, column: 55, }, }, }, ), ], span: Span { start: Position { line: 378, column: 40, }, end: Position { line: 378, column: 56, }, }, }, ), ], span: Span { start: Position { line: 378, column: 17, }, end: Position { line: 378, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 379, column: 9, }, end: Position { line: 379, column: 13, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 379, column: 18, }, end: Position { line: 379, column: 31, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 379, column: 32, }, end: Position { line: 379, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nettools", span: Span { start: Position { line: 379, column: 37, }, end: Position { line: 379, column: 45, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 379, column: 46, }, end: Position { line: 379, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "openssh", span: Span { start: Position { line: 379, column: 51, }, end: Position { line: 379, column: 58, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 379, column: 59, }, end: Position { line: 379, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bzip2", span: Span { start: Position { line: 379, column: 64, }, end: Position { line: 379, column: 69, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 379, column: 70, }, end: Position { line: 379, column: 76, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 379, column: 77, }, end: Position { line: 379, column: 80, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 379, column: 81, }, end: Position { line: 379, column: 88, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 379, column: 16, }, end: Position { line: 379, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 380, column: 9, }, end: Position { line: 380, column: 24, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "hydraConf", span: Span { start: Position { line: 380, column: 29, }, end: Position { line: 380, column: 38, }, }, }, ), ], span: Span { start: Position { line: 380, column: 27, }, end: Position { line: 380, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 381, column: 9, }, end: Position { line: 381, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "env", span: Span { start: Position { line: 381, column: 23, }, end: Position { line: 381, column: 26, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PGPASSFILE", span: Span { start: Position { line: 382, column: 11, }, end: Position { line: 382, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 382, column: 27, }, end: Position { line: 382, column: 34, }, }, }, ), }, ), Raw( PartRaw { content: "/pgpass-queue-runner", span: Span { start: Position { line: 382, column: 25, }, end: Position { line: 382, column: 55, }, }, }, ), ], span: Span { start: Position { line: 382, column: 24, }, end: Position { line: 382, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "IN_SYSTEMD", span: Span { start: Position { line: 383, column: 11, }, end: Position { line: 383, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "1", span: Span { start: Position { line: 383, column: 25, }, end: Position { line: 383, column: 26, }, }, }, ), ], span: Span { start: Position { line: 383, column: 24, }, end: Position { line: 383, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 384, column: 11, }, end: Position { line: 384, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "env", span: Span { start: Position { line: 384, column: 26, }, end: Position { line: 384, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 384, column: 30, }, end: Position { line: 384, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";application_name=hydra-queue-runner", span: Span { start: Position { line: 384, column: 24, }, end: Position { line: 384, column: 76, }, }, }, ), ], span: Span { start: Position { line: 384, column: 23, }, end: Position { line: 384, column: 77, }, }, }, ), }, ), ], span: Span { start: Position { line: 381, column: 30, }, end: Position { line: 385, column: 10, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 386, column: 9, }, end: Position { line: 386, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 387, column: 13, }, end: Position { line: 387, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "@", span: Span { start: Position { line: 387, column: 26, }, end: Position { line: 387, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 387, column: 29, }, end: Position { line: 387, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/hydra-queue-runner hydra-queue-runner -v", span: Span { start: Position { line: 387, column: 26, }, end: Position { line: 387, column: 88, }, }, }, ), ], span: Span { start: Position { line: 387, column: 25, }, end: Position { line: 387, column: 89, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStopPost", span: Span { start: Position { line: 388, column: 13, }, end: Position { line: 388, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 388, column: 31, }, end: Position { line: 388, column: 44, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/hydra-queue-runner --unlock", span: Span { start: Position { line: 388, column: 29, }, end: Position { line: 388, column: 77, }, }, }, ), ], span: Span { start: Position { line: 388, column: 28, }, end: Position { line: 388, column: 78, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 389, column: 13, }, end: Position { line: 389, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra-queue-runner", span: Span { start: Position { line: 389, column: 21, }, end: Position { line: 389, column: 39, }, }, }, ), ], span: Span { start: Position { line: 389, column: 20, }, end: Position { line: 389, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 390, column: 13, }, end: Position { line: 390, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 390, column: 24, }, end: Position { line: 390, column: 30, }, }, }, ), ], span: Span { start: Position { line: 390, column: 23, }, end: Position { line: 390, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "LimitCORE", span: Span { start: Position { line: 393, column: 13, }, end: Position { line: 393, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "infinity", span: Span { start: Position { line: 393, column: 26, }, end: Position { line: 393, column: 34, }, }, }, ), ], span: Span { start: Position { line: 393, column: 25, }, end: Position { line: 393, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 394, column: 13, }, end: Position { line: 394, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 394, column: 35, }, end: Position { line: 394, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "/queue-runner", span: Span { start: Position { line: 394, column: 33, }, end: Position { line: 394, column: 56, }, }, }, ), ], span: Span { start: Position { line: 394, column: 32, }, end: Position { line: 394, column: 57, }, }, }, ), }, ), ], span: Span { start: Position { line: 387, column: 11, }, end: Position { line: 395, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 376, column: 7, }, end: Position { line: 396, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 398, column: 5, }, end: Position { line: 398, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 398, column: 13, }, end: Position { line: 398, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-evaluator", span: Span { start: Position { line: 398, column: 22, }, end: Position { line: 398, column: 37, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 399, column: 9, }, end: Position { line: 399, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 399, column: 23, }, end: Position { line: 399, column: 40, }, }, }, ), ], span: Span { start: Position { line: 399, column: 22, }, end: Position { line: 399, column: 41, }, }, }, ), ], span: Span { start: Position { line: 399, column: 20, }, end: Position { line: 399, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requires", span: Span { start: Position { line: 400, column: 9, }, end: Position { line: 400, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 400, column: 23, }, end: Position { line: 400, column: 41, }, }, }, ), ], span: Span { start: Position { line: 400, column: 22, }, end: Position { line: 400, column: 42, }, }, }, ), ], span: Span { start: Position { line: 400, column: 20, }, end: Position { line: 400, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 401, column: 9, }, end: Position { line: 401, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 401, column: 20, }, end: Position { line: 401, column: 38, }, }, }, ), ], span: Span { start: Position { line: 401, column: 19, }, end: Position { line: 401, column: 39, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 401, column: 41, }, end: Position { line: 401, column: 55, }, }, }, ), ], span: Span { start: Position { line: 401, column: 40, }, end: Position { line: 401, column: 56, }, }, }, ), ], span: Span { start: Position { line: 401, column: 17, }, end: Position { line: 401, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 402, column: 9, }, end: Position { line: 402, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 402, column: 21, }, end: Position { line: 402, column: 25, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 402, column: 29, }, end: Position { line: 402, column: 42, }, }, }, ), Identifier( Identifier { id: "nettools", span: Span { start: Position { line: 402, column: 43, }, end: Position { line: 402, column: 51, }, }, }, ), Identifier( Identifier { id: "jq", span: Span { start: Position { line: 402, column: 52, }, end: Position { line: 402, column: 54, }, }, }, ), ], span: Span { start: Position { line: 402, column: 27, }, end: Position { line: 402, column: 56, }, }, }, ), span: Span { start: Position { line: 402, column: 16, }, end: Position { line: 402, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 403, column: 9, }, end: Position { line: 403, column: 24, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "hydraConf", span: Span { start: Position { line: 403, column: 29, }, end: Position { line: 403, column: 38, }, }, }, ), ], span: Span { start: Position { line: 403, column: 27, }, end: Position { line: 403, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 404, column: 9, }, end: Position { line: 404, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "env", span: Span { start: Position { line: 404, column: 23, }, end: Position { line: 404, column: 26, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 405, column: 11, }, end: Position { line: 405, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "env", span: Span { start: Position { line: 405, column: 26, }, end: Position { line: 405, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 405, column: 30, }, end: Position { line: 405, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";application_name=hydra-evaluator", span: Span { start: Position { line: 405, column: 24, }, end: Position { line: 405, column: 73, }, }, }, ), ], span: Span { start: Position { line: 405, column: 23, }, end: Position { line: 405, column: 74, }, }, }, ), }, ), ], span: Span { start: Position { line: 404, column: 30, }, end: Position { line: 406, column: 10, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 407, column: 9, }, end: Position { line: 407, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 408, column: 13, }, end: Position { line: 408, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "@", span: Span { start: Position { line: 408, column: 26, }, end: Position { line: 408, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 408, column: 29, }, end: Position { line: 408, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/hydra-evaluator hydra-evaluator", span: Span { start: Position { line: 408, column: 26, }, end: Position { line: 408, column: 79, }, }, }, ), ], span: Span { start: Position { line: 408, column: 25, }, end: Position { line: 408, column: 80, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 409, column: 13, }, end: Position { line: 409, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 409, column: 21, }, end: Position { line: 409, column: 26, }, }, }, ), ], span: Span { start: Position { line: 409, column: 20, }, end: Position { line: 409, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 410, column: 13, }, end: Position { line: 410, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 410, column: 24, }, end: Position { line: 410, column: 30, }, }, }, ), ], span: Span { start: Position { line: 410, column: 23, }, end: Position { line: 410, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 411, column: 13, }, end: Position { line: 411, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 411, column: 32, }, end: Position { line: 411, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 408, column: 11, }, end: Position { line: 412, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 399, column: 7, }, end: Position { line: 413, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 415, column: 5, }, end: Position { line: 415, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 415, column: 13, }, end: Position { line: 415, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-update-gc-roots", span: Span { start: Position { line: 415, column: 22, }, end: Position { line: 415, column: 43, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requires", span: Span { start: Position { line: 416, column: 9, }, end: Position { line: 416, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 416, column: 23, }, end: Position { line: 416, column: 41, }, }, }, ), ], span: Span { start: Position { line: 416, column: 22, }, end: Position { line: 416, column: 42, }, }, }, ), ], span: Span { start: Position { line: 416, column: 20, }, end: Position { line: 416, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 417, column: 9, }, end: Position { line: 417, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 417, column: 20, }, end: Position { line: 417, column: 38, }, }, }, ), ], span: Span { start: Position { line: 417, column: 19, }, end: Position { line: 417, column: 39, }, }, }, ), ], span: Span { start: Position { line: 417, column: 17, }, end: Position { line: 417, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 418, column: 9, }, end: Position { line: 418, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "env", span: Span { start: Position { line: 418, column: 23, }, end: Position { line: 418, column: 26, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 419, column: 11, }, end: Position { line: 419, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "env", span: Span { start: Position { line: 419, column: 26, }, end: Position { line: 419, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 419, column: 30, }, end: Position { line: 419, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";application_name=hydra-update-gc-roots", span: Span { start: Position { line: 419, column: 24, }, end: Position { line: 419, column: 79, }, }, }, ), ], span: Span { start: Position { line: 419, column: 23, }, end: Position { line: 419, column: 80, }, }, }, ), }, ), ], span: Span { start: Position { line: 418, column: 30, }, end: Position { line: 420, column: 10, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 421, column: 9, }, end: Position { line: 421, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 422, column: 13, }, end: Position { line: 422, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "@", span: Span { start: Position { line: 422, column: 26, }, end: Position { line: 422, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 422, column: 29, }, end: Position { line: 422, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/hydra-update-gc-roots hydra-update-gc-roots", span: Span { start: Position { line: 422, column: 26, }, end: Position { line: 422, column: 91, }, }, }, ), ], span: Span { start: Position { line: 422, column: 25, }, end: Position { line: 422, column: 92, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 423, column: 13, }, end: Position { line: 423, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 423, column: 21, }, end: Position { line: 423, column: 26, }, }, }, ), ], span: Span { start: Position { line: 423, column: 20, }, end: Position { line: 423, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 422, column: 11, }, end: Position { line: 424, column: 12, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startAt", span: Span { start: Position { line: 425, column: 9, }, end: Position { line: 425, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "2,14:15", span: Span { start: Position { line: 425, column: 20, }, end: Position { line: 425, column: 27, }, }, }, ), ], span: Span { start: Position { line: 425, column: 19, }, end: Position { line: 425, column: 28, }, }, }, ), }, ), ], span: Span { start: Position { line: 416, column: 7, }, end: Position { line: 426, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 428, column: 5, }, end: Position { line: 428, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 428, column: 13, }, end: Position { line: 428, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-send-stats", span: Span { start: Position { line: 428, column: 22, }, end: Position { line: 428, column: 38, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 429, column: 9, }, end: Position { line: 429, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 429, column: 23, }, end: Position { line: 429, column: 40, }, }, }, ), ], span: Span { start: Position { line: 429, column: 22, }, end: Position { line: 429, column: 41, }, }, }, ), ], span: Span { start: Position { line: 429, column: 20, }, end: Position { line: 429, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 430, column: 9, }, end: Position { line: 430, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 430, column: 20, }, end: Position { line: 430, column: 38, }, }, }, ), ], span: Span { start: Position { line: 430, column: 19, }, end: Position { line: 430, column: 39, }, }, }, ), ], span: Span { start: Position { line: 430, column: 17, }, end: Position { line: 430, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 431, column: 9, }, end: Position { line: 431, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "env", span: Span { start: Position { line: 431, column: 23, }, end: Position { line: 431, column: 26, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 432, column: 11, }, end: Position { line: 432, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "env", span: Span { start: Position { line: 432, column: 26, }, end: Position { line: 432, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 432, column: 30, }, end: Position { line: 432, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";application_name=hydra-send-stats", span: Span { start: Position { line: 432, column: 24, }, end: Position { line: 432, column: 74, }, }, }, ), ], span: Span { start: Position { line: 432, column: 23, }, end: Position { line: 432, column: 75, }, }, }, ), }, ), ], span: Span { start: Position { line: 431, column: 30, }, end: Position { line: 433, column: 10, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 434, column: 9, }, end: Position { line: 434, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 435, column: 13, }, end: Position { line: 435, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "@", span: Span { start: Position { line: 435, column: 26, }, end: Position { line: 435, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 435, column: 29, }, end: Position { line: 435, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/hydra-send-stats hydra-send-stats", span: Span { start: Position { line: 435, column: 26, }, end: Position { line: 435, column: 81, }, }, }, ), ], span: Span { start: Position { line: 435, column: 25, }, end: Position { line: 435, column: 82, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 436, column: 13, }, end: Position { line: 436, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra", span: Span { start: Position { line: 436, column: 21, }, end: Position { line: 436, column: 26, }, }, }, ), ], span: Span { start: Position { line: 436, column: 20, }, end: Position { line: 436, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 435, column: 11, }, end: Position { line: 437, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 429, column: 7, }, end: Position { line: 438, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 440, column: 5, }, end: Position { line: 440, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 440, column: 13, }, end: Position { line: 440, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-notify", span: Span { start: Position { line: 440, column: 22, }, end: Position { line: 440, column: 34, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 441, column: 9, }, end: Position { line: 441, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 441, column: 23, }, end: Position { line: 441, column: 40, }, }, }, ), ], span: Span { start: Position { line: 441, column: 22, }, end: Position { line: 441, column: 41, }, }, }, ), ], span: Span { start: Position { line: 441, column: 20, }, end: Position { line: 441, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requires", span: Span { start: Position { line: 442, column: 9, }, end: Position { line: 442, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 442, column: 23, }, end: Position { line: 442, column: 41, }, }, }, ), ], span: Span { start: Position { line: 442, column: 22, }, end: Position { line: 442, column: 42, }, }, }, ), ], span: Span { start: Position { line: 442, column: 20, }, end: Position { line: 442, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 443, column: 9, }, end: Position { line: 443, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "hydra-init.service", span: Span { start: Position { line: 443, column: 20, }, end: Position { line: 443, column: 38, }, }, }, ), ], span: Span { start: Position { line: 443, column: 19, }, end: Position { line: 443, column: 39, }, }, }, ), ], span: Span { start: Position { line: 443, column: 17, }, end: Position { line: 443, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "restartTriggers", span: Span { start: Position { line: 444, column: 9, }, end: Position { line: 444, column: 24, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "hydraConf", span: Span { start: Position { line: 444, column: 29, }, end: Position { line: 444, column: 38, }, }, }, ), ], span: Span { start: Position { line: 444, column: 27, }, end: Position { line: 444, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 445, column: 9, }, end: Position { line: 445, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "env", span: Span { start: Position { line: 445, column: 23, }, end: Position { line: 445, column: 26, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PGPASSFILE", span: Span { start: Position { line: 446, column: 11, }, end: Position { line: 446, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "baseDir", span: Span { start: Position { line: 446, column: 27, }, end: Position { line: 446, column: 34, }, }, }, ), }, ), Raw( PartRaw { content: "/pgpass-queue-runner", span: Span { start: Position { line: 446, column: 25, }, end: Position { line: 446, column: 55, }, }, }, ), ], span: Span { start: Position { line: 446, column: 24, }, end: Position { line: 446, column: 56, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 447, column: 11, }, end: Position { line: 447, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "env", span: Span { start: Position { line: 447, column: 26, }, end: Position { line: 447, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "HYDRA_DBI", span: Span { start: Position { line: 447, column: 30, }, end: Position { line: 447, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: ";application_name=hydra-notify", span: Span { start: Position { line: 447, column: 24, }, end: Position { line: 447, column: 70, }, }, }, ), ], span: Span { start: Position { line: 447, column: 23, }, end: Position { line: 447, column: 71, }, }, }, ), }, ), ], span: Span { start: Position { line: 445, column: 30, }, end: Position { line: 448, column: 10, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 449, column: 9, }, end: Position { line: 449, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 450, column: 13, }, end: Position { line: 450, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "@", span: Span { start: Position { line: 450, column: 26, }, end: Position { line: 450, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hydra-package", span: Span { start: Position { line: 450, column: 29, }, end: Position { line: 450, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/hydra-notify hydra-notify", span: Span { start: Position { line: 450, column: 26, }, end: Position { line: 450, column: 73, }, }, }, ), ], span: Span { start: Position { line: 450, column: 25, }, end: Position { line: 450, column: 74, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 452, column: 13, }, end: Position { line: 452, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "hydra-queue-runner", span: Span { start: Position { line: 452, column: 21, }, end: Position { line: 452, column: 39, }, }, }, ), ], span: Span { start: Position { line: 452, column: 20, }, end: Position { line: 452, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 453, column: 13, }, end: Position { line: 453, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 453, column: 24, }, end: Position { line: 453, column: 30, }, }, }, ), ], span: Span { start: Position { line: 453, column: 23, }, end: Position { line: 453, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RestartSec", span: Span { start: Position { line: 454, column: 13, }, end: Position { line: 454, column: 23, }, }, }, ), ], to: Integer( Integer { value: "5", span: Span { start: Position { line: 454, column: 26, }, end: Position { line: 454, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 450, column: 11, }, end: Position { line: 455, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 441, column: 7, }, end: Position { line: 456, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 460, column: 5, }, end: Position { line: 460, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 460, column: 13, }, end: Position { line: 460, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-check-space", span: Span { start: Position { line: 460, column: 22, }, end: Position { line: 460, column: 39, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 461, column: 9, }, end: Position { line: 461, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if [ $(($(stat -f -c '%a' /nix/store) * $(stat -f -c '%S' /nix/store))) -lt $((", span: Span { start: Position { line: 463, column: 1, }, end: Position { line: 463, column: 92, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 463, column: 94, }, end: Position { line: 463, column: 102, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 463, column: 103, }, end: Position { line: 463, column: 106, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "minimumDiskFree", span: Span { start: Position { line: 463, column: 107, }, end: Position { line: 463, column: 122, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " * 1024**3)) ]; then\n echo \"stopping Hydra queue runner due to lack of free space...\"\n systemctl stop hydra-queue-runner\nfi\nif [ $(($(stat -f -c '%a' /nix/store) * $(stat -f -c '%S' /nix/store))) -lt $((", span: Span { start: Position { line: 463, column: 1, }, end: Position { line: 467, column: 92, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 467, column: 94, }, end: Position { line: 467, column: 102, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 467, column: 103, }, end: Position { line: 467, column: 106, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "minimumDiskFreeEvaluator", span: Span { start: Position { line: 467, column: 107, }, end: Position { line: 467, column: 131, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " * 1024**3)) ]; then\n echo \"stopping Hydra evaluator due to lack of free space...\"\n systemctl stop hydra-evaluator\nfi\n", span: Span { start: Position { line: 463, column: 1, }, end: Position { line: 471, column: 11, }, }, }, ), ], span: Span { start: Position { line: 462, column: 11, }, end: Position { line: 471, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startAt", span: Span { start: Position { line: 472, column: 9, }, end: Position { line: 472, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "*:0/5", span: Span { start: Position { line: 472, column: 20, }, end: Position { line: 472, column: 25, }, }, }, ), ], span: Span { start: Position { line: 472, column: 19, }, end: Position { line: 472, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 461, column: 7, }, end: Position { line: 473, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 478, column: 5, }, end: Position { line: 478, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 478, column: 13, }, end: Position { line: 478, column: 21, }, }, }, ), Raw( PartRaw { content: "hydra-compress-logs", span: Span { start: Position { line: 478, column: 22, }, end: Position { line: 478, column: 41, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 479, column: 9, }, end: Position { line: 479, column: 13, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 479, column: 18, }, end: Position { line: 479, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bzip2", span: Span { start: Position { line: 479, column: 23, }, end: Position { line: 479, column: 28, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 479, column: 16, }, end: Position { line: 479, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 480, column: 9, }, end: Position { line: 480, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "find /var/lib/hydra/build-logs -type f -name \"*.drv\" -mtime +3 -size +0c | xargs -r bzip2 -v -f\n", span: Span { start: Position { line: 482, column: 1, }, end: Position { line: 483, column: 11, }, }, }, ), ], span: Span { start: Position { line: 481, column: 11, }, end: Position { line: 483, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "startAt", span: Span { start: Position { line: 484, column: 9, }, end: Position { line: 484, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Sun 01:45", span: Span { start: Position { line: 484, column: 20, }, end: Position { line: 484, column: 29, }, }, }, ), ], span: Span { start: Position { line: 484, column: 19, }, end: Position { line: 484, column: 30, }, }, }, ), }, ), ], span: Span { start: Position { line: 479, column: 7, }, end: Position { line: 485, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 487, column: 5, }, end: Position { line: 487, column: 13, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 487, column: 14, }, end: Position { line: 487, column: 24, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 487, column: 25, }, end: Position { line: 487, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 487, column: 34, }, end: Position { line: 487, column: 38, }, }, }, ), arguments: [ Identifier( Identifier { id: "haveLocalDB", span: Span { start: Position { line: 487, column: 39, }, end: Position { line: 487, column: 50, }, }, }, ), Identifier( Identifier { id: "true", span: Span { start: Position { line: 487, column: 51, }, end: Position { line: 487, column: 55, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 489, column: 5, }, end: Position { line: 489, column: 13, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 489, column: 14, }, end: Position { line: 489, column: 24, }, }, }, ), Raw( PartRaw { content: "identMap", span: Span { start: Position { line: 489, column: 25, }, end: Position { line: 489, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 489, column: 36, }, end: Position { line: 489, column: 50, }, }, }, ), arguments: [ Identifier( Identifier { id: "haveLocalDB", span: Span { start: Position { line: 489, column: 51, }, end: Position { line: 489, column: 62, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "hydra-users hydra hydra\nhydra-users hydra-queue-runner hydra\nhydra-users hydra-www hydra\nhydra-users root hydra\n# The postgres user is used to create the pg_trgm extension for the hydra database\nhydra-users postgres postgres\n", span: Span { start: Position { line: 491, column: 1, }, end: Position { line: 497, column: 7, }, }, }, ), ], span: Span { start: Position { line: 490, column: 7, }, end: Position { line: 497, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 499, column: 5, }, end: Position { line: 499, column: 13, }, }, }, ), Raw( PartRaw { content: "postgresql", span: Span { start: Position { line: 499, column: 14, }, end: Position { line: 499, column: 24, }, }, }, ), Raw( PartRaw { content: "authentication", span: Span { start: Position { line: 499, column: 25, }, end: Position { line: 499, column: 39, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 499, column: 42, }, end: Position { line: 499, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "haveLocalDB", span: Span { start: Position { line: 499, column: 57, }, end: Position { line: 499, column: 68, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "local hydra all ident map=hydra-users\n", span: Span { start: Position { line: 501, column: 1, }, end: Position { line: 502, column: 7, }, }, }, ), ], span: Span { start: Position { line: 500, column: 7, }, end: Position { line: 502, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 231, column: 28, }, end: Position { line: 504, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 72, column: 1, }, end: Position { line: 506, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 506, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 506, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 506, column: 2, }, }, }, )