---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "pkgs",
    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: "prg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "programs",
         position: (6, 16),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "cfg",
        position: (7, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "prg",
       position: (7, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "bash-my-aws",
         position: (7, 13),
        },
       ],
      },
      default: None,
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "initScript",
        position: (9, 3),
       },
      ],
     },
     String {
      parts: [
       Raw {
        content: "eval $(",
        position: (10, 1),
       },
       Expression {
        expression: PropertyAccess {
         expression: Variable {
          identifier: "pkgs",
          position: (10, 14),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "bash-my-aws",
            position: (10, 19),
           },
          ],
         },
         default: None,
        },
       },
       Raw {
        content: "/bin/bma-init)\n",
        position: (10, 31),
       },
      ],
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (14, 5),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "programs",
            position: (15, 7),
           },
           Raw {
            content: "bash-my-aws",
            position: (15, 16),
           },
          ],
         },
         Map {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "enable",
               position: (16, 9),
              },
             ],
            },
            FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (16, 18),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "bash-my-aws",
                 position: (16, 34),
                },
               ],
              },
             ],
            },
           ),
          ],
          recursive: false,
          position: (15, 30),
         },
        ),
       ],
       recursive: false,
       position: (14, 15),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (20, 5),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (20, 14),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (20, 19),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (20, 23),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (21, 7),
             },
             Raw {
              content: "systemPackages",
              position: (21, 19),
             },
            ],
           },
           With {
            expression: Variable {
             identifier: "pkgs",
             position: (21, 41),
            },
            target: List {
             elements: [
              Variable {
               identifier: "bash-my-aws",
               position: (21, 49),
              },
             ],
             position: (21, 47),
            },
            position: (21, 36),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "programs",
              position: (23, 7),
             },
             Raw {
              content: "bash",
              position: (23, 16),
             },
             Raw {
              content: "interactiveShellInit",
              position: (23, 21),
             },
            ],
           },
           Variable {
            identifier: "initScript",
            position: (23, 44),
           },
          ),
         ],
         recursive: false,
         position: (20, 30),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (13, 3),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}