Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", 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: "types", span: Span { start: Position { line: 3, column: 17, }, end: Position { line: 3, column: 22, }, }, }, ), Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 3, column: 23, }, end: Position { line: 3, column: 31, }, }, }, ), Raw( PartRaw { content: "setDefaultModuleLocation", span: Span { start: Position { line: 3, column: 32, }, end: Position { line: 3, column: 56, }, }, }, ), ], span: Span { start: Position { line: 2, column: 4, }, end: Position { line: 3, column: 57, }, }, }, ), Inherit( BindingInherit { from: Some( Identifier( Identifier { id: "types", span: Span { start: Position { line: 4, column: 12, }, end: Position { line: 4, column: 17, }, }, }, ), ), attributes: [ Raw( PartRaw { content: "deferredModule", span: Span { start: Position { line: 4, column: 19, }, end: Position { line: 4, column: 33, }, }, }, ), Raw( PartRaw { content: "lazyAttrsOf", span: Span { start: Position { line: 4, column: 34, }, end: Position { line: 4, column: 45, }, }, }, ), Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 4, column: 46, }, end: Position { line: 4, column: 55, }, }, }, ), Raw( PartRaw { content: "str", span: Span { start: Position { line: 4, column: 56, }, end: Position { line: 4, column: 59, }, }, }, ), Raw( PartRaw { content: "raw", span: Span { start: Position { line: 4, column: 60, }, end: Position { line: 4, column: 63, }, }, }, ), Raw( PartRaw { content: "enum", span: Span { start: Position { line: 4, column: 64, }, end: Position { line: 4, column: 68, }, }, }, ), ], span: Span { start: Position { line: 2, column: 4, }, end: Position { line: 4, column: 69, }, }, }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 10, }, }, }, ), ], to: List( List { elements: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "generic.nix", span: Span { start: Position { line: 13, column: 16, }, end: Position { line: 13, column: 27, }, }, }, ), ], span: Span { start: Position { line: 13, column: 15, }, end: Position { line: 13, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 14, column: 7, }, end: Position { line: 14, column: 14, }, }, }, ), Raw( PartRaw { content: "nodes", span: Span { start: Position { line: 14, column: 15, }, end: Position { line: 14, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 14, column: 23, }, end: Position { line: 14, column: 31, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 15, column: 9, }, end: Position { line: 15, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "lazyAttrsOf", span: Span { start: Position { line: 15, column: 16, }, end: Position { line: 15, column: 27, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "submodule", span: Span { start: Position { line: 15, column: 29, }, end: Position { line: 15, column: 38, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "imports", span: Span { start: Position { line: 15, column: 41, }, end: Position { line: 15, column: 48, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 15, column: 53, }, end: Position { line: 15, column: 59, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 15, column: 60, }, end: Position { line: 15, column: 67, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 15, column: 51, }, end: Position { line: 15, column: 69, }, }, }, ), }, ), ], span: Span { start: Position { line: 15, column: 39, }, end: Position { line: 15, column: 72, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 16, column: 9, }, end: Position { line: 16, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 16, column: 19, }, end: Position { line: 16, column: 21, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 32, }, end: Position { line: 17, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 14, }, }, }, ), Raw( PartRaw { content: "default", span: Span { start: Position { line: 18, column: 15, }, end: Position { line: 18, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 33, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 19, column: 9, }, end: Position { line: 19, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "deferredModule", span: Span { start: Position { line: 19, column: 16, }, end: Position { line: 19, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 20, column: 9, }, end: Position { line: 20, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 20, column: 19, }, end: Position { line: 20, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 21, column: 9, }, end: Position { line: 21, column: 20, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Module that is included in all nodes.\n", span: Span { start: Position { line: 22, column: 1, }, end: Position { line: 23, column: 9, }, }, }, ), ], span: Span { start: Position { line: 21, column: 23, }, end: Position { line: 23, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 18, column: 34, }, end: Position { line: 24, column: 8, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 12, column: 23, }, end: Position { line: 25, column: 6, }, }, }, ), span: Span { start: Position { line: 12, column: 6, }, end: Position { line: 25, column: 6, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 28, column: 7, }, end: Position { line: 28, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "default-1.nix", span: Span { start: Position { line: 28, column: 16, }, end: Position { line: 28, column: 29, }, }, }, ), ], span: Span { start: Position { line: 28, column: 15, }, end: Position { line: 28, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 29, column: 7, }, end: Position { line: 29, column: 14, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 30, column: 9, }, end: Position { line: 30, column: 16, }, }, }, ), Raw( PartRaw { content: "settingsDict", span: Span { start: Position { line: 30, column: 17, }, end: Position { line: 30, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 30, column: 32, }, end: Position { line: 30, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 30, column: 36, }, end: Position { line: 30, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 30, column: 47, }, end: Position { line: 30, column: 51, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "lazyAttrsOf", span: Span { start: Position { line: 30, column: 54, }, end: Position { line: 30, column: 65, }, }, }, ), arguments: [ Identifier( Identifier { id: "str", span: Span { start: Position { line: 30, column: 66, }, end: Position { line: 30, column: 69, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 30, column: 71, }, end: Position { line: 30, column: 78, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 30, column: 81, }, end: Position { line: 30, column: 83, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 45, }, end: Position { line: 30, column: 86, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 31, column: 9, }, end: Position { line: 31, column: 16, }, }, }, ), Raw( PartRaw { content: "bottom", span: Span { start: Position { line: 31, column: 17, }, end: Position { line: 31, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 31, column: 26, }, end: Position { line: 31, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mkOption", span: Span { start: Position { line: 31, column: 30, }, end: Position { line: 31, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 31, column: 41, }, end: Position { line: 31, column: 45, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "enum", span: Span { start: Position { line: 31, column: 48, }, end: Position { line: 31, column: 52, }, }, }, ), arguments: [ List( List { elements: [], span: Span { start: Position { line: 31, column: 53, }, end: Position { line: 31, column: 55, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 31, column: 39, }, end: Position { line: 31, column: 58, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 34, }, end: Position { line: 32, column: 8, }, }, }, ), span: Span { start: Position { line: 29, column: 17, }, end: Position { line: 32, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 33, column: 6, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 36, column: 7, }, end: Position { line: 36, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "default-a-is-b.nix", span: Span { start: Position { line: 36, column: 16, }, end: Position { line: 36, column: 34, }, }, }, ), ], span: Span { start: Position { line: 36, column: 15, }, end: Position { line: 36, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 37, column: 7, }, end: Position { line: 37, column: 14, }, }, }, ), ], to: Path( Path { parts: [ Raw( PartRaw { content: "./define-settingsDict-a-is-b.nix", span: Span { start: Position { line: 37, column: 17, }, end: Position { line: 37, column: 49, }, }, }, ), ], span: Span { start: Position { line: 37, column: 17, }, end: Position { line: 37, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 35, column: 5, }, end: Position { line: 38, column: 6, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 41, column: 7, }, end: Position { line: 41, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nodes-foo.nix", span: Span { start: Position { line: 41, column: 16, }, end: Position { line: 41, column: 29, }, }, }, ), ], span: Span { start: Position { line: 41, column: 15, }, end: Position { line: 41, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodes", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 12, }, }, }, ), Raw( PartRaw { content: "foo", span: Span { start: Position { line: 42, column: 13, }, end: Position { line: 42, column: 16, }, }, }, ), Raw( PartRaw { content: "settingsDict", span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 29, }, }, }, ), Raw( PartRaw { content: "b", span: Span { start: Position { line: 42, column: 30, }, end: Position { line: 42, column: 31, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "beta", span: Span { start: Position { line: 42, column: 35, }, end: Position { line: 42, column: 39, }, }, }, ), ], span: Span { start: Position { line: 42, column: 34, }, end: Position { line: 42, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 40, column: 5, }, end: Position { line: 43, column: 6, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 46, column: 7, }, end: Position { line: 46, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "the-file-that-contains-the-bad-config.nix", span: Span { start: Position { line: 46, column: 16, }, end: Position { line: 46, column: 57, }, }, }, ), ], span: Span { start: Position { line: 46, column: 15, }, end: Position { line: 46, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 47, column: 14, }, }, }, ), Raw( PartRaw { content: "bottom", span: Span { start: Position { line: 47, column: 15, }, end: Position { line: 47, column: 21, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "bogus", span: Span { start: Position { line: 47, column: 25, }, end: Position { line: 47, column: 30, }, }, }, ), ], span: Span { start: Position { line: 47, column: 24, }, end: Position { line: 47, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 45, column: 5, }, end: Position { line: 48, column: 6, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_file", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nodes-foo-c-is-a.nix", span: Span { start: Position { line: 51, column: 16, }, end: Position { line: 51, column: 36, }, }, }, ), ], span: Span { start: Position { line: 51, column: 15, }, end: Position { line: 51, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nodes", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 12, }, }, }, ), Raw( PartRaw { content: "foo", span: Span { start: Position { line: 52, column: 13, }, end: Position { line: 52, column: 16, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, ], }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "settingsDict", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 21, }, }, }, ), Raw( PartRaw { content: "c", span: Span { start: Position { line: 53, column: 22, }, end: Position { line: 53, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 53, column: 26, }, end: Position { line: 53, column: 32, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "settingsDict", span: Span { start: Position { line: 53, column: 33, }, end: Position { line: 53, column: 45, }, }, }, ), Raw( PartRaw { content: "a", span: Span { start: Position { line: 53, column: 46, }, end: Position { line: 53, column: 47, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 52, column: 36, }, end: Position { line: 54, column: 8, }, }, }, ), span: Span { start: Position { line: 52, column: 19, }, end: Position { line: 54, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 55, column: 6, }, }, }, ), ], span: Span { start: Position { line: 7, column: 13, }, end: Position { line: 57, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 58, column: 2, }, }, }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 58, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 58, column: 2, }, }, }, )