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: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 4, column: 9, }, end: Position { line: 4, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 4, column: 16, }, end: Position { line: 4, column: 24, }, }, }, ), Raw( PartRaw { content: "lorri", span: Span { start: Position { line: 4, column: 25, }, end: Position { line: 4, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "socketPath", span: Span { start: Position { line: 5, column: 3, }, end: Position { line: 5, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "lorri/daemon.socket", span: Span { start: Position { line: 5, column: 17, }, end: Position { line: 5, column: 36, }, }, }, ), ], span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 37, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 8, column: 5, }, end: Position { line: 8, column: 13, }, }, }, ), Raw( PartRaw { content: "lorri", span: Span { start: Position { line: 8, column: 14, }, end: Position { line: 8, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 9, column: 7, }, end: Position { line: 9, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 16, }, end: Position { line: 9, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 9, column: 20, }, end: Position { line: 9, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 10, column: 9, }, end: Position { line: 10, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 10, column: 19, }, end: Position { line: 10, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 11, column: 9, }, end: Position { line: 11, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 25, }, }, }, ), Raw( PartRaw { content: "bool", span: Span { start: Position { line: 11, column: 26, }, end: Position { line: 11, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 12, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 12, column: 27, }, end: Position { line: 12, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Enables the daemon for `lorri`, a nix-shell replacement for project\ndevelopment. The socket-activated daemon starts on the first request\nissued by the `lorri` command.\n", span: Span { start: Position { line: 13, column: 1, }, end: Position { line: 16, column: 9, }, }, }, ), ], span: Span { start: Position { line: 12, column: 33, }, end: Position { line: 16, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 29, }, end: Position { line: 17, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 18, column: 17, }, end: Position { line: 18, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 19, column: 19, }, end: Position { line: 19, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lorri", span: Span { start: Position { line: 19, column: 24, }, end: Position { line: 19, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 20, column: 16, }, end: Position { line: 20, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "types", span: Span { start: Position { line: 20, column: 20, }, end: Position { line: 20, column: 25, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 20, column: 26, }, end: Position { line: 20, column: 33, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 21, column: 23, }, end: Position { line: 21, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 21, column: 27, }, end: Position { line: 21, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "The lorri package to use.\n", span: Span { start: Position { line: 22, column: 1, }, end: Position { line: 23, column: 9, }, }, }, ), ], span: Span { start: Position { line: 21, column: 33, }, end: Position { line: 23, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 24, column: 9, }, end: Position { line: 24, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 24, column: 23, }, end: Position { line: 24, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "literalExpression", span: Span { start: Position { line: 24, column: 27, }, end: Position { line: 24, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.lorri", span: Span { start: Position { line: 24, column: 46, }, end: Position { line: 24, column: 56, }, }, }, ), ], span: Span { start: Position { line: 24, column: 45, }, end: Position { line: 24, column: 57, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 18, column: 30, }, end: Position { line: 25, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 22, }, end: Position { line: 26, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 27, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 29, column: 3, }, end: Position { line: 29, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 29, column: 12, }, end: Position { line: 29, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkIf", span: Span { start: Position { line: 29, column: 16, }, end: Position { line: 29, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 29, column: 21, }, end: Position { line: 29, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 29, column: 25, }, end: Position { line: 29, column: 31, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 30, column: 5, }, end: Position { line: 30, column: 12, }, }, }, ), Raw( PartRaw { content: "user", span: Span { start: Position { line: 30, column: 13, }, end: Position { line: 30, column: 17, }, }, }, ), Raw( PartRaw { content: "sockets", span: Span { start: Position { line: 30, column: 18, }, end: Position { line: 30, column: 25, }, }, }, ), Raw( PartRaw { content: "lorri", span: Span { start: Position { line: 30, column: 26, }, end: Position { line: 30, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Socket for Lorri Daemon", span: Span { start: Position { line: 31, column: 22, }, end: Position { line: 31, column: 45, }, }, }, ), ], span: Span { start: Position { line: 31, column: 21, }, end: Position { line: 31, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "sockets.target", span: Span { start: Position { line: 32, column: 21, }, end: Position { line: 32, column: 35, }, }, }, ), ], span: Span { start: Position { line: 32, column: 20, }, end: Position { line: 32, column: 36, }, }, }, ), ], span: Span { start: Position { line: 32, column: 18, }, end: Position { line: 32, column: 38, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "socketConfig", span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 33, column: 19, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ListenStream", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "%t/", span: Span { start: Position { line: 34, column: 25, }, end: Position { line: 34, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "socketPath", span: Span { start: Position { line: 34, column: 30, }, end: Position { line: 34, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 34, column: 24, }, end: Position { line: 34, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "RuntimeDirectory", span: Span { start: Position { line: 35, column: 9, }, end: Position { line: 35, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "lorri", span: Span { start: Position { line: 35, column: 29, }, end: Position { line: 35, column: 34, }, }, }, ), ], span: Span { start: Position { line: 35, column: 28, }, end: Position { line: 35, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 33, column: 22, }, end: Position { line: 36, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 34, }, end: Position { line: 37, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 12, }, }, }, ), Raw( PartRaw { content: "user", span: Span { start: Position { line: 39, column: 13, }, end: Position { line: 39, column: 17, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 39, column: 18, }, end: Position { line: 39, column: 26, }, }, }, ), Raw( PartRaw { content: "lorri", span: Span { start: Position { line: 39, column: 27, }, end: Position { line: 39, column: 32, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Lorri Daemon", span: Span { start: Position { line: 40, column: 22, }, end: Position { line: 40, column: 34, }, }, }, ), ], span: Span { start: Position { line: 40, column: 21, }, end: Position { line: 40, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "requires", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "lorri.socket", span: Span { start: Position { line: 41, column: 21, }, end: Position { line: 41, column: 33, }, }, }, ), ], span: Span { start: Position { line: 41, column: 20, }, end: Position { line: 41, column: 34, }, }, }, ), ], span: Span { start: Position { line: 41, column: 18, }, end: Position { line: 41, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 12, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "lorri.socket", span: Span { start: Position { line: 42, column: 18, }, end: Position { line: 42, column: 30, }, }, }, ), ], span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 31, }, }, }, ), ], span: Span { start: Position { line: 42, column: 15, }, end: Position { line: 42, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 11, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 43, column: 19, }, end: Position { line: 43, column: 23, }, }, }, ), target: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 43, column: 27, }, end: Position { line: 43, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 43, column: 34, }, end: Position { line: 43, column: 37, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 43, column: 38, }, end: Position { line: 43, column: 45, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "git", span: Span { start: Position { line: 43, column: 46, }, end: Position { line: 43, column: 49, }, }, }, ), Identifier( Identifier { id: "gnutar", span: Span { start: Position { line: 43, column: 50, }, end: Position { line: 43, column: 56, }, }, }, ), Identifier( Identifier { id: "gzip", span: Span { start: Position { line: 43, column: 57, }, end: Position { line: 43, column: 61, }, }, }, ), ], span: Span { start: Position { line: 43, column: 25, }, end: Position { line: 43, column: 63, }, }, }, ), span: Span { start: Position { line: 43, column: 14, }, end: Position { line: 43, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 45, column: 9, }, end: Position { line: 45, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 45, column: 24, }, end: Position { line: 45, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 45, column: 28, }, end: Position { line: 45, column: 35, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/lorri daemon", span: Span { start: Position { line: 45, column: 22, }, end: Position { line: 45, column: 53, }, }, }, ), ], span: Span { start: Position { line: 45, column: 21, }, end: Position { line: 45, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PrivateTmp", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 46, column: 22, }, end: Position { line: 46, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectSystem", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "strict", span: Span { start: Position { line: 47, column: 26, }, end: Position { line: 47, column: 32, }, }, }, ), ], span: Span { start: Position { line: 47, column: 25, }, end: Position { line: 47, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ProtectHome", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "read-only", span: Span { start: Position { line: 48, column: 24, }, end: Position { line: 48, column: 33, }, }, }, ), ], span: Span { start: Position { line: 48, column: 23, }, end: Position { line: 48, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on-failure", span: Span { start: Position { line: 49, column: 20, }, end: Position { line: 49, column: 30, }, }, }, ), ], span: Span { start: Position { line: 49, column: 19, }, end: Position { line: 49, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 44, column: 23, }, end: Position { line: 50, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 35, }, end: Position { line: 51, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 53, column: 5, }, end: Position { line: 53, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 53, column: 17, }, end: Position { line: 53, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 53, column: 36, }, end: Position { line: 53, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 53, column: 40, }, end: Position { line: 53, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 53, column: 34, }, end: Position { line: 53, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 29, column: 32, }, end: Position { line: 54, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 4, }, end: Position { line: 55, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 55, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 55, column: 2, }, }, }, )