Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pubkeyFile", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 13, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 8, column: 17, }, end: Position { line: 8, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeTextDir", span: Span { start: Position { line: 8, column: 22, }, end: Position { line: 8, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "gitolite-admin.pub", span: Span { start: Position { line: 8, column: 36, }, end: Position { line: 8, column: 54, }, }, }, ), ], span: Span { start: Position { line: 8, column: 35, }, end: Position { line: 8, column: 55, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 8, column: 56, }, end: Position { line: 8, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "adminPubkey", span: Span { start: Position { line: 8, column: 60, }, end: Position { line: 8, column: 71, }, }, }, ), ], default: None, }, ), ], }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: "/gitolite-admin.pub", span: Span { start: Position { line: 8, column: 76, }, end: Position { line: 8, column: 95, }, }, }, ), ], span: Span { start: Position { line: 8, column: 75, }, end: Position { line: 8, column: 96, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hooks", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 11, }, end: Position { line: 9, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMapStrings", span: Span { start: Position { line: 9, column: 15, }, end: Position { line: 9, column: 31, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "hook", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hook", span: Span { start: Position { line: 9, column: 42, }, end: Position { line: 9, column: 46, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 9, column: 40, }, end: Position { line: 9, column: 48, }, }, }, ), ], span: Span { start: Position { line: 9, column: 39, }, end: Position { line: 9, column: 49, }, }, }, ), span: Span { start: Position { line: 9, column: 33, }, end: Position { line: 9, column: 49, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 9, column: 51, }, end: Position { line: 9, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "commonHooks", span: Span { start: Position { line: 9, column: 55, }, end: Position { line: 9, column: 66, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 13, }, }, }, ), Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 13, column: 14, }, end: Position { line: 13, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 16, }, end: Position { line: 14, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 15, column: 16, }, end: Position { line: 15, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 16, column: 19, }, end: Position { line: 16, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 17, column: 9, }, end: Position { line: 17, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 17, column: 23, }, end: Position { line: 17, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 17, column: 27, }, end: Position { line: 17, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable gitolite management under the\n`gitolite` user. After\nswitching to a configuration with Gitolite enabled, you can\nthen run `git clone gitolite@host:gitolite-admin.git` to manage it further.\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 22, column: 9, }, }, }, ), ], span: Span { start: Position { line: 17, column: 33, }, end: Position { line: 22, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 14, column: 25, }, end: Position { line: 23, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 25, column: 7, }, end: Position { line: 25, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 25, column: 17, }, end: Position { line: 25, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 26, column: 9, }, end: Position { line: 26, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 26, column: 16, }, end: Position { line: 26, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 26, column: 22, }, end: Position { line: 26, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 27, column: 9, }, end: Position { line: 27, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/gitolite", span: Span { start: Position { line: 27, column: 20, }, end: Position { line: 27, column: 37, }, }, }, ), ], span: Span { start: Position { line: 27, column: 19, }, end: Position { line: 27, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 28, column: 9, }, end: Position { line: 28, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 28, column: 23, }, end: Position { line: 28, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The gitolite home directory used to store all repositories. If left as the default value\nthis directory will automatically be created before the gitolite server starts, otherwise\nthe sysadmin is responsible for ensuring the directory exists with appropriate ownership\nand permissions.\n", span: Span { start: Position { line: 29, column: 1, }, end: Position { line: 33, column: 9, }, }, }, ), ], span: Span { start: Position { line: 28, column: 33, }, end: Position { line: 33, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 25, column: 26, }, end: Position { line: 34, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "adminPubkey", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 36, column: 21, }, end: Position { line: 36, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 37, column: 9, }, end: Position { line: 37, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 37, column: 16, }, end: Position { line: 37, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 37, column: 22, }, end: Position { line: 37, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 38, column: 9, }, end: Position { line: 38, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 38, column: 23, }, end: Position { line: 38, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 38, column: 27, }, end: Position { line: 38, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Initial administrative public key for Gitolite. This should\nbe an SSH Public Key. Note that this key will only be used\nonce, upon the first initialization of the Gitolite user.\nThe key string cannot have any line breaks in it.\n", span: Span { start: Position { line: 39, column: 1, }, end: Position { line: 43, column: 9, }, }, }, ), ], span: Span { start: Position { line: 38, column: 33, }, end: Position { line: 43, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 36, column: 30, }, end: Position { line: 44, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enableGitAnnex", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 46, column: 24, }, end: Position { line: 46, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 47, column: 16, }, end: Position { line: 47, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 47, column: 22, }, end: Position { line: 47, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 48, column: 19, }, end: Position { line: 48, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 49, column: 23, }, end: Position { line: 49, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 49, column: 27, }, end: Position { line: 49, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enable git-annex support. Uses the `extraGitoliteRc` option\nto apply the necessary configuration.\n", span: Span { start: Position { line: 50, column: 1, }, end: Position { line: 52, column: 9, }, }, }, ), ], span: Span { start: Position { line: 49, column: 33, }, end: Position { line: 52, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 46, column: 33, }, end: Position { line: 53, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "commonHooks", span: Span { start: Position { line: 55, column: 7, }, end: Position { line: 55, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 55, column: 21, }, end: Position { line: 55, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 56, column: 9, }, end: Position { line: 56, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 56, column: 16, }, end: Position { line: 56, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "listOf", span: Span { start: Position { line: 56, column: 22, }, end: Position { line: 56, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 56, column: 29, }, end: Position { line: 56, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 56, column: 35, }, end: Position { line: 56, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 57, column: 9, }, end: Position { line: 57, column: 16, }, }, }, ), ], to: List( List { elements: [], span: Span { start: Position { line: 57, column: 19, }, end: Position { line: 57, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 58, column: 9, }, end: Position { line: 58, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 58, column: 23, }, end: Position { line: 58, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 58, column: 27, }, end: Position { line: 58, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "A list of custom git hooks that get copied to `~/.gitolite/hooks/common`.\n", span: Span { start: Position { line: 59, column: 1, }, end: Position { line: 60, column: 9, }, }, }, ), ], span: Span { start: Position { line: 58, column: 33, }, end: Position { line: 60, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 55, column: 30, }, end: Position { line: 61, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraGitoliteRc", span: Span { start: Position { line: 63, column: 7, }, end: Position { line: 63, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 63, column: 25, }, end: Position { line: 63, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 64, column: 16, }, end: Position { line: 64, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 64, column: 22, }, end: Position { line: 64, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 65, column: 9, }, end: Position { line: 65, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 65, column: 19, }, end: Position { line: 65, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 66, column: 9, }, end: Position { line: 66, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 66, column: 19, }, end: Position { line: 66, column: 36, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 67, column: 11, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 67, column: 14, }, }, }, ), Raw( PartRaw { content: "\n $RC{UMASK} = 0027;\n $RC{SITE_INFO} = 'This is our private repository host';\n push( @{$RC{ENABLE}}, 'Kindergarten' ); # enable the command/feature\n @{$RC{ENABLE}} = grep { $_ ne 'desc' } @{$RC{ENABLE}}; # disable the command/feature\n", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 72, column: 11, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 72, column: 14, }, }, }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 67, column: 1, }, end: Position { line: 73, column: 9, }, }, }, ), ], span: Span { start: Position { line: 66, column: 37, }, end: Position { line: 73, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 74, column: 9, }, end: Position { line: 74, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 74, column: 23, }, end: Position { line: 74, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 74, column: 27, }, end: Position { line: 74, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Extra configuration to append to the default `~/.gitolite.rc`.\n\nThis should be Perl code that modifies the `%RC`\nconfiguration variable. The default `~/.gitolite.rc`\ncontent is generated by invoking `gitolite print-default-rc`,\nand extra configuration from this option is appended to it. The result\nis placed to Nix store, and the `~/.gitolite.rc` file\nbecomes a symlink to it.\n\nIf you already have a customized (or otherwise changed)\n`~/.gitolite.rc` file, NixOS will refuse to replace\nit with a symlink, and the `gitolite-init` initialization service\nwill fail. In this situation, in order to use this option, you\nwill need to take any customizations you may have in\n`~/.gitolite.rc`, convert them to appropriate Perl\nstatements, add them to this option, and remove the file.\n\nSee also the `enableGitAnnex` option.\n", span: Span { start: Position { line: 75, column: 1, }, end: Position { line: 93, column: 9, }, }, }, ), ], span: Span { start: Position { line: 74, column: 33, }, end: Position { line: 93, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 63, column: 34, }, end: Position { line: 94, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 96, column: 7, }, end: Position { line: 96, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 96, column: 14, }, end: Position { line: 96, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 97, column: 16, }, end: Position { line: 97, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 97, column: 22, }, end: Position { line: 97, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 98, column: 20, }, end: Position { line: 98, column: 28, }, }, }, ), ], span: Span { start: Position { line: 98, column: 19, }, end: Position { line: 98, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 99, column: 9, }, end: Position { line: 99, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 99, column: 23, }, end: Position { line: 99, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 99, column: 27, }, end: Position { line: 99, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Gitolite user account. This is the username of the gitolite endpoint.\n", span: Span { start: Position { line: 100, column: 1, }, end: Position { line: 101, column: 9, }, }, }, ), ], span: Span { start: Position { line: 99, column: 33, }, end: Position { line: 101, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 96, column: 23, }, end: Position { line: 102, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 104, column: 7, }, end: Position { line: 104, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 104, column: 21, }, end: Position { line: 104, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 105, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 105, column: 16, }, end: Position { line: 105, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 105, column: 22, }, end: Position { line: 105, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 106, column: 9, }, end: Position { line: 106, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Gitolite user", span: Span { start: Position { line: 106, column: 20, }, end: Position { line: 106, column: 33, }, }, }, ), ], span: Span { start: Position { line: 106, column: 19, }, end: Position { line: 106, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 107, column: 9, }, end: Position { line: 107, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 107, column: 23, }, end: Position { line: 107, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 107, column: 27, }, end: Position { line: 107, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Gitolite user account's description.\n", span: Span { start: Position { line: 108, column: 1, }, end: Position { line: 109, column: 9, }, }, }, ), ], span: Span { start: Position { line: 107, column: 33, }, end: Position { line: 109, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 104, column: 30, }, end: Position { line: 110, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 112, column: 15, }, end: Position { line: 112, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 113, column: 9, }, end: Position { line: 113, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 113, column: 16, }, end: Position { line: 113, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 113, column: 22, }, end: Position { line: 113, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 114, column: 9, }, end: Position { line: 114, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 114, column: 20, }, end: Position { line: 114, column: 28, }, }, }, ), ], span: Span { start: Position { line: 114, column: 19, }, end: Position { line: 114, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 115, column: 9, }, end: Position { line: 115, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 115, column: 23, }, end: Position { line: 115, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 115, column: 27, }, end: Position { line: 115, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Primary group of the Gitolite user account.\n", span: Span { start: Position { line: 116, column: 1, }, end: Position { line: 117, column: 9, }, }, }, ), ], span: Span { start: Position { line: 115, column: 33, }, end: Position { line: 117, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 112, column: 24, }, end: Position { line: 118, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 13, column: 25, }, end: Position { line: 119, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 13, }, end: Position { line: 120, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 122, column: 3, }, end: Position { line: 122, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 122, column: 12, }, end: Position { line: 122, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 122, column: 17, }, end: Position { line: 122, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 122, column: 21, }, end: Position { line: 122, column: 27, }, }, }, ), ], default: None, }, ), LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "manageGitoliteRc", span: Span { start: Position { line: 124, column: 5, }, end: Position { line: 124, column: 21, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 124, column: 24, }, end: Position { line: 124, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraGitoliteRc", span: Span { start: Position { line: 124, column: 28, }, end: Position { line: 124, column: 43, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 124, column: 47, }, end: Position { line: 124, column: 49, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rcDir", span: Span { start: Position { line: 125, column: 5, }, end: Position { line: 125, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 125, column: 13, }, end: Position { line: 125, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 125, column: 18, }, end: Position { line: 125, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "gitolite-rc", span: Span { start: Position { line: 125, column: 30, }, end: Position { line: 125, column: 41, }, }, }, ), ], span: Span { start: Position { line: 125, column: 29, }, end: Position { line: 125, column: 42, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preferLocalBuild", span: Span { start: Position { line: 125, column: 45, }, end: Position { line: 125, column: 61, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 125, column: 64, }, end: Position { line: 125, column: 68, }, }, }, ), }, ), ], span: Span { start: Position { line: 125, column: 43, }, end: Position { line: 125, column: 71, }, }, }, ), Identifier( Identifier { id: "rcDirScript", span: Span { start: Position { line: 125, column: 72, }, end: Position { line: 125, column: 83, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rcDirScript", span: Span { start: Position { line: 126, column: 5, }, end: Position { line: 126, column: 16, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir \"$out\"\nexport HOME=temp-home\nmkdir -p \"$HOME/.gitolite/logs\" # gitolite can't run without it\n", span: Span { start: Position { line: 128, column: 1, }, end: Position { line: 131, column: 9, }, }, }, ), Raw( PartRaw { content: "'", span: Span { start: Position { line: 128, column: 1, }, end: Position { line: 131, column: 10, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 131, column: 12, }, end: Position { line: 131, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 131, column: 17, }, end: Position { line: 131, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "'/bin/gitolite print-default-rc >>\"$out/gitolite.rc.default\"\ncat <>\"$out/gitolite.rc\"\n# This file is managed by NixOS.\n# Use services.gitolite options to control it.\n\nEND\ncat \"$out/gitolite.rc.default\" >>\"$out/gitolite.rc\"\n", span: Span { start: Position { line: 128, column: 1, }, end: Position { line: 138, column: 7, }, }, }, ), ], span: Span { start: Position { line: 127, column: 7, }, end: Position { line: 138, column: 9, }, }, }, ), operator: Addition, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 139, column: 7, }, end: Position { line: 139, column: 21, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 139, column: 23, }, end: Position { line: 139, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraGitoliteRc", span: Span { start: Position { line: 139, column: 27, }, end: Position { line: 139, column: 42, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: String( String_ { parts: [], span: Span { start: Position { line: 139, column: 46, }, end: Position { line: 139, column: 48, }, }, }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "echo -n ", span: Span { start: Position { line: 140, column: 1, }, end: Position { line: 140, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArg", span: Span { start: Position { line: 140, column: 19, }, end: Position { line: 140, column: 33, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "\n# Added by NixOS:\n", span: Span { start: Position { line: 141, column: 1, }, end: Position { line: 143, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "removeSuffix", span: Span { start: Position { line: 143, column: 13, }, end: Position { line: 143, column: 25, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 143, column: 27, }, end: Position { line: 143, column: 29, }, }, }, ), ], span: Span { start: Position { line: 143, column: 26, }, end: Position { line: 143, column: 30, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 143, column: 31, }, end: Position { line: 143, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "extraGitoliteRc", span: Span { start: Position { line: 143, column: 35, }, end: Position { line: 143, column: 50, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n# per perl rules, this should be the last line in such a file:\n1;\n", span: Span { start: Position { line: 141, column: 1, }, end: Position { line: 147, column: 9, }, }, }, ), ], span: Span { start: Position { line: 140, column: 34, }, end: Position { line: 147, column: 11, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " >>\"$out/gitolite.rc\"\n", span: Span { start: Position { line: 140, column: 1, }, end: Position { line: 148, column: 7, }, }, }, ), ], span: Span { start: Position { line: 139, column: 50, }, end: Position { line: 148, column: 9, }, }, }, ), ], }, ), }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 150, column: 5, }, end: Position { line: 150, column: 13, }, }, }, ), Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 150, column: 14, }, end: Position { line: 150, column: 22, }, }, }, ), Raw( PartRaw { content: "extraGitoliteRc", span: Span { start: Position { line: 150, column: 23, }, end: Position { line: 150, column: 38, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalString", span: Span { start: Position { line: 150, column: 41, }, end: Position { line: 150, column: 55, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 150, column: 56, }, end: Position { line: 150, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableGitAnnex", span: Span { start: Position { line: 150, column: 60, }, end: Position { line: 150, column: 74, }, }, }, ), ], default: None, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Enable git-annex support:\npush( @{$RC{ENABLE}}, 'git-annex-shell ua');\n", span: Span { start: Position { line: 151, column: 1, }, end: Position { line: 153, column: 5, }, }, }, ), ], span: Span { start: Position { line: 150, column: 75, }, end: Position { line: 153, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 155, column: 5, }, end: Position { line: 155, column: 10, }, }, }, ), Raw( PartRaw { content: "users", span: Span { start: Position { line: 155, column: 11, }, end: Position { line: 155, column: 16, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 155, column: 19, }, end: Position { line: 155, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 155, column: 23, }, end: Position { line: 155, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 156, column: 7, }, end: Position { line: 156, column: 18, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 156, column: 25, }, end: Position { line: 156, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 156, column: 29, }, end: Position { line: 156, column: 40, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 157, column: 7, }, end: Position { line: 157, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 157, column: 25, }, end: Position { line: 157, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 157, column: 29, }, end: Position { line: 157, column: 36, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "uid", span: Span { start: Position { line: 158, column: 7, }, end: Position { line: 158, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 158, column: 25, }, end: Position { line: 158, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 158, column: 32, }, end: Position { line: 158, column: 35, }, }, }, ), Raw( PartRaw { content: "uids", span: Span { start: Position { line: 158, column: 36, }, end: Position { line: 158, column: 40, }, }, }, ), Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 158, column: 41, }, end: Position { line: 158, column: 49, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 159, column: 7, }, end: Position { line: 159, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 159, column: 25, }, end: Position { line: 159, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 159, column: 29, }, end: Position { line: 159, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useDefaultShell", span: Span { start: Position { line: 160, column: 7, }, end: Position { line: 160, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 160, column: 25, }, end: Position { line: 160, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 155, column: 31, }, end: Position { line: 161, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 162, column: 5, }, end: Position { line: 162, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 162, column: 11, }, end: Position { line: 162, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 162, column: 20, }, end: Position { line: 162, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 162, column: 24, }, end: Position { line: 162, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "gid", span: Span { start: Position { line: 162, column: 31, }, end: Position { line: 162, column: 34, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 162, column: 37, }, end: Position { line: 162, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ids", span: Span { start: Position { line: 162, column: 44, }, end: Position { line: 162, column: 47, }, }, }, ), Raw( PartRaw { content: "gids", span: Span { start: Position { line: 162, column: 48, }, end: Position { line: 162, column: 52, }, }, }, ), Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 162, column: 53, }, end: Position { line: 162, column: 61, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 164, column: 5, }, end: Position { line: 164, column: 12, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 164, column: 13, }, end: Position { line: 164, column: 21, }, }, }, ), Raw( PartRaw { content: "gitolite-init", span: Span { start: Position { line: 164, column: 22, }, end: Position { line: 164, column: 35, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 165, column: 7, }, end: Position { line: 165, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Gitolite initialization", span: Span { start: Position { line: 165, column: 22, }, end: Position { line: 165, column: 45, }, }, }, ), ], span: Span { start: Position { line: 165, column: 21, }, end: Position { line: 165, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 166, column: 7, }, end: Position { line: 166, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 166, column: 24, }, end: Position { line: 166, column: 41, }, }, }, ), ], span: Span { start: Position { line: 166, column: 23, }, end: Position { line: 166, column: 42, }, }, }, ), ], span: Span { start: Position { line: 166, column: 21, }, end: Position { line: 166, column: 44, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unitConfig", span: Span { start: Position { line: 167, column: 7, }, end: Position { line: 167, column: 17, }, }, }, ), Raw( PartRaw { content: "RequiresMountsFor", span: Span { start: Position { line: 167, column: 18, }, end: Position { line: 167, column: 35, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 167, column: 38, }, end: Position { line: 167, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 167, column: 42, }, end: Position { line: 167, column: 49, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 169, column: 7, }, end: Position { line: 169, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "GITOLITE_RC", span: Span { start: Position { line: 170, column: 9, }, end: Position { line: 170, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: ".gitolite.rc", span: Span { start: Position { line: 170, column: 24, }, end: Position { line: 170, column: 36, }, }, }, ), ], span: Span { start: Position { line: 170, column: 23, }, end: Position { line: 170, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "GITOLITE_RC_DEFAULT", span: Span { start: Position { line: 171, column: 9, }, end: Position { line: 171, column: 28, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "rcDir", span: Span { start: Position { line: 171, column: 34, }, end: Position { line: 171, column: 39, }, }, }, ), }, ), Raw( PartRaw { content: "/gitolite.rc.default", span: Span { start: Position { line: 171, column: 32, }, end: Position { line: 171, column: 60, }, }, }, ), ], span: Span { start: Position { line: 171, column: 31, }, end: Position { line: 171, column: 61, }, }, }, ), }, ), ], span: Span { start: Position { line: 169, column: 21, }, end: Position { line: 172, column: 8, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 174, column: 7, }, end: Position { line: 174, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 174, column: 23, }, end: Position { line: 174, column: 30, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 175, column: 10, }, end: Position { line: 175, column: 14, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 175, column: 16, }, end: Position { line: 175, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "dataDir", span: Span { start: Position { line: 175, column: 20, }, end: Position { line: 175, column: 27, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/gitolite", span: Span { start: Position { line: 175, column: 32, }, end: Position { line: 175, column: 49, }, }, }, ), ], span: Span { start: Position { line: 175, column: 31, }, end: Position { line: 175, column: 50, }, }, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectory", span: Span { start: Position { line: 176, column: 11, }, end: Position { line: 176, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "gitolite gitolite/.gitolite gitolite/.gitolite/logs", span: Span { start: Position { line: 176, column: 29, }, end: Position { line: 176, column: 80, }, }, }, ), ], span: Span { start: Position { line: 176, column: 28, }, end: Position { line: 176, column: 81, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "StateDirectoryMode", span: Span { start: Position { line: 177, column: 11, }, end: Position { line: 177, column: 29, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "0750", span: Span { start: Position { line: 177, column: 33, }, end: Position { line: 177, column: 37, }, }, }, ), ], span: Span { start: Position { line: 177, column: 32, }, end: Position { line: 177, column: 38, }, }, }, ), }, ), ], span: Span { start: Position { line: 175, column: 52, }, end: Position { line: 178, column: 10, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 180, column: 11, }, end: Position { line: 180, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "oneshot", span: Span { start: Position { line: 180, column: 19, }, end: Position { line: 180, column: 26, }, }, }, ), ], span: Span { start: Position { line: 180, column: 18, }, end: Position { line: 180, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 181, column: 11, }, end: Position { line: 181, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 181, column: 18, }, end: Position { line: 181, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 181, column: 22, }, end: Position { line: 181, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 182, column: 11, }, end: Position { line: 182, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 182, column: 19, }, end: Position { line: 182, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 182, column: 23, }, end: Position { line: 182, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 183, column: 11, }, end: Position { line: 183, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "~", span: Span { start: Position { line: 183, column: 31, }, end: Position { line: 183, column: 32, }, }, }, ), ], span: Span { start: Position { line: 183, column: 30, }, end: Position { line: 183, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RemainAfterExit", span: Span { start: Position { line: 184, column: 11, }, end: Position { line: 184, column: 26, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 184, column: 29, }, end: Position { line: 184, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 179, column: 9, }, end: Position { line: 185, column: 10, }, }, }, ), ], span: Span { start: Position { line: 174, column: 31, }, end: Position { line: 186, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 188, column: 7, }, end: Position { line: 188, column: 11, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 188, column: 16, }, end: Position { line: 188, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 188, column: 21, }, end: Position { line: 188, column: 29, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 188, column: 30, }, end: Position { line: 188, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "git", span: Span { start: Position { line: 188, column: 35, }, end: Position { line: 188, column: 38, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 188, column: 39, }, end: Position { line: 188, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "perl", span: Span { start: Position { line: 188, column: 44, }, end: Position { line: 188, column: 48, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 188, column: 49, }, end: Position { line: 188, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bash", span: Span { start: Position { line: 188, column: 54, }, end: Position { line: 188, column: 58, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 188, column: 59, }, end: Position { line: 188, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "diffutils", span: Span { start: Position { line: 188, column: 64, }, end: Position { line: 188, column: 73, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 188, column: 74, }, end: Position { line: 188, column: 80, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 188, column: 81, }, end: Position { line: 188, column: 89, }, }, }, ), Raw( PartRaw { content: "ssh", span: Span { start: Position { line: 188, column: 90, }, end: Position { line: 188, column: 93, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 188, column: 94, }, end: Position { line: 188, column: 101, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 188, column: 14, }, end: Position { line: 188, column: 103, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "script", span: Span { start: Position { line: 189, column: 7, }, end: Position { line: 189, column: 13, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rcSetupScriptIfCustomFile", span: Span { start: Position { line: 191, column: 9, }, end: Position { line: 191, column: 34, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "manageGitoliteRc", span: Span { start: Position { line: 192, column: 14, }, end: Position { line: 192, column: 30, }, }, }, ), then: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "cat <ERROR: NixOS can't apply declarative configuration\n<3>to your .gitolite.rc file, because it seems to be\n<3>already customized manually.\n<3>See the services.gitolite.extraGitoliteRc option\n<3>in \"man configuration.nix\" for more information.\nEND\n# Not sure if the line below addresses the issue directly or just\n# adds a delay, but without it our error message often doesn't\n# show up in `systemctl status gitolite-init`.\njournalctl --flush\nexit 1\n", span: Span { start: Position { line: 193, column: 1, }, end: Position { line: 205, column: 11, }, }, }, ), ], span: Span { start: Position { line: 192, column: 36, }, end: Position { line: 205, column: 13, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: ":\n", span: Span { start: Position { line: 206, column: 1, }, end: Position { line: 207, column: 11, }, }, }, ), ], span: Span { start: Position { line: 205, column: 19, }, end: Position { line: 207, column: 13, }, }, }, ), span: Span { start: Position { line: 192, column: 11, }, end: Position { line: 207, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rcSetupScriptIfDefaultFileOrStoreSymlink", span: Span { start: Position { line: 208, column: 9, }, end: Position { line: 208, column: 49, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: Identifier( Identifier { id: "manageGitoliteRc", span: Span { start: Position { line: 209, column: 14, }, end: Position { line: 209, column: 30, }, }, }, ), then: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ln -sf \"", span: Span { start: Position { line: 210, column: 1, }, end: Position { line: 210, column: 21, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "rcDir", span: Span { start: Position { line: 210, column: 23, }, end: Position { line: 210, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: "/gitolite.rc\" \"$GITOLITE_RC\"\n", span: Span { start: Position { line: 210, column: 1, }, end: Position { line: 211, column: 11, }, }, }, ), ], span: Span { start: Position { line: 209, column: 36, }, end: Position { line: 211, column: 13, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[[ -L \"$GITOLITE_RC\" ]] && rm -f \"$GITOLITE_RC\"\n", span: Span { start: Position { line: 212, column: 1, }, end: Position { line: 213, column: 11, }, }, }, ), ], span: Span { start: Position { line: 211, column: 19, }, end: Position { line: 213, column: 13, }, }, }, ), span: Span { start: Position { line: 209, column: 11, }, end: Position { line: 213, column: 13, }, }, }, ), }, ), ], target: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: BinaryOperation( BinaryOperation { left: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if ( [[ ! -e \"$GITOLITE_RC\" ]] && [[ ! -L \"$GITOLITE_RC\" ]] ) ||\n ( [[ -f \"$GITOLITE_RC\" ]] && diff -q \"$GITOLITE_RC\" \"$GITOLITE_RC_DEFAULT\" >/dev/null ) ||\n ( [[ -L \"$GITOLITE_RC\" ]] && [[ \"$(readlink \"$GITOLITE_RC\")\" =~ ^/nix/store/ ]] )\nthen\n", span: Span { start: Position { line: 216, column: 1, }, end: Position { line: 220, column: 9, }, }, }, ), ], span: Span { start: Position { line: 215, column: 9, }, end: Position { line: 220, column: 11, }, }, }, ), operator: Addition, right: Identifier( Identifier { id: "rcSetupScriptIfDefaultFileOrStoreSymlink", span: Span { start: Position { line: 220, column: 14, }, end: Position { line: 220, column: 54, }, }, }, ), }, ), operator: Addition, right: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "else\n", span: Span { start: Position { line: 222, column: 1, }, end: Position { line: 223, column: 9, }, }, }, ), ], span: Span { start: Position { line: 221, column: 9, }, end: Position { line: 223, column: 11, }, }, }, ), }, ), operator: Addition, right: Identifier( Identifier { id: "rcSetupScriptIfCustomFile", span: Span { start: Position { line: 223, column: 14, }, end: Position { line: 223, column: 39, }, }, }, ), }, ), operator: Addition, right: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "fi\n\nif [ ! -d repositories ]; then\n gitolite setup -pk ", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 228, column: 32, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "pubkeyFile", span: Span { start: Position { line: 228, column: 34, }, end: Position { line: 228, column: 44, }, }, }, ), }, ), Raw( PartRaw { content: "\nfi\nif [ -n \"", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 230, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hooks", span: Span { start: Position { line: 230, column: 22, }, end: Position { line: 230, column: 27, }, }, }, ), }, ), Raw( PartRaw { content: "\" ]; then\n cp -f ", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 231, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "hooks", span: Span { start: Position { line: 231, column: 21, }, end: Position { line: 231, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: " .gitolite/hooks/common/\n chmod +x .gitolite/hooks/common/*\nfi\ngitolite setup # Upgrade if needed\n", span: Span { start: Position { line: 225, column: 1, }, end: Position { line: 235, column: 9, }, }, }, ), ], span: Span { start: Position { line: 224, column: 9, }, end: Position { line: 235, column: 11, }, }, }, ), }, ), span: Span { start: Position { line: 190, column: 7, }, end: Position { line: 235, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 164, column: 38, }, end: Position { line: 236, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 238, column: 5, }, end: Position { line: 238, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 238, column: 17, }, end: Position { line: 238, column: 31, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 238, column: 36, }, end: Position { line: 238, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "gitolite", span: Span { start: Position { line: 238, column: 41, }, end: Position { line: 238, column: 49, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 238, column: 50, }, end: Position { line: 238, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "git", span: Span { start: Position { line: 238, column: 55, }, end: Position { line: 238, column: 58, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 238, column: 34, }, end: Position { line: 238, column: 60, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 239, column: 12, }, end: Position { line: 239, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 239, column: 21, }, end: Position { line: 239, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableGitAnnex", span: Span { start: Position { line: 239, column: 25, }, end: Position { line: 239, column: 39, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 239, column: 40, }, end: Position { line: 239, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "git-annex", span: Span { start: Position { line: 239, column: 45, }, end: Position { line: 239, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 149, column: 6, }, end: Position { line: 240, column: 4, }, }, }, ), span: Span { start: Position { line: 123, column: 3, }, end: Position { line: 240, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 1, }, end: Position { line: 241, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 241, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 241, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 241, column: 2, }, }, }, )