Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", 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: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 16, }, }, }, ), Raw( PartRaw { content: "enableDebugInfo", span: Span { start: Position { line: 9, column: 17, }, end: Position { line: 9, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 9, column: 35, }, end: Position { line: 9, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 10, column: 7, }, end: Position { line: 10, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 10, column: 20, }, end: Position { line: 10, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 11, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 12, column: 21, }, end: Position { line: 12, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Some NixOS packages provide debug symbols. However, these are\nnot included in the system closure by default to save disk\nspace. Enabling this option causes the debug symbols to appear\nin {file}`/run/current-system/sw/lib/debug/.build-id`,\nwhere tools such as {command}`gdb` can find them.\nIf you need debug symbols for a package that doesn't\nprovide them by default, you can enable them as follows:\n\n nixpkgs.config.packageOverrides = pkgs: {\n hello = pkgs.hello.overrideAttrs (oldAttrs: {\n separateDebugInfo = true;\n });\n };\n", span: Span { start: Position { line: 13, column: 1, }, end: Position { line: 26, column: 7, }, }, }, ), ], span: Span { start: Position { line: 12, column: 27, }, end: Position { line: 26, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 44, }, end: Position { line: 27, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 29, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 32, column: 3, }, end: Position { line: 32, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 32, column: 12, }, end: Position { line: 32, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 32, column: 24, }, end: Position { line: 32, column: 35, }, }, }, ), Raw( PartRaw { content: "enableDebugInfo", span: Span { start: Position { line: 32, column: 36, }, end: Position { line: 32, column: 51, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 38, column: 5, }, end: Position { line: 38, column: 16, }, }, }, ), Raw( PartRaw { content: "extraOutputsToInstall", span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 38, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "debug", span: Span { start: Position { line: 38, column: 44, }, end: Position { line: 38, column: 49, }, }, }, ), ], span: Span { start: Position { line: 38, column: 43, }, end: Position { line: 38, column: 50, }, }, }, ), ], span: Span { start: Position { line: 38, column: 41, }, end: Position { line: 38, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 40, column: 16, }, }, }, ), Raw( PartRaw { content: "variables", span: Span { start: Position { line: 40, column: 17, }, end: Position { line: 40, column: 26, }, }, }, ), Raw( PartRaw { content: "NIX_DEBUG_INFO_DIRS", span: Span { start: Position { line: 40, column: 27, }, end: Position { line: 40, column: 46, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/run/current-system/sw/lib/debug", span: Span { start: Position { line: 40, column: 52, }, end: Position { line: 40, column: 84, }, }, }, ), ], span: Span { start: Position { line: 40, column: 51, }, end: Position { line: 40, column: 85, }, }, }, ), ], span: Span { start: Position { line: 40, column: 49, }, end: Position { line: 40, column: 87, }, }, }, ), }, ), ], span: Span { start: Position { line: 32, column: 52, }, end: Position { line: 42, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 44, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 44, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 44, column: 2, }, }, }, )