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: "cfge", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 7, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 10, }, end: Position { line: 7, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 7, column: 17, }, end: Position { line: 7, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 9, column: 9, }, end: Position { line: 9, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 9, column: 16, }, end: Position { line: 9, column: 24, }, }, }, ), Raw( PartRaw { content: "fish", span: Span { start: Position { line: 9, column: 25, }, end: Position { line: 9, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fishAbbrs", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 11, column: 15, }, end: Position { line: 11, column: 31, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 11, column: 33, }, end: Position { line: 11, column: 35, }, }, }, ), ], span: Span { start: Position { line: 11, column: 32, }, end: Position { line: 11, column: 36, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsFlatten", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "abbr -ag ", span: Span { start: Position { line: 12, column: 29, }, end: Position { line: 12, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "k", span: Span { start: Position { line: 12, column: 40, }, end: Position { line: 12, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 12, column: 29, }, end: Position { line: 12, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArg", span: Span { start: Position { line: 12, column: 45, }, end: Position { line: 12, column: 59, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 12, column: 60, }, end: Position { line: 12, column: 61, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 28, }, end: Position { line: 12, column: 63, }, }, }, ), span: Span { start: Position { line: 12, column: 25, }, end: Position { line: 12, column: 63, }, }, }, ), span: Span { start: Position { line: 12, column: 22, }, end: Position { line: 12, column: 63, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellAbbrs", span: Span { start: Position { line: 13, column: 11, }, end: Position { line: 13, column: 21, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fishAliases", span: Span { start: Position { line: 16, column: 3, }, end: Position { line: 16, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 33, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 16, column: 35, }, end: Position { line: 16, column: 37, }, }, }, ), ], span: Span { start: Position { line: 16, column: 34, }, end: Position { line: 16, column: 38, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsFlatten", span: Span { start: Position { line: 17, column: 5, }, end: Position { line: 17, column: 20, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: String( String_ { parts: [ Raw( PartRaw { content: "alias ", span: Span { start: Position { line: 17, column: 29, }, end: Position { line: 17, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "k", span: Span { start: Position { line: 17, column: 37, }, end: Position { line: 17, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 17, column: 29, }, end: Position { line: 17, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArg", span: Span { start: Position { line: 17, column: 42, }, end: Position { line: 17, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 17, column: 57, }, end: Position { line: 17, column: 58, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 17, column: 28, }, end: Position { line: 17, column: 60, }, }, }, ), span: Span { start: Position { line: 17, column: 25, }, end: Position { line: 17, column: 60, }, }, }, ), span: Span { start: Position { line: 17, column: 22, }, end: Position { line: 17, column: 60, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterAttrs", span: Span { start: Position { line: 18, column: 8, }, end: Position { line: 18, column: 19, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "k", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "v", }, ), body: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "v", span: Span { start: Position { line: 18, column: 27, }, end: Position { line: 18, column: 28, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 18, column: 32, }, end: Position { line: 18, column: 36, }, }, }, ), }, ), span: Span { start: Position { line: 18, column: 24, }, end: Position { line: 18, column: 36, }, }, }, ), span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 36, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 18, column: 38, }, end: Position { line: 18, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 18, column: 42, }, end: Position { line: 18, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "envShellInit", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 15, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 21, column: 18, }, end: Position { line: 21, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 21, column: 23, }, end: Position { line: 21, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 21, column: 34, }, end: Position { line: 21, column: 43, }, }, }, ), ], span: Span { start: Position { line: 21, column: 33, }, end: Position { line: 21, column: 44, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 21, column: 45, }, end: Position { line: 21, column: 49, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 21, column: 50, }, end: Position { line: 21, column: 59, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "envLoginShellInit", span: Span { start: Position { line: 23, column: 3, }, end: Position { line: 23, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 23, column: 28, }, end: Position { line: 23, column: 37, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 23, column: 39, }, end: Position { line: 23, column: 53, }, }, }, ), ], span: Span { start: Position { line: 23, column: 38, }, end: Position { line: 23, column: 54, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 23, column: 55, }, end: Position { line: 23, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 23, column: 60, }, end: Position { line: 23, column: 74, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "envInteractiveShellInit", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 25, column: 29, }, end: Position { line: 25, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 25, column: 34, }, end: Position { line: 25, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 25, column: 45, }, end: Position { line: 25, column: 65, }, }, }, ), ], span: Span { start: Position { line: 25, column: 44, }, end: Position { line: 25, column: 66, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 25, column: 67, }, end: Position { line: 25, column: 71, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 25, column: 72, }, end: Position { line: 25, column: 92, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sourceEnv", span: Span { start: Position { line: 27, column: 3, }, end: Position { line: 27, column: 12, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "file", }, ), body: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 28, column: 6, }, end: Position { line: 28, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "useBabelfish", span: Span { start: Position { line: 28, column: 10, }, end: Position { line: 28, column: 22, }, }, }, ), ], default: None, }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "source /etc/fish/", span: Span { start: Position { line: 29, column: 6, }, end: Position { line: 29, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "file", span: Span { start: Position { line: 29, column: 25, }, end: Position { line: 29, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: ".fish", span: Span { start: Position { line: 29, column: 6, }, end: Position { line: 29, column: 35, }, }, }, ), ], span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 36, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "set fish_function_path ", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 32, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 32, column: 32, }, end: Position { line: 32, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fishPlugins", span: Span { start: Position { line: 32, column: 37, }, end: Position { line: 32, column: 48, }, }, }, ), Raw( PartRaw { content: "foreign-env", span: Span { start: Position { line: 32, column: 49, }, end: Position { line: 32, column: 60, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/fish/vendor_functions.d $fish_function_path\nfenv source /etc/fish/foreign-env/", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 33, column: 41, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "file", span: Span { start: Position { line: 33, column: 43, }, end: Position { line: 33, column: 47, }, }, }, ), }, ), Raw( PartRaw { content: " > /dev/null\nset -e fish_function_path[1]\n", span: Span { start: Position { line: 32, column: 1, }, end: Position { line: 35, column: 5, }, }, }, ), ], span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 35, column: 7, }, }, }, ), span: Span { start: Position { line: 28, column: 3, }, end: Position { line: 35, column: 7, }, }, }, ), span: Span { start: Position { line: 27, column: 15, }, end: Position { line: 35, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "babelfishTranslate", span: Span { start: Position { line: 37, column: 3, }, end: Position { line: 37, column: 21, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "path", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 38, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 38, column: 10, }, end: Position { line: 38, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 38, column: 24, }, end: Position { line: 38, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: ".fish", span: Span { start: Position { line: 38, column: 22, }, end: Position { line: 38, column: 34, }, }, }, ), ], span: Span { start: Position { line: 38, column: 21, }, end: Position { line: 38, column: 35, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nativeBuildInputs", span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 24, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 39, column: 29, }, end: Position { line: 39, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "babelfish", span: Span { start: Position { line: 39, column: 34, }, end: Position { line: 39, column: 43, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 39, column: 27, }, end: Position { line: 39, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 38, column: 36, }, end: Position { line: 40, column: 6, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 40, column: 10, }, end: Position { line: 40, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "babelfish", span: Span { start: Position { line: 40, column: 15, }, end: Position { line: 40, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/babelfish < ", span: Span { start: Position { line: 40, column: 8, }, end: Position { line: 40, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "path", span: Span { start: Position { line: 40, column: 44, }, end: Position { line: 40, column: 48, }, }, }, ), }, ), Raw( PartRaw { content: " > $out;", span: Span { start: Position { line: 40, column: 8, }, end: Position { line: 40, column: 57, }, }, }, ), ], span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 40, column: 58, }, }, }, ), ], }, ), span: Span { start: Position { line: 37, column: 30, }, end: Position { line: 40, column: 58, }, }, }, ), span: Span { start: Position { line: 37, column: 24, }, end: Position { line: 40, column: 58, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 46, column: 3, }, end: Position { line: 46, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 13, }, }, }, ), Raw( PartRaw { content: "fish", span: Span { start: Position { line: 48, column: 14, }, end: Position { line: 48, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 50, column: 7, }, end: Position { line: 50, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 50, column: 16, }, end: Position { line: 50, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 51, column: 19, }, end: Position { line: 51, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 52, column: 9, }, end: Position { line: 52, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 52, column: 23, }, end: Position { line: 52, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 52, column: 27, }, end: Position { line: 52, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to configure fish as an interactive shell.\n", span: Span { start: Position { line: 53, column: 1, }, end: Position { line: 54, column: 9, }, }, }, ), ], span: Span { start: Position { line: 52, column: 33, }, end: Position { line: 54, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 55, column: 16, }, end: Position { line: 55, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 55, column: 22, }, end: Position { line: 55, column: 26, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 50, column: 25, }, end: Position { line: 56, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useBabelfish", span: Span { start: Position { line: 58, column: 7, }, end: Position { line: 58, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 58, column: 22, }, end: Position { line: 58, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 59, column: 9, }, end: Position { line: 59, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 59, column: 16, }, end: Position { line: 59, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 59, column: 22, }, end: Position { line: 59, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 60, column: 9, }, end: Position { line: 60, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 60, column: 19, }, end: Position { line: 60, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 61, column: 23, }, end: Position { line: 61, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 61, column: 27, }, end: Position { line: 61, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "If enabled, the configured environment will be translated to native fish using [babelfish](https://github.com/bouk/babelfish).\nOtherwise, [foreign-env](https://github.com/oh-my-fish/plugin-foreign-env) will be used.\n", span: Span { start: Position { line: 62, column: 1, }, end: Position { line: 64, column: 9, }, }, }, ), ], span: Span { start: Position { line: 61, column: 33, }, end: Position { line: 64, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 58, column: 31, }, end: Position { line: 65, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "vendor", span: Span { start: Position { line: 67, column: 7, }, end: Position { line: 67, column: 13, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 67, column: 14, }, end: Position { line: 67, column: 20, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 67, column: 21, }, end: Position { line: 67, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 67, column: 30, }, end: Position { line: 67, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 68, column: 9, }, end: Position { line: 68, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 68, column: 16, }, end: Position { line: 68, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 68, column: 22, }, end: Position { line: 68, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 69, column: 9, }, end: Position { line: 69, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 69, column: 19, }, end: Position { line: 69, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 70, column: 9, }, end: Position { line: 70, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 70, column: 23, }, end: Position { line: 70, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 70, column: 27, }, end: Position { line: 70, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether fish should source configuration snippets provided by other packages.\n", span: Span { start: Position { line: 71, column: 1, }, end: Position { line: 72, column: 9, }, }, }, ), ], span: Span { start: Position { line: 70, column: 33, }, end: Position { line: 72, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 67, column: 39, }, end: Position { line: 73, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "vendor", span: Span { start: Position { line: 75, column: 7, }, end: Position { line: 75, column: 13, }, }, }, ), Raw( PartRaw { content: "completions", span: Span { start: Position { line: 75, column: 14, }, end: Position { line: 75, column: 25, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 75, column: 26, }, end: Position { line: 75, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 75, column: 35, }, end: Position { line: 75, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 76, column: 9, }, end: Position { line: 76, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 76, column: 16, }, end: Position { line: 76, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 76, column: 22, }, end: Position { line: 76, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 77, column: 9, }, end: Position { line: 77, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 77, column: 19, }, end: Position { line: 77, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 78, column: 9, }, end: Position { line: 78, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 78, column: 23, }, end: Position { line: 78, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 78, column: 27, }, end: Position { line: 78, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether fish should use completion files provided by other packages.\n", span: Span { start: Position { line: 79, column: 1, }, end: Position { line: 80, column: 9, }, }, }, ), ], span: Span { start: Position { line: 78, column: 33, }, end: Position { line: 80, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 75, column: 44, }, end: Position { line: 81, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "vendor", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 13, }, }, }, ), Raw( PartRaw { content: "functions", span: Span { start: Position { line: 83, column: 14, }, end: Position { line: 83, column: 23, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 83, column: 24, }, end: Position { line: 83, column: 30, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 83, column: 33, }, end: Position { line: 83, column: 41, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 84, column: 9, }, end: Position { line: 84, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 84, column: 16, }, end: Position { line: 84, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 84, column: 22, }, end: Position { line: 84, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 85, column: 9, }, end: Position { line: 85, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 85, column: 19, }, end: Position { line: 85, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 86, column: 9, }, end: Position { line: 86, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 86, column: 23, }, end: Position { line: 86, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 86, column: 27, }, end: Position { line: 86, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether fish should autoload fish functions provided by other packages.\n", span: Span { start: Position { line: 87, column: 1, }, end: Position { line: 88, column: 9, }, }, }, ), ], span: Span { start: Position { line: 86, column: 33, }, end: Position { line: 88, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 83, column: 42, }, end: Position { line: 89, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellAbbrs", span: Span { start: Position { line: 91, column: 7, }, end: Position { line: 91, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 91, column: 20, }, end: Position { line: 91, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 92, column: 9, }, end: Position { line: 92, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 92, column: 19, }, end: Position { line: 92, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 93, column: 9, }, end: Position { line: 93, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "gco", span: Span { start: Position { line: 94, column: 11, }, end: Position { line: 94, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "git checkout", span: Span { start: Position { line: 94, column: 18, }, end: Position { line: 94, column: 30, }, }, }, ), ], span: Span { start: Position { line: 94, column: 17, }, end: Position { line: 94, column: 31, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "npu", span: Span { start: Position { line: 95, column: 11, }, end: Position { line: 95, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nix-prefetch-url", span: Span { start: Position { line: 95, column: 18, }, end: Position { line: 95, column: 34, }, }, }, ), ], span: Span { start: Position { line: 95, column: 17, }, end: Position { line: 95, column: 35, }, }, }, ), }, ), ], span: Span { start: Position { line: 93, column: 19, }, end: Position { line: 96, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 97, column: 9, }, end: Position { line: 97, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 97, column: 23, }, end: Position { line: 97, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 97, column: 27, }, end: Position { line: 97, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set of fish abbreviations.\n", span: Span { start: Position { line: 98, column: 1, }, end: Position { line: 99, column: 9, }, }, }, ), ], span: Span { start: Position { line: 97, column: 33, }, end: Position { line: 99, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 100, column: 9, }, end: Position { line: 100, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 100, column: 21, }, end: Position { line: 100, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 100, column: 28, }, end: Position { line: 100, column: 35, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 100, column: 36, }, end: Position { line: 100, column: 39, }, }, }, ), ], }, ), span: Span { start: Position { line: 100, column: 16, }, end: Position { line: 100, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 91, column: 29, }, end: Position { line: 101, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 103, column: 22, }, end: Position { line: 103, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 104, column: 9, }, end: Position { line: 104, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 104, column: 19, }, end: Position { line: 104, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 105, column: 9, }, end: Position { line: 105, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 105, column: 23, }, end: Position { line: 105, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 105, column: 27, }, end: Position { line: 105, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set of aliases for fish shell, which overrides {option}`environment.shellAliases`.\nSee {option}`environment.shellAliases` for an option format description.\n", span: Span { start: Position { line: 106, column: 1, }, end: Position { line: 108, column: 9, }, }, }, ), ], span: Span { start: Position { line: 105, column: 33, }, end: Position { line: 108, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 109, column: 9, }, end: Position { line: 109, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 109, column: 21, }, end: Position { line: 109, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 109, column: 28, }, end: Position { line: 109, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 109, column: 37, }, end: Position { line: 109, column: 43, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "either", span: Span { start: Position { line: 109, column: 45, }, end: Position { line: 109, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 109, column: 52, }, end: Position { line: 109, column: 55, }, }, }, ), Identifier( Identifier { id: "path", span: Span { start: Position { line: 109, column: 56, }, end: Position { line: 109, column: 60, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 109, column: 16, }, end: Position { line: 109, column: 62, }, }, }, ), }, ), ], span: Span { start: Position { line: 103, column: 31, }, end: Position { line: 110, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 112, column: 7, }, end: Position { line: 112, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 112, column: 19, }, end: Position { line: 112, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 113, column: 9, }, end: Position { line: 113, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 113, column: 19, }, end: Position { line: 113, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 114, column: 9, }, end: Position { line: 114, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 114, column: 23, }, end: Position { line: 114, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 114, column: 27, }, end: Position { line: 114, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during fish shell initialisation.\n", span: Span { start: Position { line: 115, column: 1, }, end: Position { line: 116, column: 9, }, }, }, ), ], span: Span { start: Position { line: 114, column: 33, }, end: Position { line: 116, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 117, column: 9, }, end: Position { line: 117, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 117, column: 16, }, end: Position { line: 117, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 117, column: 22, }, end: Position { line: 117, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 112, column: 28, }, end: Position { line: 118, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 120, column: 24, }, end: Position { line: 120, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 121, column: 9, }, end: Position { line: 121, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 121, column: 19, }, end: Position { line: 121, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 122, column: 9, }, end: Position { line: 122, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 122, column: 23, }, end: Position { line: 122, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 122, column: 27, }, end: Position { line: 122, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during fish login shell initialisation.\n", span: Span { start: Position { line: 123, column: 1, }, end: Position { line: 124, column: 9, }, }, }, ), ], span: Span { start: Position { line: 122, column: 33, }, end: Position { line: 124, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 125, column: 9, }, end: Position { line: 125, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 125, column: 16, }, end: Position { line: 125, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 125, column: 22, }, end: Position { line: 125, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 120, column: 33, }, end: Position { line: 126, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 128, column: 30, }, end: Position { line: 128, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 129, column: 9, }, end: Position { line: 129, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 129, column: 19, }, end: Position { line: 129, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 130, column: 23, }, end: Position { line: 130, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 130, column: 27, }, end: Position { line: 130, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during interactive fish shell initialisation.\n", span: Span { start: Position { line: 131, column: 1, }, end: Position { line: 132, column: 9, }, }, }, ), ], span: Span { start: Position { line: 130, column: 33, }, end: Position { line: 132, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 133, column: 9, }, end: Position { line: 133, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 133, column: 16, }, end: Position { line: 133, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 133, column: 22, }, end: Position { line: 133, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 128, column: 39, }, end: Position { line: 134, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "promptInit", span: Span { start: Position { line: 136, column: 7, }, end: Position { line: 136, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 136, column: 20, }, end: Position { line: 136, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 137, column: 9, }, end: Position { line: 137, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 137, column: 19, }, end: Position { line: 137, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 138, column: 9, }, end: Position { line: 138, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 138, column: 23, }, end: Position { line: 138, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 138, column: 27, }, end: Position { line: 138, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code used to initialise fish prompt.\n", span: Span { start: Position { line: 139, column: 1, }, end: Position { line: 140, column: 9, }, }, }, ), ], span: Span { start: Position { line: 138, column: 33, }, end: Position { line: 140, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 141, column: 16, }, end: Position { line: 141, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 141, column: 22, }, end: Position { line: 141, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 136, column: 29, }, end: Position { line: 142, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 48, column: 21, }, end: Position { line: 144, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 46, column: 13, }, end: Position { line: 146, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 148, column: 3, }, end: Position { line: 148, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 148, column: 12, }, end: Position { line: 148, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 148, column: 17, }, end: Position { line: 148, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 148, column: 21, }, end: Position { line: 148, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 150, column: 5, }, end: Position { line: 150, column: 13, }, }, }, ), Raw( PartRaw { content: "fish", span: Span { start: Position { line: 150, column: 14, }, end: Position { line: 150, column: 18, }, }, }, ), Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 150, column: 19, }, end: Position { line: 150, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 150, column: 34, }, end: Position { line: 150, column: 42, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 150, column: 50, }, end: Position { line: 150, column: 59, }, }, }, ), span: Span { start: Position { line: 150, column: 44, }, end: Position { line: 150, column: 59, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 150, column: 61, }, end: Position { line: 150, column: 65, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 150, column: 66, }, end: Position { line: 150, column: 78, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "documentation", span: Span { start: Position { line: 153, column: 5, }, end: Position { line: 153, column: 18, }, }, }, ), Raw( PartRaw { content: "man", span: Span { start: Position { line: 153, column: 19, }, end: Position { line: 153, column: 22, }, }, }, ), Raw( PartRaw { content: "generateCaches", span: Span { start: Position { line: 153, column: 23, }, end: Position { line: 153, column: 37, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 153, column: 40, }, end: Position { line: 153, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkDefault", span: Span { start: Position { line: 153, column: 44, }, end: Position { line: 153, column: 53, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "true", span: Span { start: Position { line: 153, column: 54, }, end: Position { line: 153, column: 58, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 155, column: 5, }, end: Position { line: 155, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 155, column: 19, }, end: Position { line: 155, column: 26, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 156, column: 8, }, end: Position { line: 156, column: 12, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 156, column: 13, }, end: Position { line: 156, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "useBabelfish", span: Span { start: Position { line: 156, column: 17, }, end: Position { line: 156, column: 29, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 158, column: 9, }, end: Position { line: 158, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/setEnvironment.fish", span: Span { start: Position { line: 158, column: 14, }, end: Position { line: 158, column: 38, }, }, }, ), ], span: Span { start: Position { line: 158, column: 13, }, end: Position { line: 158, column: 39, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 158, column: 40, }, end: Position { line: 158, column: 46, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "babelfishTranslate", span: Span { start: Position { line: 158, column: 49, }, end: Position { line: 158, column: 67, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 158, column: 68, }, end: Position { line: 158, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 158, column: 75, }, end: Position { line: 158, column: 81, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 158, column: 82, }, end: Position { line: 158, column: 87, }, }, }, ), Raw( PartRaw { content: "setEnvironment", span: Span { start: Position { line: 158, column: 88, }, end: Position { line: 158, column: 102, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "setEnvironment", span: Span { start: Position { line: 158, column: 104, }, end: Position { line: 158, column: 118, }, }, }, ), ], span: Span { start: Position { line: 158, column: 103, }, end: Position { line: 158, column: 119, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 159, column: 9, }, end: Position { line: 159, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/shellInit.fish", span: Span { start: Position { line: 159, column: 14, }, end: Position { line: 159, column: 33, }, }, }, ), ], span: Span { start: Position { line: 159, column: 13, }, end: Position { line: 159, column: 34, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 159, column: 35, }, end: Position { line: 159, column: 41, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "babelfishTranslate", span: Span { start: Position { line: 159, column: 44, }, end: Position { line: 159, column: 62, }, }, }, ), arguments: [ Identifier( Identifier { id: "envShellInit", span: Span { start: Position { line: 159, column: 63, }, end: Position { line: 159, column: 75, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 159, column: 77, }, end: Position { line: 159, column: 86, }, }, }, ), ], span: Span { start: Position { line: 159, column: 76, }, end: Position { line: 159, column: 87, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 160, column: 9, }, end: Position { line: 160, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/loginShellInit.fish", span: Span { start: Position { line: 160, column: 14, }, end: Position { line: 160, column: 38, }, }, }, ), ], span: Span { start: Position { line: 160, column: 13, }, end: Position { line: 160, column: 39, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 160, column: 40, }, end: Position { line: 160, column: 46, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "babelfishTranslate", span: Span { start: Position { line: 160, column: 49, }, end: Position { line: 160, column: 67, }, }, }, ), arguments: [ Identifier( Identifier { id: "envLoginShellInit", span: Span { start: Position { line: 160, column: 68, }, end: Position { line: 160, column: 85, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 160, column: 87, }, end: Position { line: 160, column: 101, }, }, }, ), ], span: Span { start: Position { line: 160, column: 86, }, end: Position { line: 160, column: 102, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 161, column: 9, }, end: Position { line: 161, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/interactiveShellInit.fish", span: Span { start: Position { line: 161, column: 14, }, end: Position { line: 161, column: 44, }, }, }, ), ], span: Span { start: Position { line: 161, column: 13, }, end: Position { line: 161, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 161, column: 46, }, end: Position { line: 161, column: 52, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "babelfishTranslate", span: Span { start: Position { line: 161, column: 55, }, end: Position { line: 161, column: 73, }, }, }, ), arguments: [ Identifier( Identifier { id: "envInteractiveShellInit", span: Span { start: Position { line: 161, column: 74, }, end: Position { line: 161, column: 97, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 161, column: 99, }, end: Position { line: 161, column: 119, }, }, }, ), ], span: Span { start: Position { line: 161, column: 98, }, end: Position { line: 161, column: 120, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 157, column: 7, }, end: Position { line: 162, column: 7, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 164, column: 8, }, end: Position { line: 164, column: 12, }, }, }, ), arguments: [ UnaryOperation( UnaryOperation { operator: Not, operand: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 164, column: 15, }, end: Position { line: 164, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "useBabelfish", span: Span { start: Position { line: 164, column: 19, }, end: Position { line: 164, column: 31, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 164, column: 14, }, end: Position { line: 164, column: 31, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 166, column: 9, }, end: Position { line: 166, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/foreign-env/shellInit", span: Span { start: Position { line: 166, column: 14, }, end: Position { line: 166, column: 40, }, }, }, ), ], span: Span { start: Position { line: 166, column: 13, }, end: Position { line: 166, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 166, column: 42, }, end: Position { line: 166, column: 48, }, }, }, ), ], to: Identifier( Identifier { id: "envShellInit", span: Span { start: Position { line: 166, column: 51, }, end: Position { line: 166, column: 63, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 167, column: 9, }, end: Position { line: 167, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/foreign-env/loginShellInit", span: Span { start: Position { line: 167, column: 14, }, end: Position { line: 167, column: 45, }, }, }, ), ], span: Span { start: Position { line: 167, column: 13, }, end: Position { line: 167, column: 46, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 167, column: 47, }, end: Position { line: 167, column: 53, }, }, }, ), ], to: Identifier( Identifier { id: "envLoginShellInit", span: Span { start: Position { line: 167, column: 56, }, end: Position { line: 167, column: 73, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 168, column: 9, }, end: Position { line: 168, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/foreign-env/interactiveShellInit", span: Span { start: Position { line: 168, column: 14, }, end: Position { line: 168, column: 51, }, }, }, ), ], span: Span { start: Position { line: 168, column: 13, }, end: Position { line: 168, column: 52, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 168, column: 53, }, end: Position { line: 168, column: 59, }, }, }, ), ], to: Identifier( Identifier { id: "envInteractiveShellInit", span: Span { start: Position { line: 168, column: 62, }, end: Position { line: 168, column: 85, }, }, }, ), }, ), ], span: Span { start: Position { line: 165, column: 7, }, end: Position { line: 169, column: 8, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 172, column: 9, }, end: Position { line: 172, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/nixos-env-preinit.fish", span: Span { start: Position { line: 172, column: 14, }, end: Position { line: 172, column: 41, }, }, }, ), ], span: Span { start: Position { line: 172, column: 13, }, end: Position { line: 172, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 172, column: 43, }, end: Position { line: 172, column: 47, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 173, column: 12, }, end: Position { line: 173, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "useBabelfish", span: Span { start: Position { line: 173, column: 16, }, end: Position { line: 173, column: 28, }, }, }, ), ], default: None, }, ), then: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# source the NixOS environment config\nif [ -z \"$__NIXOS_SET_ENVIRONMENT_DONE\" ]\n source /etc/fish/setEnvironment.fish\nend\n", span: Span { start: Position { line: 175, column: 1, }, end: Position { line: 179, column: 9, }, }, }, ), ], span: Span { start: Position { line: 174, column: 14, }, end: Position { line: 179, column: 11, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# This happens before $__fish_datadir/config.fish sets fish_function_path, so it is currently\n# unset. We set it and then completely erase it, leaving its configuration to $__fish_datadir/config.fish\nset fish_function_path ", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 183, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 183, column: 36, }, end: Position { line: 183, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fishPlugins", span: Span { start: Position { line: 183, column: 41, }, end: Position { line: 183, column: 52, }, }, }, ), Raw( PartRaw { content: "foreign-env", span: Span { start: Position { line: 183, column: 53, }, end: Position { line: 183, column: 64, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/fish/vendor_functions.d $__fish_datadir/functions\n\n# source the NixOS environment config\nif [ -z \"$__NIXOS_SET_ENVIRONMENT_DONE\" ]\n fenv source ", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 187, column: 25, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 187, column: 27, }, end: Position { line: 187, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 187, column: 34, }, end: Position { line: 187, column: 40, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 187, column: 41, }, end: Position { line: 187, column: 46, }, }, }, ), Raw( PartRaw { content: "setEnvironment", span: Span { start: Position { line: 187, column: 47, }, end: Position { line: 187, column: 61, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nend\n\n# clear fish_function_path so that it will be correctly set when we return to $__fish_datadir/config.fish\nset -e fish_function_path\n", span: Span { start: Position { line: 181, column: 1, }, end: Position { line: 192, column: 9, }, }, }, ), ], span: Span { start: Position { line: 180, column: 14, }, end: Position { line: 192, column: 11, }, }, }, ), span: Span { start: Position { line: 173, column: 9, }, end: Position { line: 192, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 171, column: 7, }, end: Position { line: 193, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 196, column: 9, }, end: Position { line: 196, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/config.fish", span: Span { start: Position { line: 196, column: 14, }, end: Position { line: 196, column: 30, }, }, }, ), ], span: Span { start: Position { line: 196, column: 13, }, end: Position { line: 196, column: 31, }, }, }, ), }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 196, column: 32, }, end: Position { line: 196, column: 36, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# /etc/fish/config.fish: DO NOT EDIT -- this file has been generated automatically.\n\n# if we haven't sourced the general config, do it\nif not set -q __fish_nixos_general_config_sourced\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 201, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "sourceEnv", span: Span { start: Position { line: 201, column: 13, }, end: Position { line: 201, column: 22, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 201, column: 24, }, end: Position { line: 201, column: 33, }, }, }, ), ], span: Span { start: Position { line: 201, column: 23, }, end: Position { line: 201, column: 34, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 203, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 203, column: 13, }, end: Position { line: 203, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 203, column: 17, }, end: Position { line: 203, column: 26, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n # and leave a note so we don't source this config section again from\n # this very shell (children will source the general config anew)\n set -g __fish_nixos_general_config_sourced 1\nend\n\n# if we haven't sourced the login config, do it\nstatus --is-login; and not set -q __fish_nixos_login_config_sourced\nand begin\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 213, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "sourceEnv", span: Span { start: Position { line: 213, column: 13, }, end: Position { line: 213, column: 22, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 213, column: 24, }, end: Position { line: 213, column: 38, }, }, }, ), ], span: Span { start: Position { line: 213, column: 23, }, end: Position { line: 213, column: 39, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 215, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 215, column: 13, }, end: Position { line: 215, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 215, column: 17, }, end: Position { line: 215, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n # and leave a note so we don't source this config section again from\n # this very shell (children will source the general config anew)\n set -g __fish_nixos_login_config_sourced 1\nend\n\n# if we haven't sourced the interactive config, do it\nstatus --is-interactive; and not set -q __fish_nixos_interactive_config_sourced\nand begin\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 225, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "fishAbbrs", span: Span { start: Position { line: 225, column: 13, }, end: Position { line: 225, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 226, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "fishAliases", span: Span { start: Position { line: 226, column: 13, }, end: Position { line: 226, column: 24, }, }, }, ), }, ), Raw( PartRaw { content: "\n\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 228, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "sourceEnv", span: Span { start: Position { line: 228, column: 13, }, end: Position { line: 228, column: 22, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 228, column: 24, }, end: Position { line: 228, column: 44, }, }, }, ), ], span: Span { start: Position { line: 228, column: 23, }, end: Position { line: 228, column: 45, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 230, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 230, column: 13, }, end: Position { line: 230, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "promptInit", span: Span { start: Position { line: 230, column: 17, }, end: Position { line: 230, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 231, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 231, column: 13, }, end: Position { line: 231, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 231, column: 17, }, end: Position { line: 231, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n # and leave a note so we don't source this config section again from\n # this very shell (children will source the general config anew,\n # allowing configuration changes in, e.g, aliases, to propagate)\n set -g __fish_nixos_interactive_config_sourced 1\nend\n", span: Span { start: Position { line: 197, column: 1, }, end: Position { line: 238, column: 7, }, }, }, ), ], span: Span { start: Position { line: 196, column: 39, }, end: Position { line: 238, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 195, column: 7, }, end: Position { line: 239, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "etc", span: Span { start: Position { line: 242, column: 9, }, end: Position { line: 242, column: 12, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "fish/generated_completions", span: Span { start: Position { line: 242, column: 14, }, end: Position { line: 242, column: 40, }, }, }, ), ], span: Span { start: Position { line: 242, column: 13, }, end: Position { line: 242, column: 41, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 242, column: 42, }, end: Position { line: 242, column: 48, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "patchedGenerator", span: Span { start: Position { line: 244, column: 11, }, end: Position { line: 244, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 244, column: 30, }, end: Position { line: 244, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 244, column: 35, }, end: Position { line: 244, column: 41, }, }, }, ), Raw( PartRaw { content: "mkDerivation", span: Span { start: Position { line: 244, column: 42, }, end: Position { line: 244, column: 54, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 245, column: 13, }, end: Position { line: 245, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "fish_patched-completion-generator", span: Span { start: Position { line: 245, column: 21, }, end: Position { line: 245, column: 54, }, }, }, ), ], span: Span { start: Position { line: 245, column: 20, }, end: Position { line: 245, column: 55, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "srcs", span: Span { start: Position { line: 246, column: 13, }, end: Position { line: 246, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 247, column: 18, }, end: Position { line: 247, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fish", span: Span { start: Position { line: 247, column: 23, }, end: Position { line: 247, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/fish/tools/create_manpage_completions.py", span: Span { start: Position { line: 247, column: 16, }, end: Position { line: 247, column: 75, }, }, }, ), ], span: Span { start: Position { line: 247, column: 15, }, end: Position { line: 247, column: 76, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 248, column: 18, }, end: Position { line: 248, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fish", span: Span { start: Position { line: 248, column: 23, }, end: Position { line: 248, column: 27, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/fish/tools/deroff.py", span: Span { start: Position { line: 248, column: 16, }, end: Position { line: 248, column: 55, }, }, }, ), ], span: Span { start: Position { line: 248, column: 15, }, end: Position { line: 248, column: 56, }, }, }, ), ], span: Span { start: Position { line: 246, column: 20, }, end: Position { line: 249, column: 14, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unpackCmd", span: Span { start: Position { line: 250, column: 13, }, end: Position { line: 250, column: 22, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "cp $curSrc $(basename $curSrc)", span: Span { start: Position { line: 250, column: 26, }, end: Position { line: 250, column: 56, }, }, }, ), ], span: Span { start: Position { line: 250, column: 25, }, end: Position { line: 250, column: 57, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sourceRoot", span: Span { start: Position { line: 251, column: 13, }, end: Position { line: 251, column: 23, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 251, column: 27, }, end: Position { line: 251, column: 28, }, }, }, ), ], span: Span { start: Position { line: 251, column: 26, }, end: Position { line: 251, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "patches", span: Span { start: Position { line: 252, column: 13, }, end: Position { line: 252, column: 20, }, }, }, ), ], to: List( List { elements: [ Path( Path { parts: [ Raw( PartRaw { content: "./fish_completion-generator.patch", span: Span { start: Position { line: 252, column: 25, }, end: Position { line: 252, column: 58, }, }, }, ), ], span: Span { start: Position { line: 252, column: 25, }, end: Position { line: 252, column: 58, }, }, }, ), ], span: Span { start: Position { line: 252, column: 23, }, end: Position { line: 252, column: 60, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "dontBuild", span: Span { start: Position { line: 253, column: 13, }, end: Position { line: 253, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 253, column: 25, }, end: Position { line: 253, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "installPhase", span: Span { start: Position { line: 254, column: 13, }, end: Position { line: 254, column: 25, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p $out\ncp * $out/\n", span: Span { start: Position { line: 255, column: 1, }, end: Position { line: 257, column: 13, }, }, }, ), ], span: Span { start: Position { line: 254, column: 28, }, end: Position { line: 257, column: 15, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preferLocalBuild", span: Span { start: Position { line: 258, column: 13, }, end: Position { line: 258, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 258, column: 32, }, end: Position { line: 258, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowSubstitutes", span: Span { start: Position { line: 259, column: 13, }, end: Position { line: 259, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 259, column: 32, }, end: Position { line: 259, column: 37, }, }, }, ), }, ), ], span: Span { start: Position { line: 244, column: 55, }, end: Position { line: 260, column: 12, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "generateCompletions", span: Span { start: Position { line: 261, column: 11, }, end: Position { line: 261, column: 30, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "package", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 261, column: 42, }, end: Position { line: 261, column: 46, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 261, column: 47, }, end: Position { line: 261, column: 57, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "package", span: Span { start: Position { line: 262, column: 16, }, end: Position { line: 262, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 262, column: 24, }, end: Position { line: 262, column: 28, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "_fish-completions", span: Span { start: Position { line: 262, column: 14, }, end: Position { line: 262, column: 46, }, }, }, ), ], span: Span { start: Position { line: 262, column: 13, }, end: Position { line: 262, column: 47, }, }, }, ), BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 265, column: 25, }, end: Position { line: 265, column: 32, }, }, }, ), ], span: Span { start: Position { line: 264, column: 16, }, end: Position { line: 265, column: 33, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preferLocalBuild", span: Span { start: Position { line: 266, column: 17, }, end: Position { line: 266, column: 33, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 266, column: 36, }, end: Position { line: 266, column: 40, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "allowSubstitutes", span: Span { start: Position { line: 267, column: 17, }, end: Position { line: 267, column: 33, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 267, column: 36, }, end: Position { line: 267, column: 41, }, }, }, ), }, ), ], span: Span { start: Position { line: 264, column: 15, }, end: Position { line: 268, column: 16, }, }, }, ), operator: Update, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionalAttrs", span: Span { start: Position { line: 269, column: 18, }, end: Position { line: 269, column: 31, }, }, }, ), arguments: [ HasAttribute( HasAttribute { expression: Identifier( Identifier { id: "package", span: Span { start: Position { line: 269, column: 33, }, end: Position { line: 269, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 269, column: 43, }, end: Position { line: 269, column: 47, }, }, }, ), Raw( PartRaw { content: "priority", span: Span { start: Position { line: 269, column: 48, }, end: Position { line: 269, column: 56, }, }, }, ), ], }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 269, column: 60, }, end: Position { line: 269, column: 64, }, }, }, ), Raw( PartRaw { content: "priority", span: Span { start: Position { line: 269, column: 65, }, end: Position { line: 269, column: 73, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "package", span: Span { start: Position { line: 269, column: 76, }, end: Position { line: 269, column: 83, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 269, column: 84, }, end: Position { line: 269, column: 88, }, }, }, ), Raw( PartRaw { content: "priority", span: Span { start: Position { line: 269, column: 89, }, end: Position { line: 269, column: 97, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 269, column: 58, }, end: Position { line: 269, column: 100, }, }, }, ), ], }, ), }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p $out\nif [ -d $package/share/man ]; then\n find $package/share/man -type f | xargs ", span: Span { start: Position { line: 272, column: 1, }, end: Position { line: 274, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 274, column: 59, }, end: Position { line: 274, column: 63, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python3", span: Span { start: Position { line: 274, column: 64, }, end: Position { line: 274, column: 71, }, }, }, ), Raw( PartRaw { content: "interpreter", span: Span { start: Position { line: 274, column: 72, }, end: Position { line: 274, column: 83, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 272, column: 1, }, end: Position { line: 274, column: 85, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "patchedGenerator", span: Span { start: Position { line: 274, column: 87, }, end: Position { line: 274, column: 103, }, }, }, ), }, ), Raw( PartRaw { content: "/create_manpage_completions.py --directory $out >/dev/null\nfi\n", span: Span { start: Position { line: 272, column: 1, }, end: Position { line: 276, column: 13, }, }, }, ), ], span: Span { start: Position { line: 271, column: 13, }, end: Position { line: 276, column: 15, }, }, }, ), ], }, ), span: Span { start: Position { line: 261, column: 33, }, end: Position { line: 276, column: 15, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 278, column: 11, }, end: Position { line: 278, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "buildEnv", span: Span { start: Position { line: 278, column: 16, }, end: Position { line: 278, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 279, column: 13, }, end: Position { line: 279, column: 17, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "system_fish-completions", span: Span { start: Position { line: 279, column: 21, }, end: Position { line: 279, column: 44, }, }, }, ), ], span: Span { start: Position { line: 279, column: 20, }, end: Position { line: 279, column: 45, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ignoreCollisions", span: Span { start: Position { line: 280, column: 13, }, end: Position { line: 280, column: 29, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 280, column: 32, }, end: Position { line: 280, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "paths", span: Span { start: Position { line: 281, column: 13, }, end: Position { line: 281, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 281, column: 21, }, end: Position { line: 281, column: 24, }, }, }, ), arguments: [ Identifier( Identifier { id: "generateCompletions", span: Span { start: Position { line: 281, column: 25, }, end: Position { line: 281, column: 44, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 281, column: 45, }, end: Position { line: 281, column: 51, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 281, column: 52, }, end: Position { line: 281, column: 63, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 281, column: 64, }, end: Position { line: 281, column: 78, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 278, column: 25, }, end: Position { line: 282, column: 12, }, }, }, ), ], }, ), span: Span { start: Position { line: 243, column: 9, }, end: Position { line: 282, column: 12, }, }, }, ), }, ), ], span: Span { start: Position { line: 241, column: 7, }, end: Position { line: 283, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 287, column: 9, }, end: Position { line: 287, column: 20, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [], span: Span { start: Position { line: 287, column: 23, }, end: Position { line: 287, column: 25, }, }, }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 288, column: 12, }, end: Position { line: 288, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 288, column: 21, }, end: Position { line: 288, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "vendor", span: Span { start: Position { line: 288, column: 25, }, end: Position { line: 288, column: 31, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 288, column: 32, }, end: Position { line: 288, column: 38, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 288, column: 39, }, end: Position { line: 288, column: 45, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/share/fish/vendor_conf.d", span: Span { start: Position { line: 288, column: 47, }, end: Position { line: 288, column: 72, }, }, }, ), ], span: Span { start: Position { line: 288, column: 46, }, end: Position { line: 288, column: 73, }, }, }, ), ], }, ), operator: Concatenation, right: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 289, column: 12, }, end: Position { line: 289, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 289, column: 21, }, end: Position { line: 289, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "vendor", span: Span { start: Position { line: 289, column: 25, }, end: Position { line: 289, column: 31, }, }, }, ), Raw( PartRaw { content: "completions", span: Span { start: Position { line: 289, column: 32, }, end: Position { line: 289, column: 43, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 289, column: 44, }, end: Position { line: 289, column: 50, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/share/fish/vendor_completions.d", span: Span { start: Position { line: 289, column: 52, }, end: Position { line: 289, column: 84, }, }, }, ), ], span: Span { start: Position { line: 289, column: 51, }, end: Position { line: 289, column: 85, }, }, }, ), ], }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optional", span: Span { start: Position { line: 290, column: 12, }, end: Position { line: 290, column: 20, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 290, column: 21, }, end: Position { line: 290, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "vendor", span: Span { start: Position { line: 290, column: 25, }, end: Position { line: 290, column: 31, }, }, }, ), Raw( PartRaw { content: "functions", span: Span { start: Position { line: 290, column: 32, }, end: Position { line: 290, column: 41, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 290, column: 42, }, end: Position { line: 290, column: 48, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/share/fish/vendor_functions.d", span: Span { start: Position { line: 290, column: 50, }, end: Position { line: 290, column: 80, }, }, }, ), ], span: Span { start: Position { line: 290, column: 49, }, end: Position { line: 290, column: 81, }, }, }, ), ], }, ), }, ), }, ), }, ), }, ), ], span: Span { start: Position { line: 286, column: 7, }, end: Position { line: 291, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 293, column: 9, }, end: Position { line: 293, column: 23, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 293, column: 28, }, end: Position { line: 293, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fish", span: Span { start: Position { line: 293, column: 33, }, end: Position { line: 293, column: 37, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 293, column: 26, }, end: Position { line: 293, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 293, column: 7, }, end: Position { line: 293, column: 42, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shells", span: Span { start: Position { line: 296, column: 9, }, end: Position { line: 296, column: 15, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/run/current-system/sw/bin/fish", span: Span { start: Position { line: 297, column: 12, }, end: Position { line: 297, column: 43, }, }, }, ), ], span: Span { start: Position { line: 297, column: 11, }, end: Position { line: 297, column: 44, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 298, column: 14, }, end: Position { line: 298, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "fish", span: Span { start: Position { line: 298, column: 19, }, end: Position { line: 298, column: 23, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/fish", span: Span { start: Position { line: 298, column: 12, }, end: Position { line: 298, column: 33, }, }, }, ), ], span: Span { start: Position { line: 298, column: 11, }, end: Position { line: 298, column: 34, }, }, }, ), ], span: Span { start: Position { line: 296, column: 18, }, end: Position { line: 299, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 295, column: 7, }, end: Position { line: 300, column: 8, }, }, }, ), ], span: Span { start: Position { line: 155, column: 27, }, end: Position { line: 301, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 303, column: 5, }, end: Position { line: 303, column: 13, }, }, }, ), Raw( PartRaw { content: "fish", span: Span { start: Position { line: 303, column: 14, }, end: Position { line: 303, column: 18, }, }, }, ), Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 303, column: 19, }, end: Position { line: 303, column: 39, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# add completions generated by NixOS to $fish_complete_path\nbegin\n # joins with null byte to acommodate all characters in paths, then respectively gets all paths before (exclusive) / after (inclusive) the first one including \"generated_completions\",\n # splits by null byte, and then removes all empty lines produced by using 'string'\n set -l prev (string join0 $fish_complete_path | string match --regex \"^.*?(?=\\x00[^\\x00]*generated_completions.*)\" | string split0 | string match -er \".\")\n set -l post (string join0 $fish_complete_path | string match --regex \"[^\\x00]*generated_completions.*\" | string split0 | string match -er \".\")\n set fish_complete_path $prev \"/etc/fish/generated_completions\" $post\nend\n# prevent fish from generating completions on first run\nif not test -d $__fish_user_data_dir/generated_completions\n ", span: Span { start: Position { line: 304, column: 1, }, end: Position { line: 314, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 314, column: 11, }, end: Position { line: 314, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "coreutils", span: Span { start: Position { line: 314, column: 16, }, end: Position { line: 314, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/mkdir $__fish_user_data_dir/generated_completions\nend\n", span: Span { start: Position { line: 304, column: 1, }, end: Position { line: 316, column: 5, }, }, }, ), ], span: Span { start: Position { line: 303, column: 42, }, end: Position { line: 316, column: 7, }, }, }, ), }, ), ], span: Span { start: Position { line: 148, column: 28, }, end: Position { line: 318, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 44, column: 1, }, end: Position { line: 320, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 320, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 320, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 320, column: 2, }, }, }, )