---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (7, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "environment",
           position: (9, 5),
          },
          Raw {
           content: "enableDebugInfo",
           position: (9, 17),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "mkOption",
          position: (9, 35),
         },
         arguments: [
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "type",
                position: (10, 7),
               },
              ],
             },
             PropertyAccess {
              expression: Variable {
               identifier: "types",
               position: (10, 14),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "bool",
                 position: (10, 20),
                },
               ],
              },
              default: None,
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "default",
                position: (11, 7),
               },
              ],
             },
             Variable {
              identifier: "false",
              position: (11, 17),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "description",
                position: (12, 7),
               },
              ],
             },
             String {
              parts: [
               Raw {
                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 <filename>/run/current-system/sw/lib/debug/.build-id</filename>,\nwhere tools such as <command>gdb</command> 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<programlisting>\nnixpkgs.config.packageOverrides = pkgs: {\n  hello = pkgs.hello.overrideAttrs (oldAttrs: {\n    separateDebugInfo = true;\n  });\n};\n</programlisting>\n",
                position: (13, 1),
               },
              ],
             },
            ),
           ],
           recursive: false,
           position: (9, 44),
          },
         ],
        },
       ),
      ],
      recursive: false,
      position: (7, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (33, 3),
       },
      ],
     },
     FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (33, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (33, 17),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "environment",
           position: (33, 24),
          },
          Raw {
           content: "enableDebugInfo",
           position: (33, 36),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (39, 5),
            },
            Raw {
             content: "extraOutputsToInstall",
             position: (39, 17),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "debug",
               position: (39, 44),
              },
             ],
            },
           ],
           position: (39, 41),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (41, 5),
            },
            Raw {
             content: "variables",
             position: (41, 17),
            },
            Raw {
             content: "NIX_DEBUG_INFO_DIRS",
             position: (41, 27),
            },
           ],
          },
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "/run/current-system/sw/lib/debug",
               position: (41, 52),
              },
             ],
            },
           ],
           position: (41, 49),
          },
         ),
        ],
        recursive: false,
        position: (33, 52),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}