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: 6, column: 6, }, end: Position { line: 6, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfge", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 7, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 10, column: 10, }, end: Position { line: 10, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 10, column: 17, }, end: Position { line: 10, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 12, column: 16, }, end: Position { line: 12, column: 24, }, }, }, ), Raw( PartRaw { content: "bash", span: Span { start: Position { line: 12, column: 25, }, end: Position { line: 12, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bashAliases", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "concatStringsSep", span: Span { start: Position { line: 14, column: 17, }, end: Position { line: 14, column: 33, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 14, column: 35, }, end: Position { line: 14, column: 37, }, }, }, ), ], span: Span { start: Position { line: 14, column: 34, }, end: Position { line: 14, column: 38, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrsFlatten", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, 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: 15, column: 29, }, end: Position { line: 15, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "k", span: Span { start: Position { line: 15, column: 37, }, end: Position { line: 15, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "=", span: Span { start: Position { line: 15, column: 29, }, end: Position { line: 15, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "escapeShellArg", span: Span { start: Position { line: 15, column: 42, }, end: Position { line: 15, column: 56, }, }, }, ), arguments: [ Identifier( Identifier { id: "v", span: Span { start: Position { line: 15, column: 57, }, end: Position { line: 15, column: 58, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 15, column: 28, }, end: Position { line: 15, column: 60, }, }, }, ), span: Span { start: Position { line: 15, column: 25, }, end: Position { line: 15, column: 60, }, }, }, ), span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 60, }, }, }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "filterAttrs", span: Span { start: Position { line: 16, column: 8, }, end: Position { line: 16, 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: 16, column: 27, }, end: Position { line: 16, column: 28, }, }, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 16, column: 32, }, end: Position { line: 16, column: 36, }, }, }, ), }, ), span: Span { start: Position { line: 16, column: 24, }, end: Position { line: 16, column: 36, }, }, }, ), span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 36, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 16, column: 38, }, end: Position { line: 16, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 16, column: 42, }, end: Position { line: 16, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), ], }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 22, column: 3, }, end: Position { line: 22, column: 10, }, }, }, ), ], to: List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkRemovedOptionModule", span: Span { start: Position { line: 23, column: 6, }, end: Position { line: 23, column: 27, }, }, }, ), arguments: [ List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 23, column: 31, }, end: Position { line: 23, column: 39, }, }, }, ), ], span: Span { start: Position { line: 23, column: 30, }, end: Position { line: 23, column: 40, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "bash", span: Span { start: Position { line: 23, column: 42, }, end: Position { line: 23, column: 46, }, }, }, ), ], span: Span { start: Position { line: 23, column: 41, }, end: Position { line: 23, column: 47, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 23, column: 49, }, end: Position { line: 23, column: 55, }, }, }, ), ], span: Span { start: Position { line: 23, column: 48, }, end: Position { line: 23, column: 56, }, }, }, ), ], span: Span { start: Position { line: 23, column: 28, }, end: Position { line: 23, column: 58, }, }, }, ), String( String_ { parts: [], span: Span { start: Position { line: 23, column: 59, }, end: Position { line: 23, column: 61, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 22, column: 13, }, end: Position { line: 24, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 13, }, }, }, ), Raw( PartRaw { content: "bash", span: Span { start: Position { line: 28, column: 14, }, end: Position { line: 28, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 45, column: 7, }, end: Position { line: 45, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 45, column: 22, }, end: Position { line: 45, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 46, column: 9, }, end: Position { line: 46, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 46, column: 19, }, end: Position { line: 46, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 47, column: 23, }, end: Position { line: 47, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 47, column: 27, }, end: Position { line: 47, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Set of aliases for bash shell, which overrides {option}`environment.shellAliases`.\nSee {option}`environment.shellAliases` for an option format description.\n", span: Span { start: Position { line: 48, column: 1, }, end: Position { line: 50, column: 9, }, }, }, ), ], span: Span { start: Position { line: 47, column: 33, }, end: Position { line: 50, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 51, column: 9, }, end: Position { line: 51, column: 13, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 51, column: 21, }, end: Position { line: 51, column: 26, }, }, }, ), target: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "attrsOf", span: Span { start: Position { line: 51, column: 28, }, end: Position { line: 51, column: 35, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "nullOr", span: Span { start: Position { line: 51, column: 37, }, end: Position { line: 51, column: 43, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "either", span: Span { start: Position { line: 51, column: 45, }, end: Position { line: 51, column: 51, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 51, column: 52, }, end: Position { line: 51, column: 55, }, }, }, ), Identifier( Identifier { id: "path", span: Span { start: Position { line: 51, column: 56, }, end: Position { line: 51, column: 60, }, }, }, ), ], }, ), ], }, ), ], }, ), span: Span { start: Position { line: 51, column: 16, }, end: Position { line: 51, column: 62, }, }, }, ), }, ), ], span: Span { start: Position { line: 45, column: 31, }, end: Position { line: 52, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 54, column: 7, }, end: Position { line: 54, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 54, column: 19, }, end: Position { line: 54, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 55, column: 19, }, end: Position { line: 55, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 56, column: 9, }, end: Position { line: 56, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 56, column: 23, }, end: Position { line: 56, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 56, column: 27, }, end: Position { line: 56, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during bash shell initialisation.\n", span: Span { start: Position { line: 57, column: 1, }, end: Position { line: 58, column: 9, }, }, }, ), ], span: Span { start: Position { line: 56, column: 33, }, end: Position { line: 58, column: 11, }, }, }, ), ], }, ), }, ), 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: "lines", span: Span { start: Position { line: 59, column: 22, }, end: Position { line: 59, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 54, column: 28, }, end: Position { line: 60, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 62, column: 24, }, end: Position { line: 62, column: 32, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 63, column: 9, }, end: Position { line: 63, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 63, column: 19, }, end: Position { line: 63, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 64, column: 9, }, end: Position { line: 64, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 64, column: 23, }, end: Position { line: 64, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 64, column: 27, }, end: Position { line: 64, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during login bash shell initialisation.\n", span: Span { start: Position { line: 65, column: 1, }, end: Position { line: 66, column: 9, }, }, }, ), ], span: Span { start: Position { line: 64, column: 33, }, end: Position { line: 66, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 67, column: 9, }, end: Position { line: 67, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 67, column: 16, }, end: Position { line: 67, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 67, column: 22, }, end: Position { line: 67, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 62, column: 33, }, end: Position { line: 68, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 70, column: 7, }, end: Position { line: 70, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 70, column: 30, }, end: Position { line: 70, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 71, column: 9, }, end: Position { line: 71, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 71, column: 19, }, end: Position { line: 71, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 72, column: 9, }, end: Position { line: 72, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 72, column: 23, }, end: Position { line: 72, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 72, column: 27, }, end: Position { line: 72, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code called during interactive bash shell initialisation.\n", span: Span { start: Position { line: 73, column: 1, }, end: Position { line: 74, column: 9, }, }, }, ), ], span: Span { start: Position { line: 72, column: 33, }, end: Position { line: 74, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 75, column: 16, }, end: Position { line: 75, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 75, column: 22, }, end: Position { line: 75, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 70, column: 39, }, end: Position { line: 76, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "promptInit", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 78, column: 20, }, end: Position { line: 78, column: 28, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 79, column: 9, }, end: Position { line: 79, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Provide a nice prompt if the terminal supports it.\nif [ \"$TERM\" != \"dumb\" ] || [ -n \"$INSIDE_EMACS\" ]; then\n PROMPT_COLOR=\"1;31m\"\n ((UID)) && PROMPT_COLOR=\"1;32m\"\n if [ -n \"$INSIDE_EMACS\" ] || [ \"$TERM\" = \"eterm\" ] || [ \"$TERM\" = \"eterm-color\" ]; then\n # Emacs term mode doesn't support xterm title escape sequence (\\e]0;)\n PS1=\"\\n\\[\\033[$PROMPT_COLOR\\][\\u@\\h:\\w]\\\\$\\[\\033[0m\\] \"\n else\n PS1=\"\\n\\[\\033[$PROMPT_COLOR\\][\\[\\e]0;\\u@\\h: \\w\\a\\]\\u@\\h:\\w]\\\\$\\[\\033[0m\\] \"\n fi\n if test \"$TERM\" = \"xterm\"; then\n PS1=\"\\[\\033]2;\\h:\\u:\\w\\007\\]$PS1\"\n fi\nfi\n", span: Span { start: Position { line: 80, column: 1, }, end: Position { line: 94, column: 9, }, }, }, ), ], span: Span { start: Position { line: 79, column: 19, }, end: Position { line: 94, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 95, column: 9, }, end: Position { line: 95, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 95, column: 23, }, end: Position { line: 95, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 95, column: 27, }, end: Position { line: 95, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code used to initialise the bash prompt.\n", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 97, column: 9, }, }, }, ), ], span: Span { start: Position { line: 95, column: 33, }, end: Position { line: 97, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 98, column: 9, }, end: Position { line: 98, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 98, column: 16, }, end: Position { line: 98, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 98, column: 22, }, end: Position { line: 98, column: 27, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 78, column: 29, }, end: Position { line: 99, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "promptPluginInit", span: Span { start: Position { line: 101, column: 7, }, end: Position { line: 101, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 101, column: 26, }, end: Position { line: 101, column: 34, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 102, column: 9, }, end: Position { line: 102, column: 16, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 102, column: 19, }, end: Position { line: 102, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 103, column: 9, }, end: Position { line: 103, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 103, column: 23, }, end: Position { line: 103, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 103, column: 27, }, end: Position { line: 103, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Shell script code used to initialise bash prompt plugins.\n", span: Span { start: Position { line: 104, column: 1, }, end: Position { line: 105, column: 9, }, }, }, ), ], span: Span { start: Position { line: 103, column: 33, }, end: Position { line: 105, column: 11, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 106, column: 9, }, end: Position { line: 106, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 106, column: 16, }, end: Position { line: 106, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 106, column: 22, }, end: Position { line: 106, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "internal", span: Span { start: Position { line: 107, column: 9, }, end: Position { line: 107, column: 17, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 107, column: 20, }, end: Position { line: 107, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 101, column: 35, }, end: Position { line: 108, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 28, column: 21, }, end: Position { line: 110, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 26, column: 13, }, end: Position { line: 112, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 114, column: 3, }, end: Position { line: 114, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 116, column: 5, }, end: Position { line: 116, column: 13, }, }, }, ), Raw( PartRaw { content: "bash", span: Span { start: Position { line: 116, column: 14, }, end: Position { line: 116, column: 18, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 118, column: 7, }, end: Position { line: 118, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mapAttrs", span: Span { start: Position { line: 118, column: 22, }, end: Position { line: 118, column: 30, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "name", }, ), body: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 118, column: 38, }, end: Position { line: 118, column: 47, }, }, }, ), span: Span { start: Position { line: 118, column: 32, }, end: Position { line: 118, column: 47, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 118, column: 49, }, end: Position { line: 118, column: 53, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellAliases", span: Span { start: Position { line: 118, column: 54, }, end: Position { line: 118, column: 66, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 120, column: 7, }, end: Position { line: 120, column: 16, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "if [ -z \"$__NIXOS_SET_ENVIRONMENT_DONE\" ]; then\n . ", span: Span { start: Position { line: 121, column: 1, }, end: Position { line: 122, column: 15, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 122, column: 17, }, end: Position { line: 122, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 122, column: 24, }, end: Position { line: 122, column: 30, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 122, column: 31, }, end: Position { line: 122, column: 36, }, }, }, ), Raw( PartRaw { content: "setEnvironment", span: Span { start: Position { line: 122, column: 37, }, end: Position { line: 122, column: 51, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nfi\n\n", span: Span { start: Position { line: 121, column: 1, }, end: Position { line: 125, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 125, column: 11, }, end: Position { line: 125, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 125, column: 16, }, end: Position { line: 125, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 121, column: 1, }, end: Position { line: 126, column: 7, }, }, }, ), ], span: Span { start: Position { line: 120, column: 19, }, end: Position { line: 126, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 21, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 128, column: 24, }, end: Position { line: 128, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 128, column: 29, }, end: Position { line: 128, column: 43, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 130, column: 7, }, end: Position { line: 130, column: 27, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# Check the window size after every command.\nshopt -s checkwinsize\n\n# Disable hashing (i.e. caching) of command lookups.\nset +h\n\n", span: Span { start: Position { line: 131, column: 1, }, end: Position { line: 137, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 137, column: 11, }, end: Position { line: 137, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "promptInit", span: Span { start: Position { line: 137, column: 15, }, end: Position { line: 137, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 131, column: 1, }, end: Position { line: 138, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 138, column: 11, }, end: Position { line: 138, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "promptPluginInit", span: Span { start: Position { line: 138, column: 15, }, end: Position { line: 138, column: 31, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 131, column: 1, }, end: Position { line: 139, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "bashAliases", span: Span { start: Position { line: 139, column: 11, }, end: Position { line: 139, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: "\n\n", span: Span { start: Position { line: 131, column: 1, }, end: Position { line: 141, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfge", span: Span { start: Position { line: 141, column: 11, }, end: Position { line: 141, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 141, column: 16, }, end: Position { line: 141, column: 36, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 131, column: 1, }, end: Position { line: 142, column: 7, }, }, }, ), ], span: Span { start: Position { line: 130, column: 30, }, end: Position { line: 142, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 116, column: 21, }, end: Position { line: 144, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 146, column: 5, }, end: Position { line: 146, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 146, column: 17, }, end: Position { line: 146, column: 20, }, }, }, ), Raw( PartRaw { content: "profile", span: Span { start: Position { line: 146, column: 21, }, end: Position { line: 146, column: 28, }, }, }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 146, column: 29, }, end: Position { line: 146, column: 33, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# /etc/profile: DO NOT EDIT -- this file has been generated automatically.\n# This file is read for login shells.\n\n# Only execute this file once per shell.\nif [ -n \"$__ETC_PROFILE_SOURCED\" ]; then return; fi\n__ETC_PROFILE_SOURCED=1\n\n# Prevent this file from being sourced by interactive non-login child shells.\nexport __ETC_PROFILE_DONE=1\n\n", span: Span { start: Position { line: 148, column: 1, }, end: Position { line: 158, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 158, column: 11, }, end: Position { line: 158, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "shellInit", span: Span { start: Position { line: 158, column: 15, }, end: Position { line: 158, column: 24, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 148, column: 1, }, end: Position { line: 159, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 159, column: 11, }, end: Position { line: 159, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "loginShellInit", span: Span { start: Position { line: 159, column: 15, }, end: Position { line: 159, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\n# Read system-wide modifications.\nif test -f /etc/profile.local; then\n . /etc/profile.local\nfi\n\nif [ -n \"", span: Span { start: Position { line: 148, column: 1, }, end: Position { line: 166, column: 18, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 148, column: 1, }, end: Position { line: 166, column: 21, }, }, }, ), Raw( PartRaw { content: "{BASH_VERSION:-}\" ]; then\n . /etc/bashrc\nfi\n", span: Span { start: Position { line: 148, column: 1, }, end: Position { line: 169, column: 7, }, }, }, ), ], span: Span { start: Position { line: 147, column: 7, }, end: Position { line: 169, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 171, column: 5, }, end: Position { line: 171, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 171, column: 17, }, end: Position { line: 171, column: 20, }, }, }, ), Raw( PartRaw { content: "bashrc", span: Span { start: Position { line: 171, column: 21, }, end: Position { line: 171, column: 27, }, }, }, ), Raw( PartRaw { content: "text", span: Span { start: Position { line: 171, column: 28, }, end: Position { line: 171, column: 32, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# /etc/bashrc: DO NOT EDIT -- this file has been generated automatically.\n\n# Only execute this file once per shell.\nif [ -n \"$__ETC_BASHRC_SOURCED\" ] || [ -n \"$NOSYSBASHRC\" ]; then return; fi\n__ETC_BASHRC_SOURCED=1\n\n# If the profile was not loaded in a parent process, source\n# it. But otherwise don't do it because we don't want to\n# clobber overridden values of $PATH, etc.\nif [ -z \"$__ETC_PROFILE_DONE\" ]; then\n . /etc/profile\nfi\n\n# We are not always an interactive shell.\nif [ -n \"$PS1\" ]; then\n ", span: Span { start: Position { line: 173, column: 1, }, end: Position { line: 188, column: 13, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 188, column: 15, }, end: Position { line: 188, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "interactiveShellInit", span: Span { start: Position { line: 188, column: 19, }, end: Position { line: 188, column: 39, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\nfi\n\n# Read system-wide modifications.\nif test -f /etc/bashrc.local; then\n . /etc/bashrc.local\nfi\n", span: Span { start: Position { line: 173, column: 1, }, end: Position { line: 195, column: 7, }, }, }, ), ], span: Span { start: Position { line: 172, column: 7, }, end: Position { line: 195, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 199, column: 5, }, end: Position { line: 199, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 199, column: 17, }, end: Position { line: 199, column: 20, }, }, }, ), Raw( PartRaw { content: "inputrc", span: Span { start: Position { line: 199, column: 21, }, end: Position { line: 199, column: 28, }, }, }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 199, column: 29, }, end: Position { line: 199, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOptionDefault", span: Span { start: Position { line: 199, column: 38, }, end: Position { line: 199, column: 53, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./inputrc", span: Span { start: Position { line: 199, column: 54, }, end: Position { line: 199, column: 63, }, }, }, ), ], span: Span { start: Position { line: 199, column: 54, }, end: Position { line: 199, column: 63, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 201, column: 5, }, end: Position { line: 201, column: 10, }, }, }, ), Raw( PartRaw { content: "defaultUserShell", span: Span { start: Position { line: 201, column: 11, }, end: Position { line: 201, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkDefault", span: Span { start: Position { line: 201, column: 30, }, end: Position { line: 201, column: 39, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 201, column: 40, }, end: Position { line: 201, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bashInteractive", span: Span { start: Position { line: 201, column: 45, }, end: Position { line: 201, column: 60, }, }, }, ), ], default: None, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 203, column: 5, }, end: Position { line: 203, column: 16, }, }, }, ), Raw( PartRaw { content: "pathsToLink", span: Span { start: Position { line: 203, column: 17, }, end: Position { line: 203, column: 28, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "optionals", span: Span { start: Position { line: 203, column: 31, }, end: Position { line: 203, column: 40, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 203, column: 41, }, end: Position { line: 203, column: 44, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enableCompletion", span: Span { start: Position { line: 203, column: 45, }, end: Position { line: 203, column: 61, }, }, }, ), ], default: None, }, ), List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/etc/bash_completion.d", span: Span { start: Position { line: 204, column: 8, }, end: Position { line: 204, column: 30, }, }, }, ), ], span: Span { start: Position { line: 204, column: 7, }, end: Position { line: 204, column: 31, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/share/bash-completion", span: Span { start: Position { line: 205, column: 8, }, end: Position { line: 205, column: 30, }, }, }, ), ], span: Span { start: Position { line: 205, column: 7, }, end: Position { line: 205, column: 31, }, }, }, ), ], span: Span { start: Position { line: 203, column: 62, }, end: Position { line: 206, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 208, column: 5, }, end: Position { line: 208, column: 16, }, }, }, ), Raw( PartRaw { content: "shells", span: Span { start: Position { line: 208, column: 17, }, end: Position { line: 208, column: 23, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/run/current-system/sw/bin/bash", span: Span { start: Position { line: 209, column: 10, }, end: Position { line: 209, column: 41, }, }, }, ), ], span: Span { start: Position { line: 209, column: 9, }, end: Position { line: 209, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/run/current-system/sw/bin/sh", span: Span { start: Position { line: 210, column: 10, }, end: Position { line: 210, column: 39, }, }, }, ), ], span: Span { start: Position { line: 210, column: 9, }, end: Position { line: 210, column: 40, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 211, column: 12, }, end: Position { line: 211, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bashInteractive", span: Span { start: Position { line: 211, column: 17, }, end: Position { line: 211, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/bash", span: Span { start: Position { line: 211, column: 10, }, end: Position { line: 211, column: 42, }, }, }, ), ], span: Span { start: Position { line: 211, column: 9, }, end: Position { line: 211, column: 43, }, }, }, ), String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 212, column: 12, }, end: Position { line: 212, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bashInteractive", span: Span { start: Position { line: 212, column: 17, }, end: Position { line: 212, column: 32, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/sh", span: Span { start: Position { line: 212, column: 10, }, end: Position { line: 212, column: 40, }, }, }, ), ], span: Span { start: Position { line: 212, column: 9, }, end: Position { line: 212, column: 41, }, }, }, ), ], span: Span { start: Position { line: 209, column: 7, }, end: Position { line: 213, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 114, column: 34, }, end: Position { line: 215, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 217, column: 2, }, }, }, ), span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 217, column: 2, }, }, }, ), span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 217, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 217, column: 2, }, }, }, )