---
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: Map {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "options",
        position: (7, 3),
       },
       Raw {
        content: "programs",
        position: (7, 11),
       },
       Raw {
        content: "browserpass",
        position: (7, 20),
       },
       Raw {
        content: "enable",
        position: (7, 32),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "mkEnableOption",
       position: (7, 41),
      },
      arguments: [
       String {
        parts: [
         Raw {
          content: "Browserpass native messaging host",
          position: (7, 57),
         },
        ],
        position: (7, 56),
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "config",
        position: (9, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "mkIf",
       position: (9, 12),
      },
      arguments: [
       PropertyAccess {
        expression: Variable {
         identifier: "config",
         position: (9, 17),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "programs",
           position: (9, 24),
          },
          Raw {
           content: "browserpass",
           position: (9, 33),
          },
          Raw {
           content: "enable",
           position: (9, 45),
          },
         ],
        },
        default: None,
       },
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "environment",
             position: (10, 5),
            },
            Raw {
             content: "etc",
             position: (10, 17),
            },
           ],
          },
          to: LetIn {
           bindings: [
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "appId",
                position: (11, 7),
               },
              ],
             },
             to: String {
              parts: [
               Raw {
                content: "com.github.browserpass.native.json",
                position: (11, 16),
               },
              ],
              position: (11, 15),
             },
            },
            Binding {
             from: AttributePath {
              parts: [
               Raw {
                content: "source",
                position: (12, 7),
               },
              ],
             },
             to: Function {
              argument: Simple {
               identifier: "part",
              },
              definition: String {
               parts: [
                Interpolation {
                 expression: PropertyAccess {
                  expression: Variable {
                   identifier: "pkgs",
                   position: (12, 25),
                  },
                  attribute_path: AttributePath {
                   parts: [
                    Raw {
                     content: "browserpass",
                     position: (12, 30),
                    },
                   ],
                  },
                  default: None,
                 },
                },
                Raw {
                 content: "/lib/browserpass/",
                 position: (12, 42),
                },
                Interpolation {
                 expression: Variable {
                  identifier: "part",
                  position: (12, 61),
                 },
                },
                Raw {
                 content: "/",
                 position: (12, 66),
                },
                Interpolation {
                 expression: Variable {
                  identifier: "appId",
                  position: (12, 69),
                 },
                },
               ],
               position: (12, 22),
              },
              position: (12, 16),
             },
            },
           ],
           target: Map {
            bindings: [
             Binding {
              from: AttributePath {
               parts: [
                Expression {
                 ast: String {
                  parts: [
                   Raw {
                    content: "chromium/native-messaging-hosts/",
                    position: (15, 8),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "appId",
                     position: (15, 42),
                    },
                   },
                  ],
                  position: (15, 7),
                 },
                },
                Raw {
                 content: "source",
                 position: (15, 50),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "source",
                position: (15, 59),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "hosts/chromium",
                   position: (15, 67),
                  },
                 ],
                 position: (15, 66),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Expression {
                 ast: String {
                  parts: [
                   Raw {
                    content: "chromium/policies/managed/",
                    position: (16, 8),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "appId",
                     position: (16, 36),
                    },
                   },
                  ],
                  position: (16, 7),
                 },
                },
                Raw {
                 content: "source",
                 position: (16, 44),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "source",
                position: (16, 53),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "policies/chromium",
                   position: (16, 61),
                  },
                 ],
                 position: (16, 60),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Expression {
                 ast: String {
                  parts: [
                   Raw {
                    content: "opt/chrome/native-messaging-hosts/",
                    position: (19, 8),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "appId",
                     position: (19, 44),
                    },
                   },
                  ],
                  position: (19, 7),
                 },
                },
                Raw {
                 content: "source",
                 position: (19, 52),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "source",
                position: (19, 61),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "hosts/chromium",
                   position: (19, 69),
                  },
                 ],
                 position: (19, 68),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Expression {
                 ast: String {
                  parts: [
                   Raw {
                    content: "opt/chrome/policies/managed/",
                    position: (20, 8),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "appId",
                     position: (20, 38),
                    },
                   },
                  ],
                  position: (20, 7),
                 },
                },
                Raw {
                 content: "source",
                 position: (20, 46),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "source",
                position: (20, 55),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "policies/chromium",
                   position: (20, 63),
                  },
                 ],
                 position: (20, 62),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Expression {
                 ast: String {
                  parts: [
                   Raw {
                    content: "opt/vivaldi/native-messaging-hosts/",
                    position: (23, 8),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "appId",
                     position: (23, 45),
                    },
                   },
                  ],
                  position: (23, 7),
                 },
                },
                Raw {
                 content: "source",
                 position: (23, 53),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "source",
                position: (23, 62),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "hosts/chromium",
                   position: (23, 70),
                  },
                 ],
                 position: (23, 69),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Expression {
                 ast: String {
                  parts: [
                   Raw {
                    content: "opt/vivaldi/policies/managed/",
                    position: (24, 8),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "appId",
                     position: (24, 39),
                    },
                   },
                  ],
                  position: (24, 7),
                 },
                },
                Raw {
                 content: "source",
                 position: (24, 47),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "source",
                position: (24, 56),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "policies/chromium",
                   position: (24, 64),
                  },
                 ],
                 position: (24, 63),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Expression {
                 ast: String {
                  parts: [
                   Raw {
                    content: "opt/brave/native-messaging-hosts/",
                    position: (27, 8),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "appId",
                     position: (27, 43),
                    },
                   },
                  ],
                  position: (27, 7),
                 },
                },
                Raw {
                 content: "source",
                 position: (27, 51),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "source",
                position: (27, 60),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "hosts/chromium",
                   position: (27, 68),
                  },
                 ],
                 position: (27, 67),
                },
               ],
              },
             },
             Binding {
              from: AttributePath {
               parts: [
                Expression {
                 ast: String {
                  parts: [
                   Raw {
                    content: "opt/brave/policies/managed/",
                    position: (28, 8),
                   },
                   Interpolation {
                    expression: Variable {
                     identifier: "appId",
                     position: (28, 37),
                    },
                   },
                  ],
                  position: (28, 7),
                 },
                },
                Raw {
                 content: "source",
                 position: (28, 45),
                },
               ],
              },
              to: FunctionApplication {
               function: Variable {
                identifier: "source",
                position: (28, 54),
               },
               arguments: [
                String {
                 parts: [
                  Raw {
                   content: "policies/chromium",
                   position: (28, 62),
                  },
                 ],
                 position: (28, 61),
                },
               ],
              },
             },
            ],
            recursive: false,
            position: (13, 8),
           },
           position: (10, 23),
          },
         },
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "nixpkgs",
             position: (30, 5),
            },
            Raw {
             content: "config",
             position: (30, 13),
            },
            Raw {
             content: "firefox",
             position: (30, 20),
            },
            Raw {
             content: "enableBrowserpass",
             position: (30, 28),
            },
           ],
          },
          to: Variable {
           identifier: "true",
           position: (30, 48),
          },
         },
        ],
        recursive: false,
        position: (9, 52),
       },
      ],
     },
    },
   ],
   recursive: false,
   position: (5, 1),
  },
  position: (3, 1),
 },
 position: (1, 1),
}