Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "libPath", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgsLibPath", default: None, }, FunctionHeadDestructuredArgument { identifier: "nixosPath", default: None, }, FunctionHeadDestructuredArgument { identifier: "modules", default: None, }, FunctionHeadDestructuredArgument { identifier: "stateVersion", default: None, }, FunctionHeadDestructuredArgument { identifier: "release", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 10, column: 3, }, end: Position { line: 10, column: 6, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 10, column: 9, }, end: Position { line: 10, column: 15, }, }, }, ), arguments: [ Identifier( Identifier { id: "libPath", span: Span { start: Position { line: 10, column: 16, }, end: Position { line: 10, column: 23, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modulesPath", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "nixosPath", span: Span { start: Position { line: 11, column: 20, }, end: Position { line: 11, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: "/modules", span: Span { start: Position { line: 11, column: 18, }, end: Position { line: 11, column: 38, }, }, }, ), ], span: Span { start: Position { line: 11, column: 17, }, end: Position { line: 11, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 14, column: 3, }, end: Position { line: 14, column: 7, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 14, column: 10, }, end: Position { line: 14, column: 16, }, }, }, ), arguments: [ Identifier( Identifier { id: "pkgsLibPath", span: Span { start: Position { line: 14, column: 17, }, end: Position { line: 14, column: 28, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 15, column: 13, }, end: Position { line: 15, column: 16, }, }, }, ), ], span: Span { start: Position { line: 14, column: 30, }, end: Position { line: 15, column: 17, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 16, column: 5, }, end: Position { line: 16, column: 9, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 16, column: 12, }, end: Position { line: 16, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 14, column: 29, }, end: Position { line: 17, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "utils", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 18, column: 11, }, end: Position { line: 18, column: 17, }, }, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "nixosPath", span: Span { start: Position { line: 18, column: 21, }, end: Position { line: 18, column: 30, }, }, }, ), }, ), Raw( PartRaw { content: "/lib/utils.nix", span: Span { start: Position { line: 18, column: 19, }, end: Position { line: 18, column: 45, }, }, }, ), ], span: Span { start: Position { line: 18, column: 18, }, end: Position { line: 18, column: 46, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 19, column: 13, }, end: Position { line: 19, column: 19, }, }, }, ), Raw( PartRaw { content: "lib", span: Span { start: Position { line: 19, column: 20, }, end: Position { line: 19, column: 23, }, }, }, ), ], span: Span { start: Position { line: 18, column: 48, }, end: Position { line: 19, column: 24, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 20, column: 5, }, end: Position { line: 20, column: 9, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 20, column: 12, }, end: Position { line: 20, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 18, column: 47, }, end: Position { line: 21, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 25, column: 3, }, end: Position { line: 25, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 26, column: 5, }, end: Position { line: 26, column: 12, }, }, }, ), Raw( PartRaw { content: "check", span: Span { start: Position { line: 26, column: 13, }, end: Position { line: 26, column: 18, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 26, column: 21, }, end: Position { line: 26, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "_module", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 12, }, }, }, ), Raw( PartRaw { content: "args", span: Span { start: Position { line: 27, column: 13, }, end: Position { line: 27, column: 17, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 27, column: 20, }, end: Position { line: 27, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 28, column: 5, }, end: Position { line: 28, column: 11, }, }, }, ), Raw( PartRaw { content: "stateVersion", span: Span { start: Position { line: 28, column: 12, }, end: Position { line: 28, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "stateVersion", span: Span { start: Position { line: 28, column: 27, }, end: Position { line: 28, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 25, column: 12, }, end: Position { line: 29, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "eval", span: Span { start: Position { line: 30, column: 3, }, end: Position { line: 30, column: 7, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 30, column: 10, }, end: Position { line: 30, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "evalModules", span: Span { start: Position { line: 30, column: 14, }, end: Position { line: 30, column: 25, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modules", span: Span { start: Position { line: 31, column: 5, }, end: Position { line: 31, column: 12, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "map", span: Span { start: Position { line: 31, column: 16, }, end: Position { line: 31, column: 19, }, }, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "m", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "modulesPath", span: Span { start: Position { line: 31, column: 27, }, end: Position { line: 31, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 31, column: 25, }, end: Position { line: 31, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "m", span: Span { start: Position { line: 31, column: 42, }, end: Position { line: 31, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 31, column: 24, }, end: Position { line: 31, column: 45, }, }, }, ), span: Span { start: Position { line: 31, column: 21, }, end: Position { line: 31, column: 45, }, }, }, ), Identifier( Identifier { id: "modules", span: Span { start: Position { line: 31, column: 47, }, end: Position { line: 31, column: 54, }, }, }, ), ], }, ), operator: Concatenation, right: List( List { elements: [ Identifier( Identifier { id: "config", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 13, }, }, }, ), ], span: Span { start: Position { line: 31, column: 59, }, end: Position { line: 33, column: 6, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "specialArgs", span: Span { start: Position { line: 34, column: 5, }, end: Position { line: 34, column: 16, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 35, column: 15, }, end: Position { line: 35, column: 21, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 35, column: 22, }, end: Position { line: 35, column: 26, }, }, }, ), Raw( PartRaw { content: "utils", span: Span { start: Position { line: 35, column: 27, }, end: Position { line: 35, column: 32, }, }, }, ), ], span: Span { start: Position { line: 34, column: 20, }, end: Position { line: 35, column: 33, }, }, }, ), ], span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 36, column: 6, }, }, }, ), }, ), ], span: Span { start: Position { line: 30, column: 26, }, end: Position { line: 37, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "docs", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 7, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 38, column: 10, }, end: Position { line: 38, column: 16, }, }, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "nixosPath", span: Span { start: Position { line: 38, column: 20, }, end: Position { line: 38, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: "/doc/manual", span: Span { start: Position { line: 38, column: 18, }, end: Position { line: 38, column: 41, }, }, }, ), ], span: Span { start: Position { line: 38, column: 17, }, end: Position { line: 38, column: 42, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 9, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 39, column: 12, }, end: Position { line: 39, column: 16, }, }, }, ), operator: Update, right: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 40, column: 15, }, end: Position { line: 40, column: 18, }, }, }, ), ], span: Span { start: Position { line: 39, column: 21, }, end: Position { line: 40, column: 19, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "buildPackages", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 20, }, }, }, ), Raw( PartRaw { content: "nixosOptionsDoc", span: Span { start: Position { line: 42, column: 21, }, end: Position { line: 42, column: 36, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 43, column: 10, }, end: Position { line: 43, column: 16, }, }, }, ), arguments: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "nixosPath", span: Span { start: Position { line: 43, column: 20, }, end: Position { line: 43, column: 29, }, }, }, ), }, ), Raw( PartRaw { content: "/lib/make-options-doc", span: Span { start: Position { line: 43, column: 18, }, end: Position { line: 43, column: 51, }, }, }, ), ], span: Span { start: Position { line: 43, column: 17, }, end: Position { line: 43, column: 52, }, }, }, ), BinaryOperation( BinaryOperation { left: Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 44, column: 22, }, end: Position { line: 44, column: 26, }, }, }, ), Raw( PartRaw { content: "lib", span: Span { start: Position { line: 44, column: 27, }, end: Position { line: 44, column: 30, }, }, }, ), ], span: Span { start: Position { line: 44, column: 13, }, end: Position { line: 44, column: 31, }, }, }, ), ], span: Span { start: Position { line: 44, column: 12, }, end: Position { line: 44, column: 33, }, }, }, ), operator: Update, right: Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 44, column: 37, }, end: Position { line: 44, column: 42, }, }, }, ), }, ), ], }, ), span: Span { start: Position { line: 42, column: 39, }, end: Position { line: 44, column: 43, }, }, }, ), }, ), ], span: Span { start: Position { line: 39, column: 20, }, end: Position { line: 45, column: 6, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 46, column: 5, }, end: Position { line: 46, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 46, column: 14, }, end: Position { line: 46, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 46, column: 21, }, end: Position { line: 46, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 47, column: 5, }, end: Position { line: 47, column: 12, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "eval", span: Span { start: Position { line: 47, column: 15, }, end: Position { line: 47, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 47, column: 20, }, end: Position { line: 47, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "version", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 12, }, }, }, ), ], to: Identifier( Identifier { id: "release", span: Span { start: Position { line: 48, column: 15, }, end: Position { line: 48, column: 22, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "revision", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "release-", span: Span { start: Position { line: 49, column: 17, }, end: Position { line: 49, column: 35, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "release", span: Span { start: Position { line: 49, column: 27, }, end: Position { line: 49, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 49, column: 16, }, end: Position { line: 49, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prefix", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 11, }, }, }, ), ], to: Identifier( Identifier { id: "modulesPath", span: Span { start: Position { line: 50, column: 14, }, end: Position { line: 50, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 38, column: 43, }, end: Position { line: 51, column: 4, }, }, }, ), ], }, ), }, ), ], target: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "docs", span: Span { start: Position { line: 53, column: 3, }, end: Position { line: 53, column: 7, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionsNix", span: Span { start: Position { line: 53, column: 8, }, end: Position { line: 53, column: 18, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 9, column: 1, }, end: Position { line: 53, column: 18, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 53, column: 18, }, }, }, )