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