Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "moduleType", default: None, }, FunctionHeadDestructuredArgument { identifier: "hostPkgs", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 12, }, end: Position { line: 3, column: 15, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 3, column: 17, }, end: Position { line: 3, column: 25, }, }, }, ), Raw( PartRaw { content: "types", span: Span { start: Position { line: 3, column: 26, }, end: Position { line: 3, column: 31, }, }, }, ), Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 3, column: 32, }, end: Position { line: 3, column: 37, }, }, }, ), ], span: Span { start: Position { line: 2, column: 4, }, end: Position { line: 3, column: 38, }, }, }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 10, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interactive", span: Span { start: Position { line: 7, column: 5, }, end: Position { line: 7, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 7, column: 19, }, end: Position { line: 7, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 8, column: 7, }, end: Position { line: 8, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mdDoc", span: Span { start: Position { line: 8, column: 21, }, end: Position { line: 8, column: 26, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Tests [can be run interactively](#sec-running-nixos-tests-interactively)\nusing the program in the test derivation's `.driverInteractive` attribute.\n\nWhen they are, the configuration will include anything set in this submodule.\n\nYou can set any top-level test option here.\n\nExample test module:\n\n```nix\n{ config, lib, ... }: {\n\n nodes.rabbitmq = {\n services.rabbitmq.enable = true;\n };\n\n # When running interactively ...\n interactive.nodes.rabbitmq = {\n # ... enable the web ui.\n services.rabbitmq.managementPlugin.enable = true;\n };\n}\n```\n\nFor details, see the section about [running tests interactively](#sec-running-nixos-tests-interactively).\n", span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 34, column: 7, }, }, }, ), ], span: Span { start: Position { line: 8, column: 27, }, end: Position { line: 34, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 35, column: 7, }, end: Position { line: 35, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "moduleType", span: Span { start: Position { line: 35, column: 14, }, end: Position { line: 35, column: 24, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "visible", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "shallow", span: Span { start: Position { line: 36, column: 18, }, end: Position { line: 36, column: 25, }, }, }, ), ], span: Span { start: Position { line: 36, column: 17, }, end: Position { line: 36, column: 26, }, }, }, ), }, ), ], span: Span { start: Position { line: 7, column: 28, }, end: Position { line: 37, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 6, column: 13, }, end: Position { line: 38, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 40, column: 3, }, end: Position { line: 40, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interactive", span: Span { start: Position { line: 41, column: 5, }, end: Position { line: 41, column: 16, }, }, }, ), Raw( PartRaw { content: "qemu", span: Span { start: Position { line: 41, column: 17, }, end: Position { line: 41, column: 21, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 41, column: 22, }, end: Position { line: 41, column: 29, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "hostPkgs", span: Span { start: Position { line: 41, column: 32, }, end: Position { line: 41, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "qemu", span: Span { start: Position { line: 41, column: 41, }, end: Position { line: 41, column: 45, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "interactive", span: Span { start: Position { line: 42, column: 5, }, end: Position { line: 42, column: 16, }, }, }, ), Raw( PartRaw { content: "extraDriverArgs", span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 32, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "--interactive", span: Span { start: Position { line: 42, column: 38, }, end: Position { line: 42, column: 51, }, }, }, ), ], span: Span { start: Position { line: 42, column: 37, }, end: Position { line: 42, column: 52, }, }, }, ), ], span: Span { start: Position { line: 42, column: 35, }, end: Position { line: 42, column: 54, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passthru", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 13, }, }, }, ), Raw( PartRaw { content: "driverInteractive", span: Span { start: Position { line: 43, column: 14, }, end: Position { line: 43, column: 31, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 43, column: 34, }, end: Position { line: 43, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "interactive", span: Span { start: Position { line: 43, column: 41, }, end: Position { line: 43, column: 52, }, }, }, ), Raw( PartRaw { content: "driver", span: Span { start: Position { line: 43, column: 53, }, end: Position { line: 43, column: 59, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 40, column: 12, }, end: Position { line: 44, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 45, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 45, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 45, column: 2, }, }, }, )