---
Function {
 argument: Destructured {
  identifier: None,
  arguments: [
   DestructuredArgument {
    identifier: "config",
    default: None,
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: None,
   },
   DestructuredArgument {
    identifier: "lib",
    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: "services",
         position: (6, 16),
        },
        Raw {
         content: "collectd",
         position: (6, 25),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "baseDirLine",
        position: (8, 3),
       },
      ],
     },
     to: String {
      parts: [
       Raw {
        content: "BaseDir \"",
        position: (8, 19),
       },
       Expression {
        expression: PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (8, 30),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "dataDir",
            position: (8, 34),
           },
          ],
         },
         default: None,
        },
       },
       Raw {
        content: "\"",
        position: (8, 42),
       },
      ],
      position: (8, 17),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "unvalidated_conf",
        position: (9, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (9, 22),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "writeText",
          position: (9, 27),
         },
        ],
       },
       default: None,
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "collectd-unvalidated.conf",
          position: (9, 38),
         },
        ],
        position: (9, 37),
       },
       PropertyAccess {
        expression: Variable {
         identifier: "cfg",
         position: (9, 65),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "extraConfig",
           position: (9, 69),
          },
         ],
        },
        default: None,
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "conf",
        position: (11, 3),
       },
      ],
     },
     to: IfThenElse {
      predicate: PropertyAccess {
       expression: Variable {
        identifier: "cfg",
        position: (11, 13),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "validateConfig",
          position: (11, 17),
         },
        ],
       },
       default: None,
      },
      then: FunctionApplication {
       function: PropertyAccess {
        expression: Variable {
         identifier: "pkgs",
         position: (12, 5),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "runCommand",
           position: (12, 10),
          },
         ],
        },
        default: None,
       },
       arguments: [
        String {
         parts: [
          Raw {
           content: "collectd.conf",
           position: (12, 22),
          },
         ],
         position: (12, 21),
        },
        Map {
         bindings: [],
         recursive: false,
         position: (12, 37),
        },
        String {
         parts: [
          Raw {
           content: "echo testing ",
           position: (13, 1),
          },
          Expression {
           expression: Variable {
            identifier: "unvalidated_conf",
            position: (13, 22),
           },
          },
          Raw {
           content: "\ncp ",
           position: (13, 39),
          },
          Expression {
           expression: Variable {
            identifier: "unvalidated_conf",
            position: (14, 12),
           },
          },
          Raw {
           content: " collectd.conf\n# collectd -t fails if BaseDir does not exist.\nsubstituteInPlace collectd.conf --replace ",
           position: (14, 29),
          },
          Expression {
           expression: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (16, 51),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "escapeShellArgs",
                position: (16, 55),
               },
              ],
             },
             default: None,
            },
            arguments: [
             List {
              elements: [
               Variable {
                identifier: "baseDirLine",
                position: (16, 73),
               },
              ],
              position: (16, 71),
             },
            ],
           },
          },
          Raw {
           content: " 'BaseDir \".\"'\n",
           position: (16, 87),
          },
          Expression {
           expression: Variable {
            identifier: "package",
            position: (17, 9),
           },
          },
          Raw {
           content: "/bin/collectd -t -C collectd.conf\ncp ",
           position: (17, 17),
          },
          Expression {
           expression: Variable {
            identifier: "unvalidated_conf",
            position: (18, 12),
           },
          },
          Raw {
           content: " $out\n",
           position: (18, 29),
          },
         ],
         position: (12, 40),
        },
       ],
      },
      else_: Variable {
       identifier: "unvalidated_conf",
       position: (19, 13),
      },
      position: (11, 10),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "package",
        position: (21, 3),
       },
      ],
     },
     to: IfThenElse {
      predicate: PropertyAccess {
       expression: Variable {
        identifier: "cfg",
        position: (22, 8),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "buildMinimalPackage",
          position: (22, 12),
         },
        ],
       },
       default: None,
      },
      then: Variable {
       identifier: "minimalPackage",
       position: (23, 10),
      },
      else_: PropertyAccess {
       expression: Variable {
        identifier: "cfg",
        position: (24, 10),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "package",
          position: (24, 14),
         },
        ],
       },
       default: None,
      },
      position: (22, 5),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "minimalPackage",
        position: (26, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "cfg",
        position: (26, 20),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "package",
          position: (26, 24),
         },
         Raw {
          content: "override",
          position: (26, 32),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "enabledPlugins",
             position: (27, 5),
            },
           ],
          },
          to: BinaryOperation {
           operator: Concatenation,
           operands: [
            List {
             elements: [
              String {
               parts: [
                Raw {
                 content: "syslog",
                 position: (27, 25),
                },
               ],
               position: (27, 24),
              },
             ],
             position: (27, 22),
            },
            FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "builtins",
               position: (27, 38),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "attrNames",
                 position: (27, 47),
                },
               ],
              },
              default: None,
             },
             arguments: [
              PropertyAccess {
               expression: Variable {
                identifier: "cfg",
                position: (27, 57),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "plugins",
                  position: (27, 61),
                 },
                ],
               },
               default: None,
              },
             ],
            },
           ],
           position: (27, 35),
          },
         },
        ],
        recursive: false,
        position: (26, 41),
       },
      ],
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (31, 3),
        },
        Raw {
         content: "services",
         position: (31, 11),
        },
        Raw {
         content: "collectd",
         position: (31, 20),
        },
       ],
      },
      to: With {
       expression: Variable {
        identifier: "types",
        position: (31, 36),
       },
       target: Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "enable",
             position: (32, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkEnableOption",
            position: (32, 14),
           },
           arguments: [
            String {
             parts: [
              Raw {
               content: "collectd agent",
               position: (32, 30),
              },
             ],
             position: (32, 29),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "validateConfig",
             position: (34, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (34, 22),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (35, 7),
                 },
                ],
               },
               to: Variable {
                identifier: "true",
                position: (35, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (36, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Validate the syntax of collectd configuration file at build time.\nDisable this if you use the Include directive on files unavailable in\nthe build sandbox, or when cross-compiling.\n",
                  position: (37, 1),
                 },
                ],
                position: (36, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (41, 7),
                 },
                ],
               },
               to: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (41, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "bool",
                   position: (41, 20),
                  },
                 ],
                },
                default: None,
               },
              },
             ],
             recursive: false,
             position: (34, 31),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "package",
             position: (44, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (44, 15),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (45, 7),
                 },
                ],
               },
               to: PropertyAccess {
                expression: Variable {
                 identifier: "pkgs",
                 position: (45, 17),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "collectd",
                   position: (45, 22),
                  },
                 ],
                },
                default: None,
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "defaultText",
                  position: (46, 7),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "literalExpression",
                 position: (46, 21),
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "pkgs.collectd",
                    position: (46, 40),
                   },
                  ],
                  position: (46, 39),
                 },
                ],
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (47, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Which collectd package to use.\n",
                  position: (48, 1),
                 },
                ],
                position: (47, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (50, 7),
                 },
                ],
               },
               to: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (50, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "package",
                   position: (50, 20),
                  },
                 ],
                },
                default: None,
               },
              },
             ],
             recursive: false,
             position: (44, 24),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "buildMinimalPackage",
             position: (53, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (53, 27),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (54, 7),
                 },
                ],
               },
               to: Variable {
                identifier: "false",
                position: (54, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (55, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Build a minimal collectd package with only the configured `services.collectd.plugins`\n",
                  position: (56, 1),
                 },
                ],
                position: (55, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (58, 7),
                 },
                ],
               },
               to: Variable {
                identifier: "bool",
                position: (58, 14),
               },
              },
             ],
             recursive: false,
             position: (53, 36),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "user",
             position: (61, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (61, 12),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (62, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "collectd",
                  position: (62, 18),
                 },
                ],
                position: (62, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (63, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "User under which to run collectd.\n",
                  position: (64, 1),
                 },
                ],
                position: (63, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (66, 7),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "nullOr",
                 position: (66, 14),
                },
                arguments: [
                 Variable {
                  identifier: "str",
                  position: (66, 21),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (61, 21),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "dataDir",
             position: (69, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (69, 15),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (70, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "/var/lib/collectd",
                  position: (70, 18),
                 },
                ],
                position: (70, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (71, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Data directory for collectd agent.\n",
                  position: (72, 1),
                 },
                ],
                position: (71, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (74, 7),
                 },
                ],
               },
               to: Variable {
                identifier: "path",
                position: (74, 14),
               },
              },
             ],
             recursive: false,
             position: (69, 24),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "autoLoadPlugin",
             position: (77, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (77, 22),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (78, 7),
                 },
                ],
               },
               to: Variable {
                identifier: "false",
                position: (78, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (79, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Enable plugin autoloading.\n",
                  position: (80, 1),
                 },
                ],
                position: (79, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (82, 7),
                 },
                ],
               },
               to: Variable {
                identifier: "bool",
                position: (82, 14),
               },
              },
             ],
             recursive: false,
             position: (77, 31),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "include",
             position: (85, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (85, 15),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (86, 7),
                 },
                ],
               },
               to: List {
                elements: [],
                position: (86, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (87, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Additional paths to load config from.\n",
                  position: (88, 1),
                 },
                ],
                position: (87, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (90, 7),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "listOf",
                 position: (90, 14),
                },
                arguments: [
                 Variable {
                  identifier: "str",
                  position: (90, 21),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (85, 24),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "plugins",
             position: (93, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (93, 15),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (94, 7),
                 },
                ],
               },
               to: Map {
                bindings: [],
                recursive: false,
                position: (94, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "example",
                  position: (95, 7),
                 },
                ],
               },
               to: Map {
                bindings: [
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "cpu",
                     position: (95, 19),
                    },
                   ],
                  },
                  to: String {
                   parts: [],
                   position: (95, 25),
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "memory",
                     position: (95, 29),
                    },
                   ],
                  },
                  to: String {
                   parts: [],
                   position: (95, 38),
                  },
                 },
                 Binding {
                  from: AttributePath {
                   parts: [
                    Raw {
                     content: "network",
                     position: (95, 42),
                    },
                   ],
                  },
                  to: String {
                   parts: [
                    Raw {
                     content: "Server 192.168.1.1 25826",
                     position: (95, 53),
                    },
                   ],
                   position: (95, 52),
                  },
                 },
                ],
                recursive: false,
                position: (95, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (96, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Attribute set of plugin names to plugin config segments\n",
                  position: (97, 1),
                 },
                ],
                position: (96, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (99, 7),
                 },
                ],
               },
               to: FunctionApplication {
                function: Variable {
                 identifier: "attrsOf",
                 position: (99, 14),
                },
                arguments: [
                 Variable {
                  identifier: "lines",
                  position: (99, 22),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (93, 24),
            },
           ],
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "extraConfig",
             position: (102, 5),
            },
           ],
          },
          to: FunctionApplication {
           function: Variable {
            identifier: "mkOption",
            position: (102, 19),
           },
           arguments: [
            Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "default",
                  position: (103, 7),
                 },
                ],
               },
               to: String {
                parts: [],
                position: (103, 17),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "description",
                  position: (104, 7),
                 },
                ],
               },
               to: String {
                parts: [
                 Raw {
                  content: "Extra configuration for collectd. Use mkBefore to add lines before the\ndefault config, and mkAfter to add them below.\n",
                  position: (105, 1),
                 },
                ],
                position: (104, 21),
               },
              },
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "type",
                  position: (108, 7),
                 },
                ],
               },
               to: Variable {
                identifier: "lines",
                position: (108, 14),
               },
              },
             ],
             recursive: false,
             position: (102, 28),
            },
           ],
          },
         },
        ],
        recursive: false,
        position: (31, 43),
       },
       position: (31, 31),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (113, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (113, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "cfg",
          position: (113, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "enable",
            position: (113, 21),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "services",
              position: (115, 5),
             },
             Raw {
              content: "collectd",
              position: (115, 14),
             },
             Raw {
              content: "extraConfig",
              position: (115, 23),
             },
            ],
           },
           to: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (115, 37),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "mkOrder",
                position: (115, 41),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Int {
              value: 1200,
              position: (115, 49),
             },
             String {
              parts: [
               Raw {
                content: "",
                position: (116, 1),
               },
               Expression {
                expression: Variable {
                 identifier: "baseDirLine",
                 position: (116, 9),
                },
               },
               Raw {
                content: "\nAutoLoadPlugin ",
                position: (116, 21),
               },
               Expression {
                expression: FunctionApplication {
                 function: Variable {
                  identifier: "boolToString",
                  position: (117, 24),
                 },
                 arguments: [
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (117, 37),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "autoLoadPlugin",
                      position: (117, 41),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
               },
               Raw {
                content: "\nHostname \"",
                position: (117, 56),
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (118, 19),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "networking",
                    position: (118, 26),
                   },
                   Raw {
                    content: "hostName",
                    position: (118, 37),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: "\"\n\nLoadPlugin syslog\n<Plugin \"syslog\">\n  LogLevel \"info\"\n  NotifyLevel \"OKAY\"\n</Plugin>\n\n",
                position: (118, 46),
               },
               Expression {
                expression: FunctionApplication {
                 function: Variable {
                  identifier: "concatStrings",
                  position: (126, 9),
                 },
                 arguments: [
                  Parentheses {
                   expression: FunctionApplication {
                    function: Variable {
                     identifier: "mapAttrsToList",
                     position: (126, 24),
                    },
                    arguments: [
                     Parentheses {
                      expression: Function {
                       argument: Simple {
                        identifier: "plugin",
                       },
                       definition: Function {
                        argument: Simple {
                         identifier: "pluginConfig",
                        },
                        definition: String {
                         parts: [
                          Raw {
                           content: "LoadPlugin ",
                           position: (127, 1),
                          },
                          Expression {
                           expression: Variable {
                            identifier: "plugin",
                            position: (127, 22),
                           },
                          },
                          Raw {
                           content: "\n<Plugin \"",
                           position: (127, 29),
                          },
                          Expression {
                           expression: Variable {
                            identifier: "plugin",
                            position: (128, 20),
                           },
                          },
                          Raw {
                           content: "\">\n",
                           position: (128, 27),
                          },
                          Expression {
                           expression: Variable {
                            identifier: "pluginConfig",
                            position: (129, 11),
                           },
                          },
                          Raw {
                           content: "\n</Plugin>\n",
                           position: (129, 24),
                          },
                         ],
                         position: (126, 62),
                        },
                        position: (126, 48),
                       },
                       position: (126, 40),
                      },
                      position: (126, 39),
                     },
                     PropertyAccess {
                      expression: Variable {
                       identifier: "cfg",
                       position: (131, 11),
                      },
                      attribute_path: AttributePath {
                       parts: [
                        Raw {
                         content: "plugins",
                         position: (131, 15),
                        },
                       ],
                      },
                      default: None,
                     },
                    ],
                   },
                   position: (126, 23),
                  },
                 ],
                },
               },
               Raw {
                content: "\n\n",
                position: (131, 24),
               },
               Expression {
                expression: FunctionApplication {
                 function: Variable {
                  identifier: "concatMapStrings",
                  position: (133, 9),
                 },
                 arguments: [
                  Parentheses {
                   expression: Function {
                    argument: Simple {
                     identifier: "f",
                    },
                    definition: String {
                     parts: [
                      Raw {
                       content: "Include \"",
                       position: (134, 1),
                      },
                      Expression {
                       expression: Variable {
                        identifier: "f",
                        position: (134, 20),
                       },
                      },
                      Raw {
                       content: "\"\n",
                       position: (134, 22),
                      },
                     ],
                     position: (133, 30),
                    },
                    position: (133, 27),
                   },
                   position: (133, 26),
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "cfg",
                    position: (135, 11),
                   },
                   attribute_path: AttributePath {
                    parts: [
                     Raw {
                      content: "include",
                      position: (135, 15),
                     },
                    ],
                   },
                   default: None,
                  },
                 ],
                },
               },
               Raw {
                content: "\n",
                position: (135, 23),
               },
              ],
              position: (115, 54),
             },
            ],
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (138, 5),
             },
             Raw {
              content: "tmpfiles",
              position: (138, 13),
             },
             Raw {
              content: "rules",
              position: (138, 22),
             },
            ],
           },
           to: List {
            elements: [
             String {
              parts: [
               Raw {
                content: "d '",
                position: (139, 8),
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (139, 13),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "dataDir",
                    position: (139, 17),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: "' - ",
                position: (139, 25),
               },
               Expression {
                expression: PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (139, 31),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "user",
                    position: (139, 35),
                   },
                  ],
                 },
                 default: None,
                },
               },
               Raw {
                content: " - - -",
                position: (139, 40),
               },
              ],
              position: (139, 7),
             },
            ],
            position: (138, 30),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (142, 5),
             },
             Raw {
              content: "services",
              position: (142, 13),
             },
             Raw {
              content: "collectd",
              position: (142, 22),
             },
            ],
           },
           to: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (143, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Collectd Monitoring Agent",
                 position: (143, 22),
                },
               ],
               position: (143, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "after",
                 position: (144, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "network.target",
                   position: (144, 18),
                  },
                 ],
                 position: (144, 17),
                },
               ],
               position: (144, 15),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "wantedBy",
                 position: (145, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "multi-user.target",
                   position: (145, 21),
                  },
                 ],
                 position: (145, 20),
                },
               ],
               position: (145, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "serviceConfig",
                 position: (147, 7),
                },
               ],
              },
              to: Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "ExecStart",
                    position: (148, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Expression {
                    expression: Variable {
                     identifier: "package",
                     position: (148, 24),
                    },
                   },
                   Raw {
                    content: "/sbin/collectd -C ",
                    position: (148, 32),
                   },
                   Expression {
                    expression: Variable {
                     identifier: "conf",
                     position: (148, 52),
                    },
                   },
                   Raw {
                    content: " -f",
                    position: (148, 57),
                   },
                  ],
                  position: (148, 21),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "User",
                    position: (149, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "cfg",
                   position: (149, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "user",
                     position: (149, 20),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "Restart",
                    position: (150, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "on-failure",
                    position: (150, 20),
                   },
                  ],
                  position: (150, 19),
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "RestartSec",
                    position: (151, 9),
                   },
                  ],
                 },
                 to: Int {
                  value: 3,
                  position: (151, 22),
                 },
                },
               ],
               recursive: false,
               position: (147, 23),
              },
             },
            ],
            recursive: false,
            position: (142, 33),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "users",
              position: (155, 5),
             },
             Raw {
              content: "users",
              position: (155, 11),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "optionalAttrs",
             position: (155, 19),
            },
            arguments: [
             Parentheses {
              expression: BinaryOperation {
               operator: EqualTo,
               operands: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (155, 34),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "user",
                    position: (155, 38),
                   },
                  ],
                 },
                 default: None,
                },
                String {
                 parts: [
                  Raw {
                   content: "collectd",
                   position: (155, 47),
                  },
                 ],
                 position: (155, 46),
                },
               ],
               position: (155, 43),
              },
              position: (155, 33),
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "collectd",
                   position: (156, 7),
                  },
                 ],
                },
                to: Map {
                 bindings: [
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "isSystemUser",
                      position: (157, 9),
                     },
                    ],
                   },
                   to: Variable {
                    identifier: "true",
                    position: (157, 24),
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "group",
                      position: (158, 9),
                     },
                    ],
                   },
                   to: String {
                    parts: [
                     Raw {
                      content: "collectd",
                      position: (158, 18),
                     },
                    ],
                    position: (158, 17),
                   },
                  },
                 ],
                 recursive: false,
                 position: (156, 18),
                },
               },
              ],
              recursive: false,
              position: (155, 58),
             },
            ],
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "users",
              position: (162, 5),
             },
             Raw {
              content: "groups",
              position: (162, 11),
             },
            ],
           },
           to: FunctionApplication {
            function: Variable {
             identifier: "optionalAttrs",
             position: (162, 20),
            },
            arguments: [
             Parentheses {
              expression: BinaryOperation {
               operator: EqualTo,
               operands: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "cfg",
                  position: (162, 35),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "user",
                    position: (162, 39),
                   },
                  ],
                 },
                 default: None,
                },
                String {
                 parts: [
                  Raw {
                   content: "collectd",
                   position: (162, 48),
                  },
                 ],
                 position: (162, 47),
                },
               ],
               position: (162, 44),
              },
              position: (162, 34),
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "collectd",
                   position: (163, 7),
                  },
                 ],
                },
                to: Map {
                 bindings: [],
                 recursive: false,
                 position: (163, 18),
                },
               },
              ],
              recursive: false,
              position: (162, 59),
             },
            ],
           },
          },
         ],
         recursive: false,
         position: (113, 28),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (30, 4),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}