---
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: "pkg",
        position: (7, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (7, 9),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "sane-backends",
          position: (7, 14),
         },
         Raw {
          content: "override",
          position: (7, 28),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "scanSnapDriversUnfree",
             position: (8, 5),
            },
           ],
          },
          to: PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (8, 29),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "hardware",
              position: (8, 36),
             },
             Raw {
              content: "sane",
              position: (8, 45),
             },
             Raw {
              content: "drivers",
              position: (8, 50),
             },
             Raw {
              content: "scanSnap",
              position: (8, 58),
             },
             Raw {
              content: "enable",
              position: (8, 67),
             },
            ],
           },
           default: None,
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "scanSnapDriversPackage",
             position: (9, 5),
            },
           ],
          },
          to: PropertyAccess {
           expression: Variable {
            identifier: "config",
            position: (9, 30),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "hardware",
              position: (9, 37),
             },
             Raw {
              content: "sane",
              position: (9, 46),
             },
             Raw {
              content: "drivers",
              position: (9, 51),
             },
             Raw {
              content: "scanSnap",
              position: (9, 59),
             },
             Raw {
              content: "package",
              position: (9, 68),
             },
            ],
           },
           default: None,
          },
         },
        ],
        recursive: false,
        position: (7, 37),
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "sanedConf",
        position: (12, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (12, 15),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "writeTextFile",
          position: (12, 20),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "name",
             position: (13, 5),
            },
           ],
          },
          to: String {
           parts: [
            Raw {
             content: "saned.conf",
             position: (13, 13),
            },
           ],
           position: (13, 12),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "destination",
             position: (14, 5),
            },
           ],
          },
          to: String {
           parts: [
            Raw {
             content: "/etc/sane.d/saned.conf",
             position: (14, 20),
            },
           ],
           position: (14, 19),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "text",
             position: (15, 5),
            },
           ],
          },
          to: String {
           parts: [
            Raw {
             content: "localhost\n",
             position: (16, 1),
            },
            Expression {
             expression: PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (17, 9),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "services",
                 position: (17, 16),
                },
                Raw {
                 content: "saned",
                 position: (17, 25),
                },
                Raw {
                 content: "extraConfig",
                 position: (17, 31),
                },
               ],
              },
              default: None,
             },
            },
            Raw {
             content: "\n",
             position: (17, 43),
            },
           ],
           position: (15, 12),
          },
         },
        ],
        recursive: false,
        position: (12, 34),
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "netConf",
        position: (21, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (21, 13),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "writeTextFile",
          position: (21, 18),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "name",
             position: (22, 5),
            },
           ],
          },
          to: String {
           parts: [
            Raw {
             content: "net.conf",
             position: (22, 13),
            },
           ],
           position: (22, 12),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "destination",
             position: (23, 5),
            },
           ],
          },
          to: String {
           parts: [
            Raw {
             content: "/etc/sane.d/net.conf",
             position: (23, 20),
            },
           ],
           position: (23, 19),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "text",
             position: (24, 5),
            },
           ],
          },
          to: String {
           parts: [
            Raw {
             content: "",
             position: (25, 1),
            },
            Expression {
             expression: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "lib",
                position: (25, 9),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "optionalString",
                  position: (25, 13),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               PropertyAccess {
                expression: Variable {
                 identifier: "config",
                 position: (25, 28),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "services",
                   position: (25, 35),
                  },
                  Raw {
                   content: "saned",
                   position: (25, 44),
                  },
                  Raw {
                   content: "enable",
                   position: (25, 50),
                  },
                 ],
                },
                default: None,
               },
               String {
                parts: [
                 Raw {
                  content: "localhost",
                  position: (25, 58),
                 },
                ],
                position: (25, 57),
               },
              ],
             },
            },
            Raw {
             content: "\n",
             position: (25, 69),
            },
            Expression {
             expression: PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (26, 9),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "hardware",
                 position: (26, 16),
                },
                Raw {
                 content: "sane",
                 position: (26, 25),
                },
                Raw {
                 content: "netConf",
                 position: (26, 30),
                },
               ],
              },
              default: None,
             },
            },
            Raw {
             content: "\n",
             position: (26, 38),
            },
           ],
           position: (24, 12),
          },
         },
        ],
        recursive: false,
        position: (21, 32),
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "env",
        position: (30, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "SANE_CONFIG_DIR",
           position: (31, 5),
          },
         ],
        },
        to: PropertyAccess {
         expression: Variable {
          identifier: "config",
          position: (31, 23),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (31, 30),
           },
           Raw {
            content: "sane",
            position: (31, 39),
           },
           Raw {
            content: "configDir",
            position: (31, 44),
           },
          ],
         },
         default: None,
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "LD_LIBRARY_PATH",
           position: (32, 5),
          },
         ],
        },
        to: List {
         elements: [
          String {
           parts: [
            Expression {
             expression: Variable {
              identifier: "saneConfig",
              position: (32, 28),
             },
            },
            Raw {
             content: "/lib/sane",
             position: (32, 39),
            },
           ],
           position: (32, 25),
          },
         ],
         position: (32, 23),
        },
       },
      ],
      recursive: false,
      position: (30, 9),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "backends",
        position: (35, 3),
       },
      ],
     },
     to: BinaryOperation {
      operator: Concatenation,
      operands: [
       List {
        elements: [
         Variable {
          identifier: "pkg",
          position: (35, 16),
         },
         Variable {
          identifier: "netConf",
          position: (35, 20),
         },
        ],
        position: (35, 14),
       },
       BinaryOperation {
        operator: Concatenation,
        operands: [
         FunctionApplication {
          function: Variable {
           identifier: "optional",
           position: (35, 33),
          },
          arguments: [
           PropertyAccess {
            expression: Variable {
             identifier: "config",
             position: (35, 42),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "services",
               position: (35, 49),
              },
              Raw {
               content: "saned",
               position: (35, 58),
              },
              Raw {
               content: "enable",
               position: (35, 64),
              },
             ],
            },
            default: None,
           },
           Variable {
            identifier: "sanedConf",
            position: (35, 71),
           },
          ],
         },
         PropertyAccess {
          expression: Variable {
           identifier: "config",
           position: (35, 84),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "hardware",
             position: (35, 91),
            },
            Raw {
             content: "sane",
             position: (35, 100),
            },
            Raw {
             content: "extraBackends",
             position: (35, 105),
            },
           ],
          },
          default: None,
         },
        ],
        position: (35, 81),
       },
      ],
      position: (35, 30),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "saneConfig",
        position: (36, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "pkgs",
        position: (36, 16),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "mkSaneConfig",
          position: (36, 21),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "paths",
             position: (36, 36),
            },
           ],
          },
          to: Variable {
           identifier: "backends",
           position: (36, 44),
          },
         },
         Inherit {
          from: Some(
           PropertyAccess {
            expression: Variable {
             identifier: "config",
             position: (36, 63),
            },
            attribute_path: AttributePath {
             parts: [
              Raw {
               content: "hardware",
               position: (36, 70),
              },
              Raw {
               content: "sane",
               position: (36, 79),
              },
             ],
            },
            default: None,
           },
          ),
          attributes: [
           Raw {
            content: "disabledDefaultBackends",
            position: (36, 85),
           },
          ],
         },
        ],
        recursive: false,
        position: (36, 34),
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "enabled",
        position: (38, 3),
       },
      ],
     },
     to: BinaryOperation {
      operator: LogicalOr,
      operands: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (38, 13),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "hardware",
           position: (38, 20),
          },
          Raw {
           content: "sane",
           position: (38, 29),
          },
          Raw {
           content: "enable",
           position: (38, 34),
          },
         ],
        },
        default: None,
       },
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (38, 44),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "services",
           position: (38, 51),
          },
          Raw {
           content: "saned",
           position: (38, 60),
          },
          Raw {
           content: "enable",
           position: (38, 66),
          },
         ],
        },
        default: None,
       },
      ],
      position: (38, 41),
     },
    },
   ],
   target: Map {
    bindings: [
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "options",
         position: (46, 3),
        },
       ],
      },
      to: Map {
       bindings: [
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (48, 5),
           },
           Raw {
            content: "sane",
            position: (48, 14),
           },
           Raw {
            content: "enable",
            position: (48, 19),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (48, 28),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (49, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (49, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "bool",
                  position: (49, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (50, 7),
                },
               ],
              },
              to: Variable {
               identifier: "false",
               position: (50, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (51, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Enable support for SANE scanners.\n\n<note><para>\n  Users in the \"scanner\" group will gain access to the scanner, or the \"lp\" group if it's also a printer.\n</para></note>\n",
                 position: (52, 1),
                },
               ],
               position: (51, 21),
              },
             },
            ],
            recursive: false,
            position: (48, 37),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (60, 5),
           },
           Raw {
            content: "sane",
            position: (60, 14),
           },
           Raw {
            content: "snapshot",
            position: (60, 19),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (60, 30),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (61, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (61, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "bool",
                  position: (61, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (62, 7),
                },
               ],
              },
              to: Variable {
               identifier: "false",
               position: (62, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (63, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Use a development snapshot of SANE scanner drivers.",
                 position: (63, 22),
                },
               ],
               position: (63, 21),
              },
             },
            ],
            recursive: false,
            position: (60, 39),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (66, 5),
           },
           Raw {
            content: "sane",
            position: (66, 14),
           },
           Raw {
            content: "extraBackends",
            position: (66, 19),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (66, 35),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (67, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (67, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listOf",
                   position: (67, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (67, 27),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "path",
                    position: (67, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (68, 7),
                },
               ],
              },
              to: List {
               elements: [],
               position: (68, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (69, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Packages providing extra SANE backends to enable.\n\n<note><para>\n  The example contains the package for HP scanners.\n</para></note>\n",
                 position: (70, 1),
                },
               ],
               position: (69, 21),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (76, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (76, 17),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "[ pkgs.hplipWithPlugin ]",
                   position: (76, 36),
                  },
                 ],
                 position: (76, 35),
                },
               ],
              },
             },
            ],
            recursive: false,
            position: (66, 44),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (79, 5),
           },
           Raw {
            content: "sane",
            position: (79, 14),
           },
           Raw {
            content: "disabledDefaultBackends",
            position: (79, 19),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (79, 45),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (80, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "types",
                 position: (80, 14),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "listOf",
                   position: (80, 20),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                PropertyAccess {
                 expression: Variable {
                  identifier: "types",
                  position: (80, 27),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "str",
                    position: (80, 33),
                   },
                  ],
                 },
                 default: None,
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (81, 7),
                },
               ],
              },
              to: List {
               elements: [],
               position: (81, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (82, 7),
                },
               ],
              },
              to: List {
               elements: [
                String {
                 parts: [
                  Raw {
                   content: "v4l",
                   position: (82, 20),
                  },
                 ],
                 position: (82, 19),
                },
               ],
               position: (82, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (83, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Names of backends which are enabled by default but should be disabled.\nSee <literal>$SANE_CONFIG_DIR/dll.conf</literal> for the list of possible names.\n",
                 position: (84, 1),
                },
               ],
               position: (83, 21),
              },
             },
            ],
            recursive: false,
            position: (79, 54),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (89, 5),
           },
           Raw {
            content: "sane",
            position: (89, 14),
           },
           Raw {
            content: "configDir",
            position: (89, 19),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (89, 31),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (90, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (90, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "str",
                  position: (90, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "internal",
                 position: (91, 7),
                },
               ],
              },
              to: Variable {
               identifier: "true",
               position: (91, 18),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (92, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "The value of SANE_CONFIG_DIR.",
                 position: (92, 22),
                },
               ],
               position: (92, 21),
              },
             },
            ],
            recursive: false,
            position: (89, 40),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (95, 5),
           },
           Raw {
            content: "sane",
            position: (95, 14),
           },
           Raw {
            content: "netConf",
            position: (95, 19),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (95, 29),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (96, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (96, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "lines",
                  position: (96, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (97, 7),
                },
               ],
              },
              to: String {
               parts: [],
               position: (97, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (98, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "192.168.0.16",
                 position: (98, 18),
                },
               ],
               position: (98, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (99, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Network hosts that should be probed for remote scanners.\n",
                 position: (100, 1),
                },
               ],
               position: (99, 21),
              },
             },
            ],
            recursive: false,
            position: (95, 38),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (104, 5),
           },
           Raw {
            content: "sane",
            position: (104, 14),
           },
           Raw {
            content: "drivers",
            position: (104, 19),
           },
           Raw {
            content: "scanSnap",
            position: (104, 27),
           },
           Raw {
            content: "enable",
            position: (104, 36),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (104, 45),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (105, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (105, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "bool",
                  position: (105, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (106, 7),
                },
               ],
              },
              to: Variable {
               identifier: "false",
               position: (106, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (107, 7),
                },
               ],
              },
              to: Variable {
               identifier: "true",
               position: (107, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (108, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Whether to enable drivers for the Fujitsu ScanSnap scanners.\n\nThe driver files are unfree and extracted from the Windows driver image.\n",
                 position: (109, 1),
                },
               ],
               position: (108, 21),
              },
             },
            ],
            recursive: false,
            position: (104, 54),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "hardware",
            position: (115, 5),
           },
           Raw {
            content: "sane",
            position: (115, 14),
           },
           Raw {
            content: "drivers",
            position: (115, 19),
           },
           Raw {
            content: "scanSnap",
            position: (115, 27),
           },
           Raw {
            content: "package",
            position: (115, 36),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (115, 46),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (116, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (116, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "package",
                  position: (116, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (117, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "pkgs",
                position: (117, 17),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "sane-drivers",
                  position: (117, 22),
                 },
                 Raw {
                  content: "epjitsu",
                  position: (117, 35),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "defaultText",
                 position: (118, 7),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "literalExpression",
                position: (118, 21),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "pkgs.sane-drivers.epjitsu",
                   position: (118, 40),
                  },
                 ],
                 position: (118, 39),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (119, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Epjitsu driver package to use. Useful if you want to extract the driver files yourself.\n\nThe process is described in the <literal>/etc/sane.d/epjitsu.conf</literal> file in\nthe <literal>sane-backends</literal> package.\n",
                 position: (120, 1),
                },
               ],
               position: (119, 21),
              },
             },
            ],
            recursive: false,
            position: (115, 55),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (127, 5),
           },
           Raw {
            content: "saned",
            position: (127, 14),
           },
           Raw {
            content: "enable",
            position: (127, 20),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (127, 29),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (128, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (128, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "bool",
                  position: (128, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (129, 7),
                },
               ],
              },
              to: Variable {
               identifier: "false",
               position: (129, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (130, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Enable saned network daemon for remote connection to scanners.\n\nsaned would be runned from <literal>scanner</literal> user; to allow\naccess to hardware that doesn't have <literal>scanner</literal> group\nyou should add needed groups to this user.\n",
                 position: (131, 1),
                },
               ],
               position: (130, 21),
              },
             },
            ],
            recursive: false,
            position: (127, 38),
           },
          ],
         },
        },
        Binding {
         from: AttributePath {
          parts: [
           Raw {
            content: "services",
            position: (139, 5),
           },
           Raw {
            content: "saned",
            position: (139, 14),
           },
           Raw {
            content: "extraConfig",
            position: (139, 20),
           },
          ],
         },
         to: FunctionApplication {
          function: Variable {
           identifier: "mkOption",
           position: (139, 34),
          },
          arguments: [
           Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "type",
                 position: (140, 7),
                },
               ],
              },
              to: PropertyAccess {
               expression: Variable {
                identifier: "types",
                position: (140, 14),
               },
               attribute_path: AttributePath {
                parts: [
                 Raw {
                  content: "lines",
                  position: (140, 20),
                 },
                ],
               },
               default: None,
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "default",
                 position: (141, 7),
                },
               ],
              },
              to: String {
               parts: [],
               position: (141, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "example",
                 position: (142, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "192.168.0.0/24",
                 position: (142, 18),
                },
               ],
               position: (142, 17),
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Raw {
                 content: "description",
                 position: (143, 7),
                },
               ],
              },
              to: String {
               parts: [
                Raw {
                 content: "Extra saned configuration lines.\n",
                 position: (144, 1),
                },
               ],
               position: (143, 21),
              },
             },
            ],
            recursive: false,
            position: (139, 43),
           },
          ],
         },
        },
       ],
       recursive: false,
       position: (46, 13),
      },
     },
     Binding {
      from: AttributePath {
       parts: [
        Raw {
         content: "config",
         position: (153, 3),
        },
       ],
      },
      to: FunctionApplication {
       function: Variable {
        identifier: "mkMerge",
        position: (153, 12),
       },
       arguments: [
        List {
         elements: [
          Parentheses {
           expression: FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (154, 6),
            },
            arguments: [
             Variable {
              identifier: "enabled",
              position: (154, 11),
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "hardware",
                   position: (155, 7),
                  },
                  Raw {
                   content: "sane",
                   position: (155, 16),
                  },
                  Raw {
                   content: "configDir",
                   position: (155, 21),
                  },
                 ],
                },
                to: FunctionApplication {
                 function: Variable {
                  identifier: "mkDefault",
                  position: (155, 33),
                 },
                 arguments: [
                  String {
                   parts: [
                    Expression {
                     expression: Variable {
                      identifier: "saneConfig",
                      position: (155, 46),
                     },
                    },
                    Raw {
                     content: "/etc/sane.d",
                     position: (155, 57),
                    },
                   ],
                   position: (155, 43),
                  },
                 ],
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "environment",
                   position: (157, 7),
                  },
                  Raw {
                   content: "systemPackages",
                   position: (157, 19),
                  },
                 ],
                },
                to: Variable {
                 identifier: "backends",
                 position: (157, 36),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "environment",
                   position: (158, 7),
                  },
                  Raw {
                   content: "sessionVariables",
                   position: (158, 19),
                  },
                 ],
                },
                to: Variable {
                 identifier: "env",
                 position: (158, 38),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "services",
                   position: (159, 7),
                  },
                  Raw {
                   content: "udev",
                   position: (159, 16),
                  },
                  Raw {
                   content: "packages",
                   position: (159, 21),
                  },
                 ],
                },
                to: Variable {
                 identifier: "backends",
                 position: (159, 32),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "users",
                   position: (161, 7),
                  },
                  Raw {
                   content: "groups",
                   position: (161, 13),
                  },
                  Raw {
                   content: "scanner",
                   position: (161, 20),
                  },
                  Raw {
                   content: "gid",
                   position: (161, 28),
                  },
                 ],
                },
                to: PropertyAccess {
                 expression: Variable {
                  identifier: "config",
                  position: (161, 34),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "ids",
                    position: (161, 41),
                   },
                   Raw {
                    content: "gids",
                    position: (161, 45),
                   },
                   Raw {
                    content: "scanner",
                    position: (161, 50),
                   },
                  ],
                 },
                 default: None,
                },
               },
              ],
              recursive: false,
              position: (154, 19),
             },
            ],
           },
           position: (154, 5),
          },
          Parentheses {
           expression: FunctionApplication {
            function: Variable {
             identifier: "mkIf",
             position: (164, 6),
            },
            arguments: [
             PropertyAccess {
              expression: Variable {
               identifier: "config",
               position: (164, 11),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "services",
                 position: (164, 18),
                },
                Raw {
                 content: "saned",
                 position: (164, 27),
                },
                Raw {
                 content: "enable",
                 position: (164, 33),
                },
               ],
              },
              default: None,
             },
             Map {
              bindings: [
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "networking",
                   position: (165, 7),
                  },
                  Raw {
                   content: "firewall",
                   position: (165, 18),
                  },
                  Raw {
                   content: "connectionTrackingModules",
                   position: (165, 27),
                  },
                 ],
                },
                to: List {
                 elements: [
                  String {
                   parts: [
                    Raw {
                     content: "sane",
                     position: (165, 58),
                    },
                   ],
                   position: (165, 57),
                  },
                 ],
                 position: (165, 55),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "systemd",
                   position: (167, 7),
                  },
                  Raw {
                   content: "services",
                   position: (167, 15),
                  },
                  Expression {
                   expression: String {
                    parts: [
                     Raw {
                      content: "saned@",
                      position: (167, 25),
                     },
                    ],
                    position: (167, 24),
                   },
                  },
                 ],
                },
                to: Map {
                 bindings: [
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "description",
                      position: (168, 9),
                     },
                    ],
                   },
                   to: String {
                    parts: [
                     Raw {
                      content: "Scanner Service",
                      position: (168, 24),
                     },
                    ],
                    position: (168, 23),
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "environment",
                      position: (169, 9),
                     },
                    ],
                   },
                   to: FunctionApplication {
                    function: Variable {
                     identifier: "mapAttrs",
                     position: (169, 23),
                    },
                    arguments: [
                     Parentheses {
                      expression: Function {
                       argument: Simple {
                        identifier: "name",
                       },
                       definition: Function {
                        argument: Simple {
                         identifier: "val",
                        },
                        definition: FunctionApplication {
                         function: Variable {
                          identifier: "toString",
                          position: (169, 44),
                         },
                         arguments: [
                          Variable {
                           identifier: "val",
                           position: (169, 53),
                          },
                         ],
                        },
                        position: (169, 39),
                       },
                       position: (169, 33),
                      },
                      position: (169, 32),
                     },
                     Variable {
                      identifier: "env",
                      position: (169, 58),
                     },
                    ],
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "serviceConfig",
                      position: (170, 9),
                     },
                    ],
                   },
                   to: Map {
                    bindings: [
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "User",
                         position: (171, 11),
                        },
                       ],
                      },
                      to: String {
                       parts: [
                        Raw {
                         content: "scanner",
                         position: (171, 19),
                        },
                       ],
                       position: (171, 18),
                      },
                     },
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "Group",
                         position: (172, 11),
                        },
                       ],
                      },
                      to: String {
                       parts: [
                        Raw {
                         content: "scanner",
                         position: (172, 20),
                        },
                       ],
                       position: (172, 19),
                      },
                     },
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "ExecStart",
                         position: (173, 11),
                        },
                       ],
                      },
                      to: String {
                       parts: [
                        Expression {
                         expression: Variable {
                          identifier: "pkg",
                          position: (173, 26),
                         },
                        },
                        Raw {
                         content: "/bin/saned",
                         position: (173, 30),
                        },
                       ],
                       position: (173, 23),
                      },
                     },
                    ],
                    recursive: false,
                    position: (170, 25),
                   },
                  },
                 ],
                 recursive: false,
                 position: (167, 35),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "systemd",
                   position: (177, 7),
                  },
                  Raw {
                   content: "sockets",
                   position: (177, 15),
                  },
                  Raw {
                   content: "saned",
                   position: (177, 23),
                  },
                 ],
                },
                to: Map {
                 bindings: [
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "description",
                      position: (178, 9),
                     },
                    ],
                   },
                   to: String {
                    parts: [
                     Raw {
                      content: "saned incoming socket",
                      position: (178, 24),
                     },
                    ],
                    position: (178, 23),
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "wantedBy",
                      position: (179, 9),
                     },
                    ],
                   },
                   to: List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "sockets.target",
                        position: (179, 23),
                       },
                      ],
                      position: (179, 22),
                     },
                    ],
                    position: (179, 20),
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "listenStreams",
                      position: (180, 9),
                     },
                    ],
                   },
                   to: List {
                    elements: [
                     String {
                      parts: [
                       Raw {
                        content: "0.0.0.0:6566",
                        position: (180, 28),
                       },
                      ],
                      position: (180, 27),
                     },
                     String {
                      parts: [
                       Raw {
                        content: "[::]:6566",
                        position: (180, 43),
                       },
                      ],
                      position: (180, 42),
                     },
                    ],
                    position: (180, 25),
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "socketConfig",
                      position: (181, 9),
                     },
                    ],
                   },
                   to: Map {
                    bindings: [
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "BindIPv6Only",
                         position: (183, 11),
                        },
                       ],
                      },
                      to: String {
                       parts: [
                        Raw {
                         content: "ipv6-only",
                         position: (183, 27),
                        },
                       ],
                       position: (183, 26),
                      },
                     },
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "Accept",
                         position: (184, 11),
                        },
                       ],
                      },
                      to: Variable {
                       identifier: "true",
                       position: (184, 20),
                      },
                     },
                     Binding {
                      from: AttributePath {
                       parts: [
                        Raw {
                         content: "MaxConnections",
                         position: (185, 11),
                        },
                       ],
                      },
                      to: Int {
                       value: 64,
                       position: (185, 28),
                      },
                     },
                    ],
                    recursive: false,
                    position: (181, 24),
                   },
                  },
                 ],
                 recursive: false,
                 position: (177, 31),
                },
               },
               Binding {
                from: AttributePath {
                 parts: [
                  Raw {
                   content: "users",
                   position: (189, 7),
                  },
                  Raw {
                   content: "users",
                   position: (189, 13),
                  },
                  Raw {
                   content: "scanner",
                   position: (189, 19),
                  },
                 ],
                },
                to: Map {
                 bindings: [
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "uid",
                      position: (190, 9),
                     },
                    ],
                   },
                   to: PropertyAccess {
                    expression: Variable {
                     identifier: "config",
                     position: (190, 15),
                    },
                    attribute_path: AttributePath {
                     parts: [
                      Raw {
                       content: "ids",
                       position: (190, 22),
                      },
                      Raw {
                       content: "uids",
                       position: (190, 26),
                      },
                      Raw {
                       content: "scanner",
                       position: (190, 31),
                      },
                     ],
                    },
                    default: None,
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "group",
                      position: (191, 9),
                     },
                    ],
                   },
                   to: String {
                    parts: [
                     Raw {
                      content: "scanner",
                      position: (191, 18),
                     },
                    ],
                    position: (191, 17),
                   },
                  },
                  Binding {
                   from: AttributePath {
                    parts: [
                     Raw {
                      content: "extraGroups",
                      position: (192, 9),
                     },
                    ],
                   },
                   to: BinaryOperation {
                    operator: Concatenation,
                    operands: [
                     List {
                      elements: [
                       String {
                        parts: [
                         Raw {
                          content: "lp",
                          position: (192, 26),
                         },
                        ],
                        position: (192, 25),
                       },
                      ],
                      position: (192, 23),
                     },
                     FunctionApplication {
                      function: Variable {
                       identifier: "optionals",
                       position: (192, 35),
                      },
                      arguments: [
                       PropertyAccess {
                        expression: Variable {
                         identifier: "config",
                         position: (192, 45),
                        },
                        attribute_path: AttributePath {
                         parts: [
                          Raw {
                           content: "services",
                           position: (192, 52),
                          },
                          Raw {
                           content: "avahi",
                           position: (192, 61),
                          },
                          Raw {
                           content: "enable",
                           position: (192, 67),
                          },
                         ],
                        },
                        default: None,
                       },
                       List {
                        elements: [
                         String {
                          parts: [
                           Raw {
                            content: "avahi",
                            position: (192, 77),
                           },
                          ],
                          position: (192, 76),
                         },
                        ],
                        position: (192, 74),
                       },
                      ],
                     },
                    ],
                    position: (192, 32),
                   },
                  },
                 ],
                 recursive: false,
                 position: (189, 29),
                },
               },
              ],
              recursive: false,
              position: (164, 40),
             },
            ],
           },
           position: (164, 5),
          },
         ],
         position: (153, 20),
        },
       ],
      },
     },
    ],
    recursive: false,
    position: (42, 1),
   },
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}