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: 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: "emacs", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 30, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "editorScript", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 9, column: 18, }, end: Position { line: 9, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeScriptBin", span: Span { start: Position { line: 9, column: 23, }, end: Position { line: 9, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "emacseditor", span: Span { start: Position { line: 9, column: 39, }, end: Position { line: 9, column: 50, }, }, }, ), ], span: Span { start: Position { line: 9, column: 38, }, end: Position { line: 9, column: 51, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "#!", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 10, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 10, column: 9, }, end: Position { line: 10, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runtimeShell", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 26, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nif [ -z \"$1\" ]; then\n exec ", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 12, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 14, }, end: Position { line: 12, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 12, column: 18, }, end: Position { line: 12, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/emacsclient --create-frame --alternate-editor ", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 12, column: 77, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 79, }, end: Position { line: 12, column: 82, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 12, column: 83, }, end: Position { line: 12, column: 90, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/emacs\nelse\n exec ", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 14, column: 12, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 14, }, end: Position { line: 14, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 14, column: 18, }, end: Position { line: 14, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/emacsclient --alternate-editor ", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 14, column: 62, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 14, column: 64, }, end: Position { line: 14, column: 67, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 14, column: 68, }, end: Position { line: 14, column: 75, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/emacs \"$@\"\nfi\n", span: Span { start: Position { line: 10, column: 1, }, end: Position { line: 16, column: 3, }, }, }, ), ], span: Span { start: Position { line: 9, column: 52, }, end: Position { line: 16, column: 5, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "desktopApplicationFile", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 25, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 18, column: 28, }, end: Position { line: 18, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeTextFile", span: Span { start: Position { line: 18, column: 33, }, end: Position { line: 18, column: 46, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 19, column: 5, }, end: Position { line: 19, column: 9, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "emacsclient.desktop", span: Span { start: Position { line: 19, column: 13, }, end: Position { line: 19, column: 32, }, }, }, ), ], span: Span { start: Position { line: 19, column: 12, }, end: Position { line: 19, column: 33, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "destination", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/share/applications/emacsclient.desktop", span: Span { start: Position { line: 20, column: 20, }, end: Position { line: 20, column: 59, }, }, }, ), ], span: Span { start: Position { line: 20, column: 19, }, end: Position { line: 20, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "text", span: Span { start: Position { line: 21, column: 5, }, end: Position { line: 21, column: 9, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "[Desktop Entry]\nName=Emacsclient\nGenericName=Text Editor\nComment=Edit text\nMimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;\nExec=emacseditor %F\nIcon=emacs\nType=Application\nTerminal=false\nCategories=Development;TextEditor;\nStartupWMClass=Emacs\nKeywords=Text;Editor;\n", span: Span { start: Position { line: 22, column: 1, }, end: Position { line: 34, column: 5, }, }, }, ), ], span: Span { start: Position { line: 21, column: 12, }, end: Position { line: 34, column: 7, }, }, }, ), }, ), ], span: Span { start: Position { line: 18, column: 47, }, end: Position { line: 35, column: 4, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 40, column: 3, }, end: Position { line: 40, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 40, column: 11, }, end: Position { line: 40, column: 19, }, }, }, ), Raw( PartRaw { content: "emacs", span: Span { start: Position { line: 40, column: 20, }, end: Position { line: 40, column: 25, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 41, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 41, column: 14, }, end: Position { line: 41, column: 22, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 42, column: 14, }, end: Position { line: 42, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 42, column: 20, }, end: Position { line: 42, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 43, column: 17, }, end: Position { line: 43, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 44, column: 21, }, end: Position { line: 44, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 44, column: 25, }, end: Position { line: 44, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to enable a user service for the Emacs daemon. Use `emacsclient` to connect to the\ndaemon. If `true`, {var}`services.emacs.install` is\nconsidered `true`, whatever its value.\n", span: Span { start: Position { line: 45, column: 1, }, end: Position { line: 48, column: 7, }, }, }, ), ], span: Span { start: Position { line: 44, column: 31, }, end: Position { line: 48, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 41, column: 23, }, end: Position { line: 49, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "install", span: Span { start: Position { line: 51, column: 5, }, end: Position { line: 51, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 51, column: 15, }, end: Position { line: 51, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 52, column: 14, }, end: Position { line: 52, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 52, column: 20, }, end: Position { line: 52, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 53, column: 17, }, end: Position { line: 53, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 54, column: 21, }, end: Position { line: 54, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 54, column: 25, }, end: Position { line: 54, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to install a user service for the Emacs daemon. Once\nthe service is started, use emacsclient to connect to the\ndaemon.\n\nThe service must be manually started for each user with\n\"systemctl --user start emacs\" or globally through\n{var}`services.emacs.enable`.\n", span: Span { start: Position { line: 55, column: 1, }, end: Position { line: 62, column: 7, }, }, }, ), ], span: Span { start: Position { line: 54, column: 31, }, end: Position { line: 62, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 51, column: 24, }, end: Position { line: 63, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 66, column: 5, }, end: Position { line: 66, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 66, column: 15, }, end: Position { line: 66, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 67, column: 14, }, end: Position { line: 67, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 67, column: 20, }, end: Position { line: 67, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 68, column: 17, }, end: Position { line: 68, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "emacs", span: Span { start: Position { line: 68, column: 22, }, end: Position { line: 68, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 69, column: 21, }, end: Position { line: 69, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.emacs", span: Span { start: Position { line: 69, column: 40, }, end: Position { line: 69, column: 50, }, }, }, ), ], span: Span { start: Position { line: 69, column: 39, }, end: Position { line: 69, column: 51, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 70, column: 7, }, end: Position { line: 70, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 70, column: 21, }, end: Position { line: 70, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 70, column: 25, }, end: Position { line: 70, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "emacs derivation to use.\n", span: Span { start: Position { line: 71, column: 1, }, end: Position { line: 72, column: 7, }, }, }, ), ], span: Span { start: Position { line: 70, column: 31, }, end: Position { line: 72, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 66, column: 24, }, end: Position { line: 73, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultEditor", span: Span { start: Position { line: 75, column: 5, }, end: Position { line: 75, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 75, column: 29, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 76, column: 7, }, end: Position { line: 76, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 76, column: 14, }, end: Position { line: 76, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 76, column: 20, }, end: Position { line: 76, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 77, column: 17, }, end: Position { line: 77, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 78, column: 21, }, end: Position { line: 78, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 78, column: 25, }, end: Position { line: 78, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "When enabled, configures emacsclient to be the default editor\nusing the EDITOR environment variable.\n", span: Span { start: Position { line: 79, column: 1, }, end: Position { line: 81, column: 7, }, }, }, ), ], span: Span { start: Position { line: 78, column: 31, }, end: Position { line: 81, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 75, column: 30, }, end: Position { line: 82, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 40, column: 28, }, end: Position { line: 83, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 85, column: 3, }, end: Position { line: 85, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 85, column: 12, }, end: Position { line: 85, column: 16, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 85, column: 18, }, end: Position { line: 85, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 85, column: 22, }, end: Position { line: 85, column: 28, }, }, }, ), ], default: None, }, ), operator: LogicalOr, right: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 85, column: 32, }, end: Position { line: 85, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "install", span: Span { start: Position { line: 85, column: 36, }, end: Position { line: 85, column: 43, }, }, }, ), ], default: None, }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 86, column: 5, }, end: Position { line: 86, column: 12, }, }, }, ), Raw( PartRaw { content: "user", span: Span { start: Position { line: 86, column: 13, }, end: Position { line: 86, column: 17, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 86, column: 18, }, end: Position { line: 86, column: 26, }, }, }, ), Raw( PartRaw { content: "emacs", span: Span { start: Position { line: 86, column: 27, }, end: Position { line: 86, column: 32, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Emacs: the extensible, self-documenting text editor", span: Span { start: Position { line: 87, column: 22, }, end: Position { line: 87, column: 73, }, }, }, ), ], span: Span { start: Position { line: 87, column: 21, }, end: Position { line: 87, column: 74, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 89, column: 7, }, end: Position { line: 89, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Type", span: Span { start: Position { line: 90, column: 9, }, end: Position { line: 90, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "forking", span: Span { start: Position { line: 90, column: 17, }, end: Position { line: 90, column: 24, }, }, }, ), ], span: Span { start: Position { line: 90, column: 16, }, end: Position { line: 90, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 91, column: 9, }, end: Position { line: 91, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 91, column: 24, }, end: Position { line: 91, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bash", span: Span { start: Position { line: 91, column: 29, }, end: Position { line: 91, column: 33, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/bash -c 'source ", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 91, column: 57, }, end: Position { line: 91, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 91, column: 64, }, end: Position { line: 91, column: 70, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 91, column: 71, }, end: Position { line: 91, column: 76, }, }, }, ), Raw( PartRaw { content: "setEnvironment", span: Span { start: Position { line: 91, column: 77, }, end: Position { line: 91, column: 91, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "; exec ", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 99, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 91, column: 101, }, end: Position { line: 91, column: 104, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 91, column: 105, }, end: Position { line: 91, column: 112, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/emacs --daemon'", span: Span { start: Position { line: 91, column: 22, }, end: Position { line: 91, column: 133, }, }, }, ), ], span: Span { start: Position { line: 91, column: 21, }, end: Position { line: 91, column: 134, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStop", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 92, column: 23, }, end: Position { line: 92, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 92, column: 27, }, end: Position { line: 92, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/emacsclient --eval (kill-emacs)", span: Span { start: Position { line: 92, column: 21, }, end: Position { line: 92, column: 71, }, }, }, ), ], span: Span { start: Position { line: 92, column: 20, }, end: Position { line: 92, column: 72, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 93, column: 20, }, end: Position { line: 93, column: 26, }, }, }, ), ], span: Span { start: Position { line: 93, column: 19, }, end: Position { line: 93, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 89, column: 23, }, end: Position { line: 94, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 86, column: 35, }, end: Position { line: 95, column: 6, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 95, column: 10, }, end: Position { line: 95, column: 23, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 95, column: 24, }, end: Position { line: 95, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 95, column: 28, }, end: Position { line: 95, column: 34, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 95, column: 37, }, end: Position { line: 95, column: 45, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "default.target", span: Span { start: Position { line: 95, column: 51, }, end: Position { line: 95, column: 65, }, }, }, ), ], span: Span { start: Position { line: 95, column: 50, }, end: Position { line: 95, column: 66, }, }, }, ), ], span: Span { start: Position { line: 95, column: 48, }, end: Position { line: 95, column: 68, }, }, }, ), }, ), ], span: Span { start: Position { line: 95, column: 35, }, end: Position { line: 95, column: 71, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 97, column: 5, }, end: Position { line: 97, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 97, column: 17, }, end: Position { line: 97, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 97, column: 36, }, end: Position { line: 97, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 97, column: 40, }, end: Position { line: 97, column: 47, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "editorScript", span: Span { start: Position { line: 97, column: 48, }, end: Position { line: 97, column: 60, }, }, }, ), Identifier( Identifier { id: "desktopApplicationFile", span: Span { start: Position { line: 97, column: 61, }, end: Position { line: 97, column: 83, }, }, }, ), ], span: Span { start: Position { line: 97, column: 34, }, end: Position { line: 97, column: 85, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 99, column: 5, }, end: Position { line: 99, column: 16, }, }, }, ), Raw( PartRaw { content: "variables", span: Span { start: Position { line: 99, column: 17, }, end: Position { line: 99, column: 26, }, }, }, ), Raw( PartRaw { content: "EDITOR", span: Span { start: Position { line: 99, column: 27, }, end: Position { line: 99, column: 33, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 99, column: 36, }, end: Position { line: 99, column: 40, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 99, column: 41, }, end: Position { line: 99, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "defaultEditor", span: Span { start: Position { line: 99, column: 45, }, end: Position { line: 99, column: 58, }, }, }, ), ], default: None, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOverride", span: Span { start: Position { line: 99, column: 60, }, end: Position { line: 99, column: 70, }, }, }, ), arguments: [ Integer( Integer { value: "900", span: Span { start: Position { line: 99, column: 71, }, end: Position { line: 99, column: 74, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "editorScript", span: Span { start: Position { line: 99, column: 78, }, end: Position { line: 99, column: 90, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/emacseditor", span: Span { start: Position { line: 99, column: 76, }, end: Position { line: 99, column: 107, }, }, }, ), ], span: Span { start: Position { line: 99, column: 75, }, end: Position { line: 99, column: 108, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 85, column: 45, }, end: Position { line: 100, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 102, column: 3, }, end: Position { line: 102, column: 7, }, }, }, ), Raw( PartRaw { content: "doc", span: Span { start: Position { line: 102, column: 8, }, end: Position { line: 102, column: 11, }, }, }, ), ], to: Path( Path { parts: [ Raw( PartRaw { content: "./emacs.xml", span: Span { start: Position { line: 102, column: 14, }, end: Position { line: 102, column: 25, }, }, }, ), ], span: Span { start: Position { line: 102, column: 14, }, end: Position { line: 102, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 38, column: 1, }, end: Position { line: 103, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 103, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 103, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 103, column: 2, }, }, }, )