---
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: "cfg",
        position: (6, 3),
       },
      ],
     },
     PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (6, 9),
      },
      attribute_path: AttributePath {
       attributes: [
        Raw {
         content: "programs",
         position: (6, 16),
        },
        Raw {
         content: "liboping",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    ),
   ],
   target: Map {
    bindings: [
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "options",
         position: (8, 3),
        },
        Raw {
         content: "programs",
         position: (8, 11),
        },
        Raw {
         content: "liboping",
         position: (8, 20),
        },
       ],
      },
      Map {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (9, 5),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "mkEnableOption",
           position: (9, 14),
          },
          arguments: [
           String {
            parts: [
             Raw {
              content: "liboping",
              position: (9, 30),
             },
            ],
           },
          ],
         },
        ),
       ],
       recursive: false,
       position: (8, 31),
      },
     ),
     KeyValue(
      AttributePath {
       attributes: [
        Raw {
         content: "config",
         position: (11, 3),
        },
       ],
      },
      FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (11, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (11, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "enable",
            position: (11, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "environment",
              position: (12, 5),
             },
             Raw {
              content: "systemPackages",
              position: (12, 17),
             },
            ],
           },
           With {
            expression: Variable {
             identifier: "pkgs",
             position: (12, 39),
            },
            target: List {
             elements: [
              Variable {
               identifier: "liboping",
               position: (12, 47),
              },
             ],
             position: (12, 45),
            },
            position: (12, 34),
           },
          ),
          KeyValue(
           AttributePath {
            attributes: [
             Raw {
              content: "security",
              position: (13, 5),
             },
             Raw {
              content: "wrappers",
              position: (13, 14),
             },
            ],
           },
           FunctionApplication {
            function: Variable {
             identifier: "mkMerge",
             position: (13, 25),
            },
            arguments: [
             FunctionApplication {
              function: Variable {
               identifier: "map",
               position: (13, 34),
              },
              arguments: [
               Function {
                argument: Some(
                 "exec",
                ),
                arguments: FunctionArguments {
                 arguments: [],
                 ellipsis: false,
                },
                definition: Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Expression {
                      expression: String {
                       parts: [
                        Expression {
                         expression: Variable {
                          identifier: "exec",
                          position: (15, 12),
                         },
                        },
                       ],
                      },
                     },
                    ],
                   },
                   Map {
                    bindings: [
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "owner",
                         position: (16, 11),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "root",
                         position: (16, 20),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "group",
                         position: (17, 11),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "root",
                         position: (17, 20),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "capabilities",
                         position: (18, 11),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Raw {
                         content: "cap_net_raw+p",
                         position: (18, 27),
                        },
                       ],
                      },
                     ),
                     KeyValue(
                      AttributePath {
                       attributes: [
                        Raw {
                         content: "source",
                         position: (19, 11),
                        },
                       ],
                      },
                      String {
                       parts: [
                        Expression {
                         expression: PropertyAccess {
                          expression: Variable {
                           identifier: "pkgs",
                           position: (19, 23),
                          },
                          attribute_path: AttributePath {
                           attributes: [
                            Raw {
                             content: "liboping",
                             position: (19, 28),
                            },
                           ],
                          },
                          default: None,
                         },
                        },
                        Raw {
                         content: "/bin/",
                         position: (19, 37),
                        },
                        Expression {
                         expression: Variable {
                          identifier: "exec",
                          position: (19, 44),
                         },
                        },
                       ],
                      },
                     ),
                    ],
                    recursive: false,
                    position: (15, 21),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (14, 13),
                },
                position: (14, 7),
               },
               List {
                elements: [
                 String {
                  parts: [
                   Raw {
                    content: "oping",
                    position: (22, 10),
                   },
                  ],
                 },
                 String {
                  parts: [
                   Raw {
                    content: "noping",
                    position: (22, 18),
                   },
                  ],
                 },
                ],
                position: (22, 7),
               },
              ],
             },
            ],
           },
          ),
         ],
         recursive: false,
         position: (11, 28),
        },
       ],
      },
     ),
    ],
    recursive: false,
    position: (7, 4),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}