---
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: (5, 6),
  },
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "cfg",
        position: (7, 5),
       },
      ],
     },
     to: PropertyAccess {
      expression: Variable {
       identifier: "config",
       position: (7, 11),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "programs",
         position: (7, 18),
        },
        Raw {
         content: "evince",
         position: (7, 27),
        },
       ],
      },
      default: None,
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "imports",
         position: (12, 3),
        },
       ],
      },
      to: List {
       elements: [
        Parentheses {
         expression: FunctionApplication {
          function: Variable {
           identifier: "mkRenamedOptionModule",
           position: (13, 6),
          },
          arguments: [
           List {
            elements: [
             String {
              parts: [
               Raw {
                content: "services",
                position: (14, 10),
               },
              ],
              position: (14, 9),
             },
             String {
              parts: [
               Raw {
                content: "gnome3",
                position: (14, 21),
               },
              ],
              position: (14, 20),
             },
             String {
              parts: [
               Raw {
                content: "evince",
                position: (14, 30),
               },
              ],
              position: (14, 29),
             },
             String {
              parts: [
               Raw {
                content: "enable",
                position: (14, 39),
               },
              ],
              position: (14, 38),
             },
            ],
            position: (14, 7),
           },
           List {
            elements: [
             String {
              parts: [
               Raw {
                content: "programs",
                position: (15, 10),
               },
              ],
              position: (15, 9),
             },
             String {
              parts: [
               Raw {
                content: "evince",
                position: (15, 21),
               },
              ],
              position: (15, 20),
             },
             String {
              parts: [
               Raw {
                content: "enable",
                position: (15, 30),
               },
              ],
              position: (15, 29),
             },
            ],
            position: (15, 7),
           },
          ],
         },
         position: (13, 5),
        },
       ],
       position: (12, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (20, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "programs",
            position: (22, 5),
           },
           Raw {
            content: "evince",
            position: (22, 14),
           },
          ],
         },
         to: Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "enable",
               position: (24, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkEnableOption",
              position: (24, 16),
             },
             arguments: [
              String {
               parts: [
                Raw {
                 content: "Evince, the GNOME document viewer",
                 position: (25, 10),
                },
               ],
               position: (25, 9),
              },
             ],
            },
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "package",
               position: (27, 7),
              },
             ],
            },
            to: FunctionApplication {
             function: Variable {
              identifier: "mkOption",
              position: (27, 17),
             },
             arguments: [
              Map {
               bindings: [
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "type",
                    position: (28, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "types",
                   position: (28, 16),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "package",
                     position: (28, 22),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "default",
                    position: (29, 9),
                   },
                  ],
                 },
                 to: PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (29, 19),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "evince",
                     position: (29, 24),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "defaultText",
                    position: (30, 9),
                   },
                  ],
                 },
                 to: FunctionApplication {
                  function: Variable {
                   identifier: "literalExpression",
                   position: (30, 23),
                  },
                  arguments: [
                   String {
                    parts: [
                     Raw {
                      content: "pkgs.evince",
                      position: (30, 42),
                     },
                    ],
                    position: (30, 41),
                   },
                  ],
                 },
                },
                Binding {
                 from: AttributePath {
                  parts: [
                   Raw {
                    content: "description",
                    position: (31, 9),
                   },
                  ],
                 },
                 to: String {
                  parts: [
                   Raw {
                    content: "Evince derivation to use.",
                    position: (31, 24),
                   },
                  ],
                  position: (31, 23),
                 },
                },
               ],
               recursive: false,
               position: (27, 26),
              },
             ],
            },
           },
          ],
          recursive: false,
          position: (22, 23),
         },
        },
       ],
       recursive: false,
       position: (20, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (41, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkIf",
        position: (41, 12),
       },
       arguments: [
        PropertyAccess {
         expression: Variable {
          identifier: "config",
          position: (41, 17),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "programs",
            position: (41, 24),
           },
           Raw {
            content: "evince",
            position: (41, 33),
           },
           Raw {
            content: "enable",
            position: (41, 40),
           },
          ],
         },
         default: None,
        },
        Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "environment",
              position: (43, 5),
             },
             Raw {
              content: "systemPackages",
              position: (43, 17),
             },
            ],
           },
           to: List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (43, 36),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "package",
                 position: (43, 40),
                },
               ],
              },
              default: None,
             },
            ],
            position: (43, 34),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "services",
              position: (45, 5),
             },
             Raw {
              content: "dbus",
              position: (45, 14),
             },
             Raw {
              content: "packages",
              position: (45, 19),
             },
            ],
           },
           to: List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (45, 32),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "package",
                 position: (45, 36),
                },
               ],
              },
              default: None,
             },
            ],
            position: (45, 30),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "systemd",
              position: (47, 5),
             },
             Raw {
              content: "packages",
              position: (47, 13),
             },
            ],
           },
           to: List {
            elements: [
             PropertyAccess {
              expression: Variable {
               identifier: "cfg",
               position: (47, 26),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "package",
                 position: (47, 30),
                },
               ],
              },
              default: None,
             },
            ],
            position: (47, 24),
           },
          },
         ],
         recursive: false,
         position: (41, 47),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (9, 4),
   },
   position: (7, 1),
  },
  position: (5, 1),
 },
 position: (3, 1),
}