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: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 6, column: 9, }, end: Position { line: 6, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 6, column: 16, }, end: Position { line: 6, column: 24, }, }, }, ), Raw( PartRaw { content: "wireshark", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 34, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wireshark", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 7, column: 15, }, end: Position { line: 7, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 7, column: 19, }, end: Position { line: 7, column: 26, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "programs", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 13, }, }, }, ), Raw( PartRaw { content: "wireshark", span: Span { start: Position { line: 10, column: 14, }, end: Position { line: 10, column: 23, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 11, column: 7, }, end: Position { line: 11, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 11, column: 16, }, end: Position { line: 11, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 12, column: 9, }, end: Position { line: 12, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 12, column: 16, }, end: Position { line: 12, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bool", span: Span { start: Position { line: 12, column: 22, }, end: Position { line: 12, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 13, column: 9, }, end: Position { line: 13, column: 16, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 13, column: 19, }, end: Position { line: 13, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 14, column: 9, }, end: Position { line: 14, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 14, column: 23, }, end: Position { line: 14, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 14, column: 27, }, end: Position { line: 14, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Whether to add Wireshark to the global environment and configure a\nsetcap wrapper for 'dumpcap' for users in the 'wireshark' group.\n", span: Span { start: Position { line: 15, column: 1, }, end: Position { line: 17, column: 9, }, }, }, ), ], span: Span { start: Position { line: 14, column: 33, }, end: Position { line: 17, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 25, }, end: Position { line: 18, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 19, column: 7, }, end: Position { line: 19, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 19, column: 17, }, end: Position { line: 19, column: 25, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 20, column: 16, }, end: Position { line: 20, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 20, column: 22, }, end: Position { line: 20, column: 29, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 21, column: 19, }, end: Position { line: 21, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "wireshark-cli", span: Span { start: Position { line: 21, column: 24, }, end: Position { line: 21, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 22, column: 9, }, end: Position { line: 22, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 22, column: 23, }, end: Position { line: 22, column: 40, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.wireshark-cli", span: Span { start: Position { line: 22, column: 42, }, end: Position { line: 22, column: 60, }, }, }, ), ], span: Span { start: Position { line: 22, column: 41, }, end: Position { line: 22, column: 61, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 23, column: 9, }, end: Position { line: 23, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 23, column: 23, }, end: Position { line: 23, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 23, column: 27, }, end: Position { line: 23, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Which Wireshark package to install in the global environment.\n", span: Span { start: Position { line: 24, column: 1, }, end: Position { line: 25, column: 9, }, }, }, ), ], span: Span { start: Position { line: 23, column: 33, }, end: Position { line: 25, column: 11, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 19, column: 26, }, end: Position { line: 26, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 10, column: 26, }, end: Position { line: 27, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 28, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 30, column: 12, }, end: Position { line: 30, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 30, column: 17, }, end: Position { line: 30, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 30, column: 21, }, end: Position { line: 30, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 31, column: 17, }, end: Position { line: 31, column: 31, }, }, }, ), ], to: List( List { elements: [ Identifier( Identifier { id: "wireshark", span: Span { start: Position { line: 31, column: 36, }, end: Position { line: 31, column: 45, }, }, }, ), ], span: Span { start: Position { line: 31, column: 34, }, end: Position { line: 31, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 10, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 32, column: 11, }, end: Position { line: 32, column: 17, }, }, }, ), Raw( PartRaw { content: "wireshark", span: Span { start: Position { line: 32, column: 18, }, end: Position { line: 32, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 32, column: 30, }, end: Position { line: 32, column: 32, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "security", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 13, }, }, }, ), Raw( PartRaw { content: "wrappers", span: Span { start: Position { line: 34, column: 14, }, end: Position { line: 34, column: 22, }, }, }, ), Raw( PartRaw { content: "dumpcap", span: Span { start: Position { line: 34, column: 23, }, end: Position { line: 34, column: 30, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "source", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "wireshark", span: Span { start: Position { line: 35, column: 19, }, end: Position { line: 35, column: 28, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/dumpcap", span: Span { start: Position { line: 35, column: 17, }, end: Position { line: 35, column: 41, }, }, }, ), ], span: Span { start: Position { line: 35, column: 16, }, end: Position { line: 35, column: 42, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "capabilities", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 19, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "cap_net_raw+p", span: Span { start: Position { line: 36, column: 23, }, end: Position { line: 36, column: 36, }, }, }, ), ], span: Span { start: Position { line: 36, column: 22, }, end: Position { line: 36, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "owner", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "root", span: Span { start: Position { line: 37, column: 16, }, end: Position { line: 37, column: 20, }, }, }, ), ], span: Span { start: Position { line: 37, column: 15, }, end: Position { line: 37, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "wireshark", span: Span { start: Position { line: 38, column: 16, }, end: Position { line: 38, column: 25, }, }, }, ), ], span: Span { start: Position { line: 38, column: 15, }, end: Position { line: 38, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "permissions", span: Span { start: Position { line: 39, column: 7, }, end: Position { line: 39, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "u+rx,g+x", span: Span { start: Position { line: 39, column: 22, }, end: Position { line: 39, column: 30, }, }, }, ), ], span: Span { start: Position { line: 39, column: 21, }, end: Position { line: 39, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 34, column: 33, }, end: Position { line: 40, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 28, }, end: Position { line: 41, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 4, }, end: Position { line: 42, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 42, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 42, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 42, column: 2, }, }, }, )