Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), Raw( PartRaw { content: "programs", span: Span { start: Position { line: 7, column: 11, }, end: Position { line: 7, column: 19, }, }, }, ), Raw( PartRaw { content: "browserpass", span: Span { start: Position { line: 7, column: 20, }, end: Position { line: 7, column: 31, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 7, column: 32, }, end: Position { line: 7, column: 38, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 7, column: 41, }, end: Position { line: 7, column: 55, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 7, column: 57, }, end: Position { line: 7, column: 60, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 7, column: 61, }, end: Position { line: 7, column: 66, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Browserpass native messaging host", span: Span { start: Position { line: 7, column: 68, }, end: Position { line: 7, column: 101, }, }, }, ), ], span: Span { start: Position { line: 7, column: 67, }, end: Position { line: 7, column: 102, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 9, column: 12, }, end: Position { line: 9, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 9, column: 17, }, end: Position { line: 9, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 9, column: 24, }, end: Position { line: 9, column: 32, }, }, }, ), Raw( PartRaw { content: "browserpass", span: Span { start: Position { line: 9, column: 33, }, end: Position { line: 9, column: 44, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 9, column: 45, }, end: Position { line: 9, column: 51, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 10, column: 17, }, end: Position { line: 10, column: 20, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "appId", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "com.github.browserpass.native.json", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 50, }, }, }, ), ], span: Span { start: Position { line: 11, column: 15, }, end: Position { line: 11, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 13, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "part", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 12, column: 25, }, end: Position { line: 12, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "browserpass", span: Span { start: Position { line: 12, column: 30, }, end: Position { line: 12, column: 41, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/lib/browserpass/", span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 12, column: 59, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "part", span: Span { start: Position { line: 12, column: 61, }, end: Position { line: 12, column: 65, }, }, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 12, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 12, column: 69, }, end: Position { line: 12, column: 74, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 22, }, end: Position { line: 12, column: 76, }, }, }, ), span: Span { start: Position { line: 12, column: 16, }, end: Position { line: 12, column: 76, }, }, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "chromium/native-messaging-hosts/", span: Span { start: Position { line: 15, column: 8, }, end: Position { line: 15, column: 48, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 15, column: 42, }, end: Position { line: 15, column: 47, }, }, }, ), }, ), ], span: Span { start: Position { line: 15, column: 7, }, end: Position { line: 15, column: 49, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 15, column: 50, }, end: Position { line: 15, column: 56, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "source", span: Span { start: Position { line: 15, column: 59, }, end: Position { line: 15, column: 65, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "hosts/chromium", span: Span { start: Position { line: 15, column: 67, }, end: Position { line: 15, column: 81, }, }, }, ), ], span: Span { start: Position { line: 15, column: 66, }, end: Position { line: 15, column: 82, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "chromium/policies/managed/", span: Span { start: Position { line: 16, column: 8, }, end: Position { line: 16, column: 42, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 16, column: 36, }, end: Position { line: 16, column: 41, }, }, }, ), }, ), ], span: Span { start: Position { line: 16, column: 7, }, end: Position { line: 16, column: 43, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 16, column: 44, }, end: Position { line: 16, column: 50, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "source", span: Span { start: Position { line: 16, column: 53, }, end: Position { line: 16, column: 59, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "policies/chromium", span: Span { start: Position { line: 16, column: 61, }, end: Position { line: 16, column: 78, }, }, }, ), ], span: Span { start: Position { line: 16, column: 60, }, end: Position { line: 16, column: 79, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "opt/chrome/native-messaging-hosts/", span: Span { start: Position { line: 19, column: 8, }, end: Position { line: 19, column: 50, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 19, column: 44, }, end: Position { line: 19, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 51, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 19, column: 52, }, end: Position { line: 19, column: 58, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "source", span: Span { start: Position { line: 19, column: 61, }, end: Position { line: 19, column: 67, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "hosts/chromium", span: Span { start: Position { line: 19, column: 69, }, end: Position { line: 19, column: 83, }, }, }, ), ], span: Span { start: Position { line: 19, column: 68, }, end: Position { line: 19, column: 84, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "opt/chrome/policies/managed/", span: Span { start: Position { line: 20, column: 8, }, end: Position { line: 20, column: 44, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 20, column: 38, }, end: Position { line: 20, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 20, column: 7, }, end: Position { line: 20, column: 45, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 20, column: 46, }, end: Position { line: 20, column: 52, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "source", span: Span { start: Position { line: 20, column: 55, }, end: Position { line: 20, column: 61, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "policies/chromium", span: Span { start: Position { line: 20, column: 63, }, end: Position { line: 20, column: 80, }, }, }, ), ], span: Span { start: Position { line: 20, column: 62, }, end: Position { line: 20, column: 81, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "opt/vivaldi/native-messaging-hosts/", span: Span { start: Position { line: 23, column: 8, }, end: Position { line: 23, column: 51, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 23, column: 45, }, end: Position { line: 23, column: 50, }, }, }, ), }, ), ], span: Span { start: Position { line: 23, column: 7, }, end: Position { line: 23, column: 52, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 23, column: 53, }, end: Position { line: 23, column: 59, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "source", span: Span { start: Position { line: 23, column: 62, }, end: Position { line: 23, column: 68, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "hosts/chromium", span: Span { start: Position { line: 23, column: 70, }, end: Position { line: 23, column: 84, }, }, }, ), ], span: Span { start: Position { line: 23, column: 69, }, end: Position { line: 23, column: 85, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "opt/vivaldi/policies/managed/", span: Span { start: Position { line: 24, column: 8, }, end: Position { line: 24, column: 45, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 24, column: 39, }, end: Position { line: 24, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 24, column: 7, }, end: Position { line: 24, column: 46, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 24, column: 47, }, end: Position { line: 24, column: 53, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "source", span: Span { start: Position { line: 24, column: 56, }, end: Position { line: 24, column: 62, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "policies/chromium", span: Span { start: Position { line: 24, column: 64, }, end: Position { line: 24, column: 81, }, }, }, ), ], span: Span { start: Position { line: 24, column: 63, }, end: Position { line: 24, column: 82, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "opt/brave/native-messaging-hosts/", span: Span { start: Position { line: 27, column: 8, }, end: Position { line: 27, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 27, column: 43, }, end: Position { line: 27, column: 48, }, }, }, ), }, ), ], span: Span { start: Position { line: 27, column: 7, }, end: Position { line: 27, column: 50, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 27, column: 51, }, end: Position { line: 27, column: 57, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "source", span: Span { start: Position { line: 27, column: 60, }, end: Position { line: 27, column: 66, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "hosts/chromium", span: Span { start: Position { line: 27, column: 68, }, end: Position { line: 27, column: 82, }, }, }, ), ], span: Span { start: Position { line: 27, column: 67, }, end: Position { line: 27, column: 83, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "opt/brave/policies/managed/", span: Span { start: Position { line: 28, column: 8, }, end: Position { line: 28, column: 43, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "appId", span: Span { start: Position { line: 28, column: 37, }, end: Position { line: 28, column: 42, }, }, }, ), }, ), ], span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 44, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 28, column: 45, }, end: Position { line: 28, column: 51, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "source", span: Span { start: Position { line: 28, column: 54, }, end: Position { line: 28, column: 60, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "policies/chromium", span: Span { start: Position { line: 28, column: 62, }, end: Position { line: 28, column: 79, }, }, }, ), ], span: Span { start: Position { line: 28, column: 61, }, end: Position { line: 28, column: 80, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 13, column: 8, }, end: Position { line: 29, column: 6, }, }, }, ), span: Span { start: Position { line: 10, column: 23, }, end: Position { line: 29, column: 6, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 30, column: 5, }, end: Position { line: 30, column: 12, }, }, }, ), Raw( PartRaw { content: "config", span: Span { start: Position { line: 30, column: 13, }, end: Position { line: 30, column: 19, }, }, }, ), Raw( PartRaw { content: "firefox", span: Span { start: Position { line: 30, column: 20, }, end: Position { line: 30, column: 27, }, }, }, ), Raw( PartRaw { content: "enableBrowserpass", span: Span { start: Position { line: 30, column: 28, }, end: Position { line: 30, column: 45, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 30, column: 48, }, end: Position { line: 30, column: 52, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 52, }, end: Position { line: 31, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 32, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 32, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 32, column: 2, }, }, }, )