---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: With {
  expression: Variable {
   identifier: "lib",
   position: (3, 6),
  },
  target: LetIn {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "enable",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 12),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "programs",
         position: (6, 19),
        },
        Raw {
         content: "bash",
         position: (6, 28),
        },
        Raw {
         content: "enableLsColors",
         position: (6, 33),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (9, 3),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "programs",
            position: (10, 5),
           },
           Raw {
            content: "bash",
            position: (10, 14),
           },
           Raw {
            content: "enableLsColors",
            position: (10, 19),
           },
          ],
         },
         BinaryOperation {
          operator: Update,
          operands: [
           FunctionApplication {
            function: Variable {
             identifier: "mkEnableOption",
             position: (10, 36),
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "extra colors in directory listings",
                position: (10, 52),
               },
              ],
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "default",
                 position: (11, 7),
                },
               ],
              },
              Variable {
               identifier: "true",
               position: (11, 17),
              },
             ),
            ],
            recursive: false,
            position: (10, 91),
           },
          ],
          position: (10, 88),
         },
        ),
       ],
       recursive: false,
       position: (9, 13),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (15, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (15, 12),
       },
       arguments: [
        Variable {
         identifier: "enable",
         position: (15, 17),
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "programs",
              position: (16, 5),
             },
             Raw {
              content: "bash",
              position: (16, 14),
             },
             Raw {
              content: "promptPluginInit",
              position: (16, 19),
             },
            ],
           },
           String {
            parts: [
             Raw {
              content: "eval \"$(",
              position: (17, 1),
             },
             Expression {
              expression: PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (17, 17),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "coreutils",
                  position: (17, 22),
                 },
                ],
               },
               default: None,
              },
             },
             Raw {
              content: "/bin/dircolors -b)\"\n",
              position: (17, 32),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (15, 24),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (8, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}