---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "pkgs",
    default: None,
   },
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
   FunctionArgument {
    identifier: "config",
    default: None,
   },
  ],
  ellipsis: true,
 },
 definition: LetIn {
  bindings: [
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "cfg",
       position: (4, 3),
      },
     ],
    },
    PropertyAccess {
     expression: Variable {
      identifier: "config",
      position: (4, 9),
     },
     attribute_path: AttributePath {
      attributes: [
       Raw {
        content: "services",
        position: (4, 16),
       },
       Raw {
        content: "blackfire-agent",
        position: (4, 25),
       },
      ],
     },
     default: None,
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "agentConfigFile",
       position: (6, 3),
      },
     ],
    },
    FunctionApplication {
     function: PropertyAccess {
      expression: Variable {
       identifier: "lib",
       position: (6, 21),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "generators",
         position: (6, 25),
        },
        Raw {
         content: "toINI",
         position: (6, 36),
        },
       ],
      },
      default: None,
     },
     arguments: [
      Map {
       bindings: [],
       recursive: false,
       position: (6, 42),
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "blackfire",
            position: (7, 5),
           },
          ],
         },
         PropertyAccess {
          expression: Variable {
           identifier: "cfg",
           position: (7, 18),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "settings",
             position: (7, 22),
            },
           ],
          },
          default: None,
         },
        ),
       ],
       recursive: false,
       position: (6, 45),
      },
     ],
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "agentSock",
       position: (10, 3),
      },
     ],
    },
    String {
     parts: [
      Raw {
       content: "blackfire/agent.sock",
       position: (10, 16),
      },
     ],
    },
   ),
  ],
  target: Map {
   bindings: [
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "meta",
        position: (12, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "maintainers",
           position: (13, 5),
          },
         ],
        },
        PropertyAccess {
         expression: Variable {
          identifier: "pkgs",
          position: (13, 19),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "blackfire",
            position: (13, 24),
           },
           Raw {
            content: "meta",
            position: (13, 34),
           },
           Raw {
            content: "maintainers",
            position: (13, 39),
           },
          ],
         },
         default: None,
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "doc",
           position: (14, 5),
          },
         ],
        },
        Path {
         parts: [
          Raw {
           content: "./blackfire.xml",
           position: (14, 11),
          },
         ],
        },
       ),
      ],
      recursive: false,
      position: (12, 10),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "options",
        position: (17, 3),
       },
      ],
     },
     Map {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "services",
           position: (18, 5),
          },
          Raw {
           content: "blackfire-agent",
           position: (18, 14),
          },
         ],
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "enable",
              position: (19, 7),
             },
            ],
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (19, 16),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "mkEnableOption",
                position: (19, 20),
               },
              ],
             },
             default: None,
            },
            arguments: [
             String {
              parts: [
               Raw {
                content: "Blackfire profiler agent",
                position: (19, 36),
               },
              ],
             },
            ],
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "settings",
              position: (20, 7),
             },
            ],
           },
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (20, 18),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "mkOption",
                position: (20, 22),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Map {
              bindings: [
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "description",
                   position: (21, 9),
                  },
                 ],
                },
                String {
                 parts: [
                  Raw {
                   content: "See https://blackfire.io/docs/up-and-running/configuration/agent\n",
                   position: (22, 1),
                  },
                 ],
                },
               ),
               KeyValue(
                AttributePath {
                 attributes: [
                  Raw {
                   content: "type",
                   position: (24, 9),
                  },
                 ],
                },
                FunctionApplication {
                 function: PropertyAccess {
                  expression: Variable {
                   identifier: "lib",
                   position: (24, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "types",
                     position: (24, 20),
                    },
                    Raw {
                     content: "submodule",
                     position: (24, 26),
                    },
                   ],
                  },
                  default: None,
                 },
                 arguments: [
                  Map {
                   bindings: [
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "freeformType",
                        position: (25, 11),
                       },
                      ],
                     },
                     With {
                      expression: PropertyAccess {
                       expression: Variable {
                        identifier: "lib",
                        position: (25, 31),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "types",
                          position: (25, 35),
                         },
                        ],
                       },
                       default: None,
                      },
                      target: FunctionApplication {
                       function: Variable {
                        identifier: "attrsOf",
                        position: (25, 42),
                       },
                       arguments: [
                        Variable {
                         identifier: "str",
                         position: (25, 50),
                        },
                       ],
                      },
                      position: (25, 26),
                     },
                    ),
                    KeyValue(
                     AttributePath {
                      attributes: [
                       Raw {
                        content: "options",
                        position: (27, 11),
                       },
                      ],
                     },
                     Map {
                      bindings: [
                       KeyValue(
                        AttributePath {
                         attributes: [
                          Raw {
                           content: "server-id",
                           position: (28, 13),
                          },
                         ],
                        },
                        FunctionApplication {
                         function: PropertyAccess {
                          expression: Variable {
                           identifier: "lib",
                           position: (28, 25),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "mkOption",
                             position: (28, 29),
                            },
                           ],
                          },
                          default: None,
                         },
                         arguments: [
                          Map {
                           bindings: [
                            KeyValue(
                             AttributePath {
                              attributes: [
                               Raw {
                                content: "type",
                                position: (29, 15),
                               },
                              ],
                             },
                             PropertyAccess {
                              expression: Variable {
                               identifier: "lib",
                               position: (29, 22),
                              },
                              attribute_path: AttributePath {
                               attributes: [
                                Raw {
                                 content: "types",
                                 position: (29, 26),
                                },
                                Raw {
                                 content: "str",
                                 position: (29, 32),
                                },
                               ],
                              },
                              default: None,
                             },
                            ),
                            KeyValue(
                             AttributePath {
                              attributes: [
                               Raw {
                                content: "description",
                                position: (30, 15),
                               },
                              ],
                             },
                             String {
                              parts: [
                               Raw {
                                content: "Sets the server id used to authenticate with Blackfire\n\nYou can find your personal server-id at https://blackfire.io/my/settings/credentials\n",
                                position: (31, 1),
                               },
                              ],
                             },
                            ),
                           ],
                           recursive: false,
                           position: (28, 38),
                          },
                         ],
                        },
                       ),
                       KeyValue(
                        AttributePath {
                         attributes: [
                          Raw {
                           content: "server-token",
                           position: (37, 13),
                          },
                         ],
                        },
                        FunctionApplication {
                         function: PropertyAccess {
                          expression: Variable {
                           identifier: "lib",
                           position: (37, 28),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "mkOption",
                             position: (37, 32),
                            },
                           ],
                          },
                          default: None,
                         },
                         arguments: [
                          Map {
                           bindings: [
                            KeyValue(
                             AttributePath {
                              attributes: [
                               Raw {
                                content: "type",
                                position: (38, 15),
                               },
                              ],
                             },
                             PropertyAccess {
                              expression: Variable {
                               identifier: "lib",
                               position: (38, 22),
                              },
                              attribute_path: AttributePath {
                               attributes: [
                                Raw {
                                 content: "types",
                                 position: (38, 26),
                                },
                                Raw {
                                 content: "str",
                                 position: (38, 32),
                                },
                               ],
                              },
                              default: None,
                             },
                            ),
                            KeyValue(
                             AttributePath {
                              attributes: [
                               Raw {
                                content: "description",
                                position: (39, 15),
                               },
                              ],
                             },
                             String {
                              parts: [
                               Raw {
                                content: "Sets the server token used to authenticate with Blackfire\n\nYou can find your personal server-token at https://blackfire.io/my/settings/credentials\n",
                                position: (40, 1),
                               },
                              ],
                             },
                            ),
                           ],
                           recursive: false,
                           position: (37, 41),
                          },
                         ],
                        },
                       ),
                      ],
                      recursive: false,
                      position: (27, 21),
                     },
                    ),
                   ],
                   recursive: false,
                   position: (24, 36),
                  },
                 ],
                },
               ),
              ],
              recursive: false,
              position: (20, 31),
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (18, 32),
        },
       ),
      ],
      recursive: false,
      position: (17, 13),
     },
    ),
    KeyValue(
     AttributePath {
      attributes: [
       Raw {
        content: "config",
        position: (51, 3),
       },
      ],
     },
     FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "lib",
        position: (51, 12),
       },
       attribute_path: AttributePath {
        attributes: [
         Raw {
          content: "mkIf",
          position: (51, 16),
         },
        ],
       },
       default: None,
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (51, 21),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "enable",
           position: (51, 25),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "environment",
             position: (52, 5),
            },
            Raw {
             content: "etc",
             position: (52, 17),
            },
            Expression {
             expression: String {
              parts: [
               Raw {
                content: "blackfire/agent",
                position: (52, 22),
               },
              ],
             },
            },
            Raw {
             content: "text",
             position: (52, 39),
            },
           ],
          },
          Variable {
           identifier: "agentConfigFile",
           position: (52, 46),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "services",
             position: (54, 5),
            },
            Raw {
             content: "blackfire-agent",
             position: (54, 14),
            },
            Raw {
             content: "settings",
             position: (54, 30),
            },
            Raw {
             content: "socket",
             position: (54, 39),
            },
           ],
          },
          String {
           parts: [
            Raw {
             content: "unix:///run/",
             position: (54, 49),
            },
            Expression {
             expression: Variable {
              identifier: "agentSock",
              position: (54, 63),
             },
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "systemd",
             position: (56, 5),
            },
            Raw {
             content: "packages",
             position: (56, 13),
            },
           ],
          },
          List {
           elements: [
            PropertyAccess {
             expression: Variable {
              identifier: "pkgs",
              position: (57, 7),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "blackfire",
                position: (57, 12),
               },
              ],
             },
             default: None,
            },
           ],
           position: (56, 24),
          },
         ),
        ],
        recursive: false,
        position: (51, 32),
       },
      ],
     },
    ),
   ],
   recursive: false,
   position: (11, 4),
  },
  position: (3, 1),
 },
 position: (1, 1),
}