Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", 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: "zmap", span: Span { start: Position { line: 6, column: 25, }, end: Position { line: 6, column: 29, }, }, }, ), ], default: None, }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 10, }, }, }, ), Raw( PartRaw { content: "programs", span: Span { start: Position { line: 8, column: 11, }, end: Position { line: 8, column: 19, }, }, }, ), Raw( PartRaw { content: "zmap", span: Span { start: Position { line: 8, column: 20, }, end: Position { line: 8, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 9, column: 14, }, end: Position { line: 9, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 9, column: 30, }, end: Position { line: 9, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 9, column: 34, }, end: Position { line: 9, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "ZMap", span: Span { start: Position { line: 9, column: 41, }, end: Position { line: 9, column: 45, }, }, }, ), ], span: Span { start: Position { line: 9, column: 40, }, end: Position { line: 9, column: 46, }, }, }, ), ], }, ), ], }, ), }, ), ], span: Span { start: Position { line: 8, column: 27, }, end: Position { line: 10, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 12, column: 3, }, end: Position { line: 12, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 12, column: 12, }, end: Position { line: 12, column: 16, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 12, column: 21, }, end: Position { line: 12, column: 27, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 13, column: 17, }, end: Position { line: 13, column: 31, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 13, column: 36, }, end: Position { line: 13, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "zmap", span: Span { start: Position { line: 13, column: 41, }, end: Position { line: 13, column: 45, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 13, column: 34, }, end: Position { line: 13, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 15, column: 17, }, end: Position { line: 15, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "zmap/blacklist.conf", span: Span { start: Position { line: 15, column: 22, }, end: Position { line: 15, column: 41, }, }, }, ), ], span: Span { start: Position { line: 15, column: 21, }, end: Position { line: 15, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 15, column: 43, }, end: Position { line: 15, column: 49, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 15, column: 55, }, end: Position { line: 15, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "zmap", span: Span { start: Position { line: 15, column: 60, }, end: Position { line: 15, column: 64, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/etc/zmap/blacklist.conf", span: Span { start: Position { line: 15, column: 53, }, end: Position { line: 15, column: 89, }, }, }, ), ], span: Span { start: Position { line: 15, column: 52, }, end: Position { line: 15, column: 90, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 16, }, }, }, ), Raw( PartRaw { content: "etc", span: Span { start: Position { line: 16, column: 17, }, end: Position { line: 16, column: 20, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "zmap/zmap.conf", span: Span { start: Position { line: 16, column: 22, }, end: Position { line: 16, column: 36, }, }, }, ), ], span: Span { start: Position { line: 16, column: 21, }, end: Position { line: 16, column: 37, }, }, }, ), }, ), Raw( PartRaw { content: "source", span: Span { start: Position { line: 16, column: 38, }, end: Position { line: 16, column: 44, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 16, column: 50, }, end: Position { line: 16, column: 54, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "zmap", span: Span { start: Position { line: 16, column: 55, }, end: Position { line: 16, column: 59, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/etc/zmap.conf", span: Span { start: Position { line: 16, column: 48, }, end: Position { line: 16, column: 74, }, }, }, ), ], span: Span { start: Position { line: 16, column: 47, }, end: Position { line: 16, column: 75, }, }, }, ), }, ), ], span: Span { start: Position { line: 12, column: 28, }, end: Position { line: 17, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 7, column: 4, }, end: Position { line: 18, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 18, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 18, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 18, column: 2, }, }, }, )