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: 6, column: 6, }, end: Position { line: 6, column: 9, }, }, }, ), 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: "netboot", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 12, }, }, }, ), Raw( PartRaw { content: "storeContents", span: Span { start: Position { line: 11, column: 13, }, end: Position { line: 11, column: 26, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 11, column: 29, }, end: Position { line: 11, column: 37, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 12, column: 7, }, end: Position { line: 12, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 12, column: 17, }, end: Position { line: 12, column: 34, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "[ pkgs.stdenv ]", span: Span { start: Position { line: 12, column: 36, }, end: Position { line: 12, column: 51, }, }, }, ), ], span: Span { start: Position { line: 12, column: 35, }, end: Position { line: 12, column: 52, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 13, column: 7, }, end: Position { line: 13, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 13, column: 21, }, end: Position { line: 13, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 13, column: 25, }, end: Position { line: 13, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "This option lists additional derivations to be included in the\nNix store in the generated netboot image.\n", span: Span { start: Position { line: 14, column: 1, }, end: Position { line: 16, column: 7, }, }, }, ), ], span: Span { start: Position { line: 13, column: 31, }, end: Position { line: 16, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 11, column: 38, }, end: Position { line: 17, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 19, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 21, column: 3, }, end: Position { line: 21, column: 9, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 24, column: 5, }, end: Position { line: 24, column: 9, }, }, }, ), Raw( PartRaw { content: "loader", span: Span { start: Position { line: 24, column: 10, }, end: Position { line: 24, column: 16, }, }, }, ), Raw( PartRaw { content: "grub", span: Span { start: Position { line: 24, column: 17, }, end: Position { line: 24, column: 21, }, }, }, ), Raw( PartRaw { content: "enable", span: Span { start: Position { line: 24, column: 22, }, end: Position { line: 24, column: 28, }, }, }, ), ], to: Identifier( Identifier { id: "false", span: Span { start: Position { line: 24, column: 31, }, end: Position { line: 24, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 16, }, }, }, ), Raw( PartRaw { content: "systemPackages", span: Span { start: Position { line: 27, column: 17, }, end: Position { line: 27, column: 31, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 27, column: 36, }, end: Position { line: 27, column: 40, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "grub2_efi", span: Span { start: Position { line: 27, column: 41, }, end: Position { line: 27, column: 50, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 27, column: 34, }, end: Position { line: 27, column: 52, }, }, }, ), operator: Concatenation, right: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 28, column: 14, }, end: Position { line: 28, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 28, column: 19, }, end: Position { line: 28, column: 25, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 28, column: 26, }, end: Position { line: 28, column: 38, }, }, }, ), Raw( PartRaw { content: "system", span: Span { start: Position { line: 28, column: 39, }, end: Position { line: 28, column: 45, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "aarch64-linux", span: Span { start: Position { line: 28, column: 50, }, end: Position { line: 28, column: 63, }, }, }, ), ], span: Span { start: Position { line: 28, column: 49, }, end: Position { line: 28, column: 64, }, }, }, ), }, ), then: List( List { elements: [], span: Span { start: Position { line: 29, column: 16, }, end: Position { line: 29, column: 18, }, }, }, ), else_: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 30, column: 18, }, end: Position { line: 30, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "grub2", span: Span { start: Position { line: 30, column: 23, }, end: Position { line: 30, column: 28, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 30, column: 29, }, end: Position { line: 30, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "syslinux", span: Span { start: Position { line: 30, column: 34, }, end: Position { line: 30, column: 42, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 30, column: 16, }, end: Position { line: 30, column: 44, }, }, }, ), span: Span { start: Position { line: 28, column: 11, }, end: Position { line: 30, column: 44, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fileSystems", span: Span { start: Position { line: 32, column: 5, }, end: Position { line: 32, column: 16, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "/", span: Span { start: Position { line: 32, column: 18, }, end: Position { line: 32, column: 19, }, }, }, ), ], span: Span { start: Position { line: 32, column: 17, }, end: Position { line: 32, column: 20, }, }, }, ), }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkImageMediaOverride", span: Span { start: Position { line: 32, column: 23, }, end: Position { line: 32, column: 43, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fsType", span: Span { start: Position { line: 33, column: 9, }, end: Position { line: 33, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "tmpfs", span: Span { start: Position { line: 33, column: 19, }, end: Position { line: 33, column: 24, }, }, }, ), ], span: Span { start: Position { line: 33, column: 18, }, end: Position { line: 33, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 34, column: 9, }, end: Position { line: 34, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "mode=0755", span: Span { start: Position { line: 34, column: 22, }, end: Position { line: 34, column: 31, }, }, }, ), ], span: Span { start: Position { line: 34, column: 21, }, end: Position { line: 34, column: 32, }, }, }, ), ], span: Span { start: Position { line: 34, column: 19, }, end: Position { line: 34, column: 34, }, }, }, ), }, ), ], span: Span { start: Position { line: 33, column: 7, }, end: Position { line: 35, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fileSystems", span: Span { start: Position { line: 39, column: 5, }, end: Position { line: 39, column: 16, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "/nix/.ro-store", span: Span { start: Position { line: 39, column: 18, }, end: Position { line: 39, column: 32, }, }, }, ), ], span: Span { start: Position { line: 39, column: 17, }, end: Position { line: 39, column: 33, }, }, }, ), }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkImageMediaOverride", span: Span { start: Position { line: 39, column: 36, }, end: Position { line: 39, column: 56, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fsType", span: Span { start: Position { line: 40, column: 9, }, end: Position { line: 40, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "squashfs", span: Span { start: Position { line: 40, column: 19, }, end: Position { line: 40, column: 27, }, }, }, ), ], span: Span { start: Position { line: 40, column: 18, }, end: Position { line: 40, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 41, column: 9, }, end: Position { line: 41, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "../nix-store.squashfs", span: Span { start: Position { line: 41, column: 19, }, end: Position { line: 41, column: 40, }, }, }, ), ], span: Span { start: Position { line: 41, column: 18, }, end: Position { line: 41, column: 41, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 42, column: 9, }, end: Position { line: 42, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "loop", span: Span { start: Position { line: 42, column: 22, }, end: Position { line: 42, column: 26, }, }, }, ), ], span: Span { start: Position { line: 42, column: 21, }, end: Position { line: 42, column: 27, }, }, }, ), ], span: Span { start: Position { line: 42, column: 19, }, end: Position { line: 42, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "neededForBoot", span: Span { start: Position { line: 43, column: 9, }, end: Position { line: 43, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 43, column: 25, }, end: Position { line: 43, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 40, column: 7, }, end: Position { line: 44, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fileSystems", span: Span { start: Position { line: 46, column: 5, }, end: Position { line: 46, column: 16, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "/nix/.rw-store", span: Span { start: Position { line: 46, column: 18, }, end: Position { line: 46, column: 32, }, }, }, ), ], span: Span { start: Position { line: 46, column: 17, }, end: Position { line: 46, column: 33, }, }, }, ), }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkImageMediaOverride", span: Span { start: Position { line: 46, column: 36, }, end: Position { line: 46, column: 56, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fsType", span: Span { start: Position { line: 47, column: 9, }, end: Position { line: 47, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "tmpfs", span: Span { start: Position { line: 47, column: 19, }, end: Position { line: 47, column: 24, }, }, }, ), ], span: Span { start: Position { line: 47, column: 18, }, end: Position { line: 47, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 48, column: 9, }, end: Position { line: 48, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "mode=0755", span: Span { start: Position { line: 48, column: 22, }, end: Position { line: 48, column: 31, }, }, }, ), ], span: Span { start: Position { line: 48, column: 21, }, end: Position { line: 48, column: 32, }, }, }, ), ], span: Span { start: Position { line: 48, column: 19, }, end: Position { line: 48, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "neededForBoot", span: Span { start: Position { line: 49, column: 9, }, end: Position { line: 49, column: 22, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 49, column: 25, }, end: Position { line: 49, column: 29, }, }, }, ), }, ), ], span: Span { start: Position { line: 47, column: 7, }, end: Position { line: 50, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fileSystems", span: Span { start: Position { line: 52, column: 5, }, end: Position { line: 52, column: 16, }, }, }, ), Expression( PartExpression { expression: String( String_ { parts: [ Raw( PartRaw { content: "/nix/store", span: Span { start: Position { line: 52, column: 18, }, end: Position { line: 52, column: 28, }, }, }, ), ], span: Span { start: Position { line: 52, column: 17, }, end: Position { line: 52, column: 29, }, }, }, ), }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkImageMediaOverride", span: Span { start: Position { line: 52, column: 32, }, end: Position { line: 52, column: 52, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fsType", span: Span { start: Position { line: 53, column: 9, }, end: Position { line: 53, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "overlay", span: Span { start: Position { line: 53, column: 19, }, end: Position { line: 53, column: 26, }, }, }, ), ], span: Span { start: Position { line: 53, column: 18, }, end: Position { line: 53, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 54, column: 9, }, end: Position { line: 54, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "overlay", span: Span { start: Position { line: 54, column: 19, }, end: Position { line: 54, column: 26, }, }, }, ), ], span: Span { start: Position { line: 54, column: 18, }, end: Position { line: 54, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 55, column: 9, }, end: Position { line: 55, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "lowerdir=/nix/.ro-store", span: Span { start: Position { line: 56, column: 12, }, end: Position { line: 56, column: 35, }, }, }, ), ], span: Span { start: Position { line: 56, column: 11, }, end: Position { line: 56, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "upperdir=/nix/.rw-store/store", span: Span { start: Position { line: 57, column: 12, }, end: Position { line: 57, column: 41, }, }, }, ), ], span: Span { start: Position { line: 57, column: 11, }, end: Position { line: 57, column: 42, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "workdir=/nix/.rw-store/work", span: Span { start: Position { line: 58, column: 12, }, end: Position { line: 58, column: 39, }, }, }, ), ], span: Span { start: Position { line: 58, column: 11, }, end: Position { line: 58, column: 40, }, }, }, ), ], span: Span { start: Position { line: 55, column: 19, }, end: Position { line: 59, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "depends", span: Span { start: Position { line: 61, column: 9, }, end: Position { line: 61, column: 16, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "/nix/.ro-store", span: Span { start: Position { line: 62, column: 12, }, end: Position { line: 62, column: 26, }, }, }, ), ], span: Span { start: Position { line: 62, column: 11, }, end: Position { line: 62, column: 27, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/nix/.rw-store/store", span: Span { start: Position { line: 63, column: 12, }, end: Position { line: 63, column: 32, }, }, }, ), ], span: Span { start: Position { line: 63, column: 11, }, end: Position { line: 63, column: 33, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "/nix/.rw-store/work", span: Span { start: Position { line: 64, column: 12, }, end: Position { line: 64, column: 31, }, }, }, ), ], span: Span { start: Position { line: 64, column: 11, }, end: Position { line: 64, column: 32, }, }, }, ), ], span: Span { start: Position { line: 61, column: 19, }, end: Position { line: 65, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 66, column: 8, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 68, column: 5, }, end: Position { line: 68, column: 9, }, }, }, ), Raw( PartRaw { content: "initrd", span: Span { start: Position { line: 68, column: 10, }, end: Position { line: 68, column: 16, }, }, }, ), Raw( PartRaw { content: "availableKernelModules", span: Span { start: Position { line: 68, column: 17, }, end: Position { line: 68, column: 39, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "squashfs", span: Span { start: Position { line: 68, column: 45, }, end: Position { line: 68, column: 53, }, }, }, ), ], span: Span { start: Position { line: 68, column: 44, }, end: Position { line: 68, column: 54, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "overlay", span: Span { start: Position { line: 68, column: 56, }, end: Position { line: 68, column: 63, }, }, }, ), ], span: Span { start: Position { line: 68, column: 55, }, end: Position { line: 68, column: 64, }, }, }, ), ], span: Span { start: Position { line: 68, column: 42, }, end: Position { line: 68, column: 66, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 70, column: 5, }, end: Position { line: 70, column: 9, }, }, }, ), Raw( PartRaw { content: "initrd", span: Span { start: Position { line: 70, column: 10, }, end: Position { line: 70, column: 16, }, }, }, ), Raw( PartRaw { content: "kernelModules", span: Span { start: Position { line: 70, column: 17, }, end: Position { line: 70, column: 30, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "loop", span: Span { start: Position { line: 70, column: 36, }, end: Position { line: 70, column: 40, }, }, }, ), ], span: Span { start: Position { line: 70, column: 35, }, end: Position { line: 70, column: 41, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "overlay", span: Span { start: Position { line: 70, column: 43, }, end: Position { line: 70, column: 50, }, }, }, ), ], span: Span { start: Position { line: 70, column: 42, }, end: Position { line: 70, column: 51, }, }, }, ), ], span: Span { start: Position { line: 70, column: 33, }, end: Position { line: 70, column: 53, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "netboot", span: Span { start: Position { line: 74, column: 5, }, end: Position { line: 74, column: 12, }, }, }, ), Raw( PartRaw { content: "storeContents", span: Span { start: Position { line: 74, column: 13, }, end: Position { line: 74, column: 26, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 75, column: 9, }, end: Position { line: 75, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 75, column: 16, }, end: Position { line: 75, column: 22, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 75, column: 23, }, end: Position { line: 75, column: 28, }, }, }, ), Raw( PartRaw { content: "toplevel", span: Span { start: Position { line: 75, column: 29, }, end: Position { line: 75, column: 37, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 75, column: 7, }, end: Position { line: 75, column: 39, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 78, column: 5, }, end: Position { line: 78, column: 11, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 78, column: 12, }, end: Position { line: 78, column: 17, }, }, }, ), Raw( PartRaw { content: "squashfsStore", span: Span { start: Position { line: 78, column: 18, }, end: Position { line: 78, column: 31, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 78, column: 34, }, end: Position { line: 78, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "callPackage", span: Span { start: Position { line: 78, column: 39, }, end: Position { line: 78, column: 50, }, }, }, ), ], default: None, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "../../../lib/make-squashfs.nix", span: Span { start: Position { line: 78, column: 51, }, end: Position { line: 78, column: 81, }, }, }, ), ], span: Span { start: Position { line: 78, column: 51, }, end: Position { line: 78, column: 81, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "storeContents", span: Span { start: Position { line: 79, column: 7, }, end: Position { line: 79, column: 20, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 79, column: 23, }, end: Position { line: 79, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "netboot", span: Span { start: Position { line: 79, column: 30, }, end: Position { line: 79, column: 37, }, }, }, ), Raw( PartRaw { content: "storeContents", span: Span { start: Position { line: 79, column: 38, }, end: Position { line: 79, column: 51, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 78, column: 82, }, end: Position { line: 80, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 84, column: 5, }, end: Position { line: 84, column: 11, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 84, column: 12, }, end: Position { line: 84, column: 17, }, }, }, ), Raw( PartRaw { content: "netbootRamdisk", span: Span { start: Position { line: 84, column: 18, }, end: Position { line: 84, column: 32, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 84, column: 35, }, end: Position { line: 84, column: 39, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "makeInitrdNG", span: Span { start: Position { line: 84, column: 40, }, end: Position { line: 84, column: 52, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: Some( PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 85, column: 16, }, end: Position { line: 85, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 85, column: 23, }, end: Position { line: 85, column: 27, }, }, }, ), Raw( PartRaw { content: "initrd", span: Span { start: Position { line: 85, column: 28, }, end: Position { line: 85, column: 34, }, }, }, ), ], default: None, }, ), ), attributes: [ Raw( PartRaw { content: "compressor", span: Span { start: Position { line: 85, column: 36, }, end: Position { line: 85, column: 46, }, }, }, ), ], span: Span { start: Position { line: 84, column: 54, }, end: Position { line: 85, column: 47, }, }, }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "prepend", span: Span { start: Position { line: 86, column: 7, }, end: Position { line: 86, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 86, column: 22, }, end: Position { line: 86, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 86, column: 29, }, end: Position { line: 86, column: 35, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 86, column: 36, }, end: Position { line: 86, column: 41, }, }, }, ), Raw( PartRaw { content: "initialRamdisk", span: Span { start: Position { line: 86, column: 42, }, end: Position { line: 86, column: 56, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/initrd", span: Span { start: Position { line: 86, column: 20, }, end: Position { line: 86, column: 64, }, }, }, ), ], span: Span { start: Position { line: 86, column: 19, }, end: Position { line: 86, column: 65, }, }, }, ), ], span: Span { start: Position { line: 86, column: 17, }, end: Position { line: 86, column: 67, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "contents", span: Span { start: Position { line: 88, column: 7, }, end: Position { line: 88, column: 15, }, }, }, ), ], to: List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "object", span: Span { start: Position { line: 89, column: 13, }, end: Position { line: 89, column: 19, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 89, column: 22, }, end: Position { line: 89, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 89, column: 29, }, end: Position { line: 89, column: 35, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 89, column: 36, }, end: Position { line: 89, column: 41, }, }, }, ), Raw( PartRaw { content: "squashfsStore", span: Span { start: Position { line: 89, column: 42, }, end: Position { line: 89, column: 55, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "symlink", span: Span { start: Position { line: 90, column: 13, }, end: Position { line: 90, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/nix-store.squashfs", span: Span { start: Position { line: 90, column: 24, }, end: Position { line: 90, column: 43, }, }, }, ), ], span: Span { start: Position { line: 90, column: 23, }, end: Position { line: 90, column: 44, }, }, }, ), }, ), ], span: Span { start: Position { line: 89, column: 11, }, end: Position { line: 91, column: 12, }, }, }, ), ], span: Span { start: Position { line: 89, column: 9, }, end: Position { line: 92, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 84, column: 53, }, end: Position { line: 93, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 95, column: 5, }, end: Position { line: 95, column: 11, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 95, column: 12, }, end: Position { line: 95, column: 17, }, }, }, ), Raw( PartRaw { content: "netbootIpxeScript", span: Span { start: Position { line: 95, column: 18, }, end: Position { line: 95, column: 35, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 95, column: 38, }, end: Position { line: 95, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeTextDir", span: Span { start: Position { line: 95, column: 43, }, end: Position { line: 95, column: 55, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "netboot.ipxe", span: Span { start: Position { line: 95, column: 57, }, end: Position { line: 95, column: 69, }, }, }, ), ], span: Span { start: Position { line: 95, column: 56, }, end: Position { line: 95, column: 70, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "#!ipxe\n# Use the cmdline variable to allow the user to specify custom kernel params\n# when chainloading this script from other iPXE scripts like netboot.xyz\nkernel ", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 99, column: 14, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 99, column: 16, }, end: Position { line: 99, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 99, column: 21, }, end: Position { line: 99, column: 27, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 99, column: 28, }, end: Position { line: 99, column: 40, }, }, }, ), Raw( PartRaw { content: "linux-kernel", span: Span { start: Position { line: 99, column: 41, }, end: Position { line: 99, column: 53, }, }, }, ), Raw( PartRaw { content: "target", span: Span { start: Position { line: 99, column: 54, }, end: Position { line: 99, column: 60, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " init=", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 99, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 99, column: 69, }, end: Position { line: 99, column: 75, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 99, column: 76, }, end: Position { line: 99, column: 82, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 99, column: 83, }, end: Position { line: 99, column: 88, }, }, }, ), Raw( PartRaw { content: "toplevel", span: Span { start: Position { line: 99, column: 89, }, end: Position { line: 99, column: 97, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/init initrd=initrd ", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 99, column: 118, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 99, column: 120, }, end: Position { line: 99, column: 128, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 99, column: 129, }, end: Position { line: 99, column: 135, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 99, column: 136, }, end: Position { line: 99, column: 140, }, }, }, ), Raw( PartRaw { content: "kernelParams", span: Span { start: Position { line: 99, column: 141, }, end: Position { line: 99, column: 153, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 99, column: 155, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 99, column: 158, }, }, }, ), Raw( PartRaw { content: "{cmdline}\ninitrd initrd\nboot\n", span: Span { start: Position { line: 96, column: 1, }, end: Position { line: 102, column: 5, }, }, }, ), ], span: Span { start: Position { line: 95, column: 71, }, end: Position { line: 102, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 106, column: 5, }, end: Position { line: 106, column: 11, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 106, column: 12, }, end: Position { line: 106, column: 17, }, }, }, ), Raw( PartRaw { content: "kexecScript", span: Span { start: Position { line: 106, column: 18, }, end: Position { line: 106, column: 29, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 106, column: 32, }, end: Position { line: 106, column: 36, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeScript", span: Span { start: Position { line: 106, column: 37, }, end: Position { line: 106, column: 48, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "kexec-boot", span: Span { start: Position { line: 106, column: 50, }, end: Position { line: 106, column: 60, }, }, }, ), ], span: Span { start: Position { line: 106, column: 49, }, end: Position { line: 106, column: 61, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "#!/usr/bin/env bash\nif ! kexec -v >/dev/null 2>&1; then\n echo \"kexec not found: please install kexec-tools\" 2>&1\n exit 1\nfi\nSCRIPT_DIR=$( cd -- \"$( dirname -- \"", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 112, column: 43, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 112, column: 46, }, }, }, ), Raw( PartRaw { content: "{BASH_SOURCE[0]}\" )\" &> /dev/null && pwd )\nkexec --load ", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 113, column: 20, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 113, column: 23, }, }, }, ), Raw( PartRaw { content: "{SCRIPT_DIR}/bzImage \\\n --initrd=", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 114, column: 18, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 114, column: 21, }, }, }, ), Raw( PartRaw { content: "{SCRIPT_DIR}/initrd.gz \\\n --command-line \"init=", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 115, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 115, column: 32, }, end: Position { line: 115, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 115, column: 39, }, end: Position { line: 115, column: 45, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 115, column: 46, }, end: Position { line: 115, column: 51, }, }, }, ), Raw( PartRaw { content: "toplevel", span: Span { start: Position { line: 115, column: 52, }, end: Position { line: 115, column: 60, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/init ", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 115, column: 67, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 115, column: 69, }, end: Position { line: 115, column: 77, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 115, column: 78, }, end: Position { line: 115, column: 84, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 115, column: 85, }, end: Position { line: 115, column: 89, }, }, }, ), Raw( PartRaw { content: "kernelParams", span: Span { start: Position { line: 115, column: 90, }, end: Position { line: 115, column: 102, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\"\nkexec -e\n", span: Span { start: Position { line: 107, column: 1, }, end: Position { line: 117, column: 5, }, }, }, ), ], span: Span { start: Position { line: 106, column: 62, }, end: Position { line: 117, column: 7, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 120, column: 5, }, end: Position { line: 120, column: 11, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 120, column: 12, }, end: Position { line: 120, column: 17, }, }, }, ), Raw( PartRaw { content: "kexecTree", span: Span { start: Position { line: 120, column: 18, }, end: Position { line: 120, column: 27, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 120, column: 30, }, end: Position { line: 120, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "linkFarm", span: Span { start: Position { line: 120, column: 35, }, end: Position { line: 120, column: 43, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "kexec-tree", span: Span { start: Position { line: 120, column: 45, }, end: Position { line: 120, column: 55, }, }, }, ), ], span: Span { start: Position { line: 120, column: 44, }, end: Position { line: 120, column: 56, }, }, }, ), List( List { elements: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 122, column: 9, }, end: Position { line: 122, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "initrd.gz", span: Span { start: Position { line: 122, column: 17, }, end: Position { line: 122, column: 26, }, }, }, ), ], span: Span { start: Position { line: 122, column: 16, }, end: Position { line: 122, column: 27, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 123, column: 9, }, end: Position { line: 123, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 123, column: 19, }, end: Position { line: 123, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 123, column: 26, }, end: Position { line: 123, column: 32, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 123, column: 33, }, end: Position { line: 123, column: 38, }, }, }, ), Raw( PartRaw { content: "netbootRamdisk", span: Span { start: Position { line: 123, column: 39, }, end: Position { line: 123, column: 53, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/initrd", span: Span { start: Position { line: 123, column: 17, }, end: Position { line: 123, column: 61, }, }, }, ), ], span: Span { start: Position { line: 123, column: 16, }, end: Position { line: 123, column: 62, }, }, }, ), }, ), ], span: Span { start: Position { line: 121, column: 7, }, end: Position { line: 124, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 126, column: 9, }, end: Position { line: 126, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "bzImage", span: Span { start: Position { line: 126, column: 17, }, end: Position { line: 126, column: 24, }, }, }, ), ], span: Span { start: Position { line: 126, column: 16, }, end: Position { line: 126, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 127, column: 9, }, end: Position { line: 127, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 127, column: 19, }, end: Position { line: 127, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 127, column: 26, }, end: Position { line: 127, column: 32, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 127, column: 33, }, end: Position { line: 127, column: 38, }, }, }, ), Raw( PartRaw { content: "kernel", span: Span { start: Position { line: 127, column: 39, }, end: Position { line: 127, column: 45, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/", span: Span { start: Position { line: 127, column: 17, }, end: Position { line: 127, column: 47, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 127, column: 49, }, end: Position { line: 127, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 127, column: 56, }, end: Position { line: 127, column: 62, }, }, }, ), Raw( PartRaw { content: "boot", span: Span { start: Position { line: 127, column: 63, }, end: Position { line: 127, column: 67, }, }, }, ), Raw( PartRaw { content: "loader", span: Span { start: Position { line: 127, column: 68, }, end: Position { line: 127, column: 74, }, }, }, ), Raw( PartRaw { content: "kernelFile", span: Span { start: Position { line: 127, column: 75, }, end: Position { line: 127, column: 85, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 127, column: 16, }, end: Position { line: 127, column: 87, }, }, }, ), }, ), ], span: Span { start: Position { line: 125, column: 7, }, end: Position { line: 128, column: 8, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 130, column: 9, }, end: Position { line: 130, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "kexec-boot", span: Span { start: Position { line: 130, column: 17, }, end: Position { line: 130, column: 27, }, }, }, ), ], span: Span { start: Position { line: 130, column: 16, }, end: Position { line: 130, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 131, column: 9, }, end: Position { line: 131, column: 13, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 131, column: 16, }, end: Position { line: 131, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 131, column: 23, }, end: Position { line: 131, column: 29, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 131, column: 30, }, end: Position { line: 131, column: 35, }, }, }, ), Raw( PartRaw { content: "kexecScript", span: Span { start: Position { line: 131, column: 36, }, end: Position { line: 131, column: 47, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 129, column: 7, }, end: Position { line: 132, column: 8, }, }, }, ), ], span: Span { start: Position { line: 120, column: 57, }, end: Position { line: 133, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 135, column: 5, }, end: Position { line: 135, column: 9, }, }, }, ), Raw( PartRaw { content: "loader", span: Span { start: Position { line: 135, column: 10, }, end: Position { line: 135, column: 16, }, }, }, ), Raw( PartRaw { content: "timeout", span: Span { start: Position { line: 135, column: 17, }, end: Position { line: 135, column: 24, }, }, }, ), ], to: Integer( Integer { value: "10", span: Span { start: Position { line: 135, column: 27, }, end: Position { line: 135, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 137, column: 5, }, end: Position { line: 137, column: 9, }, }, }, ), Raw( PartRaw { content: "postBootCommands", span: Span { start: Position { line: 137, column: 10, }, end: Position { line: 137, column: 26, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "# After booting, register the contents of the Nix store\n# in the Nix database in the tmpfs.\n", span: Span { start: Position { line: 139, column: 1, }, end: Position { line: 141, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 141, column: 11, }, end: Position { line: 141, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 141, column: 18, }, end: Position { line: 141, column: 21, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 141, column: 22, }, end: Position { line: 141, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/nix-store --load-db < /nix/store/nix-path-registration\n\n# nixos-rebuild also requires a \"system\" profile and an\n# /etc/NIXOS tag.\ntouch /etc/NIXOS\n", span: Span { start: Position { line: 139, column: 1, }, end: Position { line: 146, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 146, column: 11, }, end: Position { line: 146, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nix", span: Span { start: Position { line: 146, column: 18, }, end: Position { line: 146, column: 21, }, }, }, ), Raw( PartRaw { content: "package", span: Span { start: Position { line: 146, column: 22, }, end: Position { line: 146, column: 29, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/nix-env -p /nix/var/nix/profiles/system --set /run/current-system\n", span: Span { start: Position { line: 139, column: 1, }, end: Position { line: 147, column: 7, }, }, }, ), ], span: Span { start: Position { line: 138, column: 7, }, end: Position { line: 147, column: 9, }, }, }, ), }, ), ], span: Span { start: Position { line: 21, column: 12, }, end: Position { line: 149, column: 4, }, }, }, ), }, ), ], span: Span { start: Position { line: 8, column: 1, }, end: Position { line: 151, column: 2, }, }, }, ), span: Span { start: Position { line: 6, column: 1, }, end: Position { line: 151, column: 2, }, }, }, ), span: Span { start: Position { line: 4, column: 1, }, end: Position { line: 151, column: 2, }, }, }, )