Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "bootSize", default: Some( Integer( Integer { value: "1024", span: Span { start: Position { line: 33, column: 14, }, end: Position { line: 33, column: 18, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "rootSize", default: Some( Integer( Integer { value: "2048", span: Span { start: Position { line: 36, column: 14, }, end: Position { line: 36, column: 18, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "rootPoolName", default: Some( String( String_ { parts: [ Raw( PartRaw { content: "tank", span: Span { start: Position { line: 39, column: 19, }, end: Position { line: 39, column: 23, }, }, }, ), ], span: Span { start: Position { line: 39, column: 18, }, end: Position { line: 39, column: 24, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "rootPoolProperties", default: Some( Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "autoexpand", span: Span { start: Position { line: 43, column: 5, }, end: Position { line: 43, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on", span: Span { start: Position { line: 43, column: 19, }, end: Position { line: 43, column: 21, }, }, }, ), ], span: Span { start: Position { line: 43, column: 18, }, end: Position { line: 43, column: 22, }, }, }, ), }, ), ], span: Span { start: Position { line: 42, column: 24, }, end: Position { line: 44, column: 4, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "rootPoolFilesystemProperties", default: Some( Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "acltype", span: Span { start: Position { line: 47, column: 5, }, end: Position { line: 47, column: 12, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "posixacl", span: Span { start: Position { line: 47, column: 16, }, end: Position { line: 47, column: 24, }, }, }, ), ], span: Span { start: Position { line: 47, column: 15, }, end: Position { line: 47, column: 25, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "atime", span: Span { start: Position { line: 48, column: 5, }, end: Position { line: 48, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "off", span: Span { start: Position { line: 48, column: 14, }, end: Position { line: 48, column: 17, }, }, }, ), ], span: Span { start: Position { line: 48, column: 13, }, end: Position { line: 48, column: 18, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "compression", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 16, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "on", span: Span { start: Position { line: 49, column: 20, }, end: Position { line: 49, column: 22, }, }, }, ), ], span: Span { start: Position { line: 49, column: 19, }, end: Position { line: 49, column: 23, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mountpoint", span: Span { start: Position { line: 50, column: 5, }, end: Position { line: 50, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "legacy", span: Span { start: Position { line: 50, column: 19, }, end: Position { line: 50, column: 25, }, }, }, ), ], span: Span { start: Position { line: 50, column: 18, }, end: Position { line: 50, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "xattr", span: Span { start: Position { line: 51, column: 5, }, end: Position { line: 51, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "sa", span: Span { start: Position { line: 51, column: 14, }, end: Position { line: 51, column: 16, }, }, }, ), ], span: Span { start: Position { line: 51, column: 13, }, end: Position { line: 51, column: 17, }, }, }, ), }, ), ], span: Span { start: Position { line: 46, column: 34, }, end: Position { line: 52, column: 4, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "datasets", default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 60, column: 14, }, end: Position { line: 60, column: 17, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "contents", default: Some( List( List { elements: [], span: Span { start: Position { line: 66, column: 14, }, end: Position { line: 66, column: 16, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "configFile", default: Some( Identifier( Identifier { id: "null", span: Span { start: Position { line: 71, column: 16, }, end: Position { line: 71, column: 20, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "postVM", default: Some( String( String_ { parts: [], span: Span { start: Position { line: 74, column: 12, }, end: Position { line: 74, column: 14, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "name", default: Some( String( String_ { parts: [ Raw( PartRaw { content: "nixos-disk-image", span: Span { start: Position { line: 76, column: 11, }, end: Position { line: 76, column: 27, }, }, }, ), ], span: Span { start: Position { line: 76, column: 10, }, end: Position { line: 76, column: 28, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "format", default: Some( String( String_ { parts: [ Raw( PartRaw { content: "raw", span: Span { start: Position { line: 79, column: 13, }, end: Position { line: 79, column: 16, }, }, }, ), ], span: Span { start: Position { line: 79, column: 12, }, end: Position { line: 79, column: 17, }, }, }, ), ), }, FunctionHeadDestructuredArgument { identifier: "includeChannel", default: Some( Identifier( Identifier { id: "true", span: Span { start: Position { line: 82, column: 20, }, end: Position { line: 82, column: 24, }, }, }, ), ), }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "formatOpt", span: Span { start: Position { line: 85, column: 3, }, end: Position { line: 85, column: 12, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "format", span: Span { start: Position { line: 85, column: 18, }, end: Position { line: 85, column: 24, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "qcow2-compressed", span: Span { start: Position { line: 85, column: 29, }, end: Position { line: 85, column: 45, }, }, }, ), ], span: Span { start: Position { line: 85, column: 28, }, end: Position { line: 85, column: 46, }, }, }, ), }, ), then: String( String_ { parts: [ Raw( PartRaw { content: "qcow2", span: Span { start: Position { line: 85, column: 53, }, end: Position { line: 85, column: 58, }, }, }, ), ], span: Span { start: Position { line: 85, column: 52, }, end: Position { line: 85, column: 59, }, }, }, ), else_: Identifier( Identifier { id: "format", span: Span { start: Position { line: 85, column: 65, }, end: Position { line: 85, column: 71, }, }, }, ), span: Span { start: Position { line: 85, column: 15, }, end: Position { line: 85, column: 71, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "compress", span: Span { start: Position { line: 87, column: 3, }, end: Position { line: 87, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 87, column: 14, }, end: Position { line: 87, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 87, column: 18, }, end: Position { line: 87, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "format", span: Span { start: Position { line: 87, column: 34, }, end: Position { line: 87, column: 40, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "qcow2-compressed", span: Span { start: Position { line: 87, column: 45, }, end: Position { line: 87, column: 61, }, }, }, ), ], span: Span { start: Position { line: 87, column: 44, }, end: Position { line: 87, column: 62, }, }, }, ), }, ), String( String_ { parts: [ Raw( PartRaw { content: "-c", span: Span { start: Position { line: 87, column: 65, }, end: Position { line: 87, column: 67, }, }, }, ), ], span: Span { start: Position { line: 87, column: 64, }, end: Position { line: 87, column: 68, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filenameSuffix", span: Span { start: Position { line: 89, column: 3, }, end: Position { line: 89, column: 17, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: ".", span: Span { start: Position { line: 89, column: 21, }, end: Position { line: 89, column: 22, }, }, }, ), ], span: Span { start: Position { line: 89, column: 20, }, end: Position { line: 89, column: 23, }, }, }, ), operator: Addition, right: PropertyAccess( PropertyAccess { expression: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "qcow2", span: Span { start: Position { line: 90, column: 5, }, end: Position { line: 90, column: 10, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "qcow2", span: Span { start: Position { line: 90, column: 14, }, end: Position { line: 90, column: 19, }, }, }, ), ], span: Span { start: Position { line: 90, column: 13, }, end: Position { line: 90, column: 20, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "vdi", span: Span { start: Position { line: 91, column: 5, }, end: Position { line: 91, column: 8, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "vdi", span: Span { start: Position { line: 91, column: 12, }, end: Position { line: 91, column: 15, }, }, }, ), ], span: Span { start: Position { line: 91, column: 11, }, end: Position { line: 91, column: 16, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "vpc", span: Span { start: Position { line: 92, column: 5, }, end: Position { line: 92, column: 8, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "vhd", span: Span { start: Position { line: 92, column: 12, }, end: Position { line: 92, column: 15, }, }, }, ), ], span: Span { start: Position { line: 92, column: 11, }, end: Position { line: 92, column: 16, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "raw", span: Span { start: Position { line: 93, column: 5, }, end: Position { line: 93, column: 8, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "img", span: Span { start: Position { line: 93, column: 12, }, end: Position { line: 93, column: 15, }, }, }, ), ], span: Span { start: Position { line: 93, column: 11, }, end: Position { line: 93, column: 16, }, }, }, ), }, ), ], span: Span { start: Position { line: 89, column: 26, }, end: Position { line: 94, column: 4, }, }, }, ), attribute_path: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "formatOpt", span: Span { start: Position { line: 94, column: 7, }, end: Position { line: 94, column: 16, }, }, }, ), }, ), ], default: Some( Identifier( Identifier { id: "formatOpt", span: Span { start: Position { line: 94, column: 21, }, end: Position { line: 94, column: 30, }, }, }, ), ), }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "bootFilename", span: Span { start: Position { line: 95, column: 3, }, end: Position { line: 95, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nixos.boot", span: Span { start: Position { line: 95, column: 19, }, end: Position { line: 95, column: 46, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "filenameSuffix", span: Span { start: Position { line: 95, column: 31, }, end: Position { line: 95, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 95, column: 18, }, end: Position { line: 95, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rootFilename", span: Span { start: Position { line: 96, column: 3, }, end: Position { line: 96, column: 15, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nixos.root", span: Span { start: Position { line: 96, column: 19, }, end: Position { line: 96, column: 46, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "filenameSuffix", span: Span { start: Position { line: 96, column: 31, }, end: Position { line: 96, column: 45, }, }, }, ), }, ), ], span: Span { start: Position { line: 96, column: 18, }, end: Position { line: 96, column: 47, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "channelSources", span: Span { start: Position { line: 99, column: 3, }, end: Position { line: 99, column: 17, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 101, column: 7, }, end: Position { line: 101, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 101, column: 17, }, end: Position { line: 101, column: 20, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cleanSource", span: Span { start: Position { line: 101, column: 21, }, end: Position { line: 101, column: 32, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 101, column: 33, }, end: Position { line: 101, column: 37, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 101, column: 38, }, end: Position { line: 101, column: 42, }, }, }, ), ], default: None, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 103, column: 7, }, end: Position { line: 103, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 103, column: 12, }, end: Position { line: 103, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "nixos-", span: Span { start: Position { line: 103, column: 24, }, end: Position { line: 103, column: 60, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 103, column: 32, }, end: Position { line: 103, column: 38, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 103, column: 39, }, end: Position { line: 103, column: 45, }, }, }, ), Raw( PartRaw { content: "nixos", span: Span { start: Position { line: 103, column: 46, }, end: Position { line: 103, column: 51, }, }, }, ), Raw( PartRaw { content: "version", span: Span { start: Position { line: 103, column: 52, }, end: Position { line: 103, column: 59, }, }, }, ), ], default: None, }, ), }, ), ], span: Span { start: Position { line: 103, column: 23, }, end: Position { line: 103, column: 61, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 103, column: 62, }, end: Position { line: 103, column: 64, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p $out\ncp -prd ", span: Span { start: Position { line: 104, column: 1, }, end: Position { line: 105, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "nixpkgs", span: Span { start: Position { line: 105, column: 19, }, end: Position { line: 105, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "outPath", span: Span { start: Position { line: 105, column: 27, }, end: Position { line: 105, column: 34, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " $out/nixos\nchmod -R u+w $out/nixos\nif [ ! -e $out/nixos/nixpkgs ]; then\n ln -s . $out/nixos/nixpkgs\nfi\nrm -rf $out/nixos/.git\necho -n ", span: Span { start: Position { line: 104, column: 1, }, end: Position { line: 111, column: 17, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 111, column: 19, }, end: Position { line: 111, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 111, column: 26, }, end: Position { line: 111, column: 32, }, }, }, ), Raw( PartRaw { content: "nixos", span: Span { start: Position { line: 111, column: 33, }, end: Position { line: 111, column: 38, }, }, }, ), Raw( PartRaw { content: "versionSuffix", span: Span { start: Position { line: 111, column: 39, }, end: Position { line: 111, column: 52, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " > $out/nixos/.version-suffix\n", span: Span { start: Position { line: 104, column: 1, }, end: Position { line: 112, column: 7, }, }, }, ), ], span: Span { start: Position { line: 103, column: 65, }, end: Position { line: 112, column: 9, }, }, }, ), ], }, ), span: Span { start: Position { line: 100, column: 5, }, end: Position { line: 112, column: 9, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "closureInfo", span: Span { start: Position { line: 114, column: 3, }, end: Position { line: 114, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 114, column: 17, }, end: Position { line: 114, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "closureInfo", span: Span { start: Position { line: 114, column: 22, }, end: Position { line: 114, column: 33, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rootPaths", span: Span { start: Position { line: 115, column: 5, }, end: Position { line: 115, column: 14, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 115, column: 19, }, end: Position { line: 115, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 115, column: 26, }, end: Position { line: 115, column: 32, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 115, column: 33, }, end: Position { line: 115, column: 38, }, }, }, ), Raw( PartRaw { content: "toplevel", span: Span { start: Position { line: 115, column: 39, }, end: Position { line: 115, column: 47, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 115, column: 17, }, end: Position { line: 115, column: 49, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 116, column: 9, }, end: Position { line: 116, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optional", span: Span { start: Position { line: 116, column: 13, }, end: Position { line: 116, column: 21, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "includeChannel", span: Span { start: Position { line: 116, column: 22, }, end: Position { line: 116, column: 36, }, }, }, ), Identifier( Identifier { id: "channelSources", span: Span { start: Position { line: 116, column: 37, }, end: Position { line: 116, column: 51, }, }, }, ), ], }, ), }, ), }, ), ], span: Span { start: Position { line: 114, column: 34, }, end: Position { line: 117, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "modulesTree", span: Span { start: Position { line: 119, column: 3, }, end: Position { line: 119, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 119, column: 17, }, end: Position { line: 119, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "aggregateModules", span: Span { start: Position { line: 119, column: 22, }, end: Position { line: 119, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ With( With { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 120, column: 11, }, end: Position { line: 120, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "boot", span: Span { start: Position { line: 120, column: 18, }, end: Position { line: 120, column: 22, }, }, }, ), Raw( PartRaw { content: "kernelPackages", span: Span { start: Position { line: 120, column: 23, }, end: Position { line: 120, column: 37, }, }, }, ), ], default: None, }, ), target: List( List { elements: [ Identifier( Identifier { id: "kernel", span: Span { start: Position { line: 120, column: 41, }, end: Position { line: 120, column: 47, }, }, }, ), Identifier( Identifier { id: "zfs", span: Span { start: Position { line: 120, column: 48, }, end: Position { line: 120, column: 51, }, }, }, ), ], span: Span { start: Position { line: 120, column: 39, }, end: Position { line: 120, column: 53, }, }, }, ), span: Span { start: Position { line: 120, column: 6, }, end: Position { line: 120, column: 53, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "tools", span: Span { start: Position { line: 122, column: 3, }, end: Position { line: 122, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 122, column: 11, }, end: Position { line: 122, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "makeBinPath", span: Span { start: Position { line: 122, column: 15, }, end: Position { line: 122, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 123, column: 10, }, end: Position { line: 123, column: 14, }, }, }, ), target: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 124, column: 7, }, end: Position { line: 124, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 124, column: 14, }, end: Position { line: 124, column: 20, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 124, column: 21, }, end: Position { line: 124, column: 26, }, }, }, ), Raw( PartRaw { content: "nixos-enter", span: Span { start: Position { line: 124, column: 27, }, end: Position { line: 124, column: 38, }, }, }, ), ], default: None, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 125, column: 7, }, end: Position { line: 125, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 125, column: 14, }, end: Position { line: 125, column: 20, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 125, column: 21, }, end: Position { line: 125, column: 26, }, }, }, ), Raw( PartRaw { content: "nixos-install", span: Span { start: Position { line: 125, column: 27, }, end: Position { line: 125, column: 40, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "dosfstools", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 17, }, }, }, ), Identifier( Identifier { id: "e2fsprogs", span: Span { start: Position { line: 127, column: 7, }, end: Position { line: 127, column: 16, }, }, }, ), Identifier( Identifier { id: "gptfdisk", span: Span { start: Position { line: 128, column: 7, }, end: Position { line: 128, column: 15, }, }, }, ), Identifier( Identifier { id: "nix", span: Span { start: Position { line: 129, column: 7, }, end: Position { line: 129, column: 10, }, }, }, ), Identifier( Identifier { id: "parted", span: Span { start: Position { line: 130, column: 7, }, end: Position { line: 130, column: 13, }, }, }, ), Identifier( Identifier { id: "util-linux", span: Span { start: Position { line: 131, column: 7, }, end: Position { line: 131, column: 17, }, }, }, ), Identifier( Identifier { id: "zfs", span: Span { start: Position { line: 132, column: 7, }, end: Position { line: 132, column: 10, }, }, }, ), ], span: Span { start: Position { line: 123, column: 16, }, end: Position { line: 133, column: 6, }, }, }, ), span: Span { start: Position { line: 123, column: 5, }, end: Position { line: 133, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "hasDefinedMount", span: Span { start: Position { line: 136, column: 3, }, end: Position { line: 136, column: 18, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "disk", }, ), body: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "disk", span: Span { start: Position { line: 136, column: 30, }, end: Position { line: 136, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mount", span: Span { start: Position { line: 136, column: 35, }, end: Position { line: 136, column: 40, }, }, }, ), ], default: Some( Identifier( Identifier { id: "null", span: Span { start: Position { line: 136, column: 44, }, end: Position { line: 136, column: 48, }, }, }, ), ), }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 136, column: 53, }, end: Position { line: 136, column: 57, }, }, }, ), }, ), span: Span { start: Position { line: 136, column: 22, }, end: Position { line: 136, column: 58, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "stringifyProperties", span: Span { start: Position { line: 138, column: 3, }, end: Position { line: 138, column: 22, }, }, }, ), ], to: Function( Function { head: Simple( FunctionHeadSimple { identifier: "prefix", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "properties", }, ), body: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 138, column: 45, }, end: Position { line: 138, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatStringsSep", span: Span { start: Position { line: 138, column: 49, }, end: Position { line: 138, column: 65, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " \\\n", span: Span { start: Position { line: 138, column: 67, }, end: Position { line: 138, column: 72, }, }, }, ), ], span: Span { start: Position { line: 138, column: 66, }, end: Position { line: 138, column: 73, }, }, }, ), FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 139, column: 5, }, end: Position { line: 139, column: 8, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 139, column: 9, }, end: Position { line: 139, column: 23, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "property", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "prefix", span: Span { start: Position { line: 141, column: 29, }, end: Position { line: 141, column: 35, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 141, column: 27, }, end: Position { line: 141, column: 37, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 141, column: 39, }, end: Position { line: 141, column: 42, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 141, column: 43, }, end: Position { line: 141, column: 57, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "property", span: Span { start: Position { line: 141, column: 58, }, end: Position { line: 141, column: 66, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "=", span: Span { start: Position { line: 141, column: 27, }, end: Position { line: 141, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 141, column: 70, }, end: Position { line: 141, column: 73, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 141, column: 74, }, end: Position { line: 141, column: 88, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 141, column: 89, }, end: Position { line: 141, column: 94, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 141, column: 26, }, end: Position { line: 141, column: 96, }, }, }, ), span: Span { start: Position { line: 141, column: 19, }, end: Position { line: 141, column: 96, }, }, }, ), span: Span { start: Position { line: 141, column: 9, }, end: Position { line: 141, column: 96, }, }, }, ), Identifier( Identifier { id: "properties", span: Span { start: Position { line: 143, column: 7, }, end: Position { line: 143, column: 17, }, }, }, ), ], }, ), ], }, ), span: Span { start: Position { line: 138, column: 33, }, end: Position { line: 144, column: 4, }, }, }, ), span: Span { start: Position { line: 138, column: 25, }, end: Position { line: 144, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createDatasets", span: Span { start: Position { line: 146, column: 3, }, end: Position { line: 146, column: 17, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "datasetlist", span: Span { start: Position { line: 148, column: 7, }, end: Position { line: 148, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 148, column: 21, }, end: Position { line: 148, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 148, column: 25, }, end: Position { line: 148, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 148, column: 40, }, end: Position { line: 148, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nameValuePair", span: Span { start: Position { line: 148, column: 44, }, end: Position { line: 148, column: 57, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "datasets", span: Span { start: Position { line: 148, column: 58, }, end: Position { line: 148, column: 66, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sorted", span: Span { start: Position { line: 149, column: 7, }, end: Position { line: 149, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 149, column: 16, }, end: Position { line: 149, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sort", span: Span { start: Position { line: 149, column: 20, }, end: Position { line: 149, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "left", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "right", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 149, column: 40, }, end: Position { line: 149, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stringLength", span: Span { start: Position { line: 149, column: 44, }, end: Position { line: 149, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "left", span: Span { start: Position { line: 149, column: 57, }, end: Position { line: 149, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 149, column: 62, }, end: Position { line: 149, column: 66, }, }, }, ), ], default: None, }, ), ], }, ), operator: LessThan, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 149, column: 71, }, end: Position { line: 149, column: 74, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stringLength", span: Span { start: Position { line: 149, column: 75, }, end: Position { line: 149, column: 87, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "right", span: Span { start: Position { line: 149, column: 88, }, end: Position { line: 149, column: 93, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 149, column: 94, }, end: Position { line: 149, column: 98, }, }, }, ), ], default: None, }, ), ], }, ), }, ), span: Span { start: Position { line: 149, column: 32, }, end: Position { line: 149, column: 99, }, }, }, ), span: Span { start: Position { line: 149, column: 26, }, end: Position { line: 149, column: 99, }, }, }, ), Identifier( Identifier { id: "datasetlist", span: Span { start: Position { line: 149, column: 101, }, end: Position { line: 149, column: 112, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cmd", span: Span { start: Position { line: 150, column: 7, }, end: Position { line: 150, column: 10, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "value", default: None, }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "properties", span: Span { start: Position { line: 152, column: 11, }, end: Position { line: 152, column: 21, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "stringifyProperties", span: Span { start: Position { line: 152, column: 24, }, end: Position { line: 152, column: 43, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "-o", span: Span { start: Position { line: 152, column: 45, }, end: Position { line: 152, column: 47, }, }, }, ), ], span: Span { start: Position { line: 152, column: 44, }, end: Position { line: 152, column: 48, }, }, }, ), PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 152, column: 50, }, end: Position { line: 152, column: 55, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "properties", span: Span { start: Position { line: 152, column: 56, }, end: Position { line: 152, column: 66, }, }, }, ), ], default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 152, column: 70, }, end: Position { line: 152, column: 72, }, }, }, ), ), }, ), ], }, ), }, ), ], target: String( String_ { parts: [ Raw( PartRaw { content: "zfs create -p ", span: Span { start: Position { line: 154, column: 12, }, end: Position { line: 154, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "properties", span: Span { start: Position { line: 154, column: 28, }, end: Position { line: 154, column: 38, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 154, column: 12, }, end: Position { line: 154, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 154, column: 42, }, end: Position { line: 154, column: 46, }, }, }, ), }, ), ], span: Span { start: Position { line: 154, column: 11, }, end: Position { line: 154, column: 48, }, }, }, ), span: Span { start: Position { line: 151, column: 9, }, end: Position { line: 154, column: 48, }, }, }, ), span: Span { start: Position { line: 150, column: 13, }, end: Position { line: 154, column: 48, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 156, column: 7, }, end: Position { line: 156, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMapStringsSep", span: Span { start: Position { line: 156, column: 11, }, end: Position { line: 156, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 156, column: 32, }, end: Position { line: 156, column: 34, }, }, }, ), ], span: Span { start: Position { line: 156, column: 31, }, end: Position { line: 156, column: 35, }, }, }, ), Identifier( Identifier { id: "cmd", span: Span { start: Position { line: 156, column: 36, }, end: Position { line: 156, column: 39, }, }, }, ), Identifier( Identifier { id: "sorted", span: Span { start: Position { line: 156, column: 40, }, end: Position { line: 156, column: 46, }, }, }, ), ], }, ), span: Span { start: Position { line: 147, column: 5, }, end: Position { line: 156, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mountDatasets", span: Span { start: Position { line: 158, column: 3, }, end: Position { line: 158, column: 16, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "datasetlist", span: Span { start: Position { line: 160, column: 7, }, end: Position { line: 160, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 160, column: 21, }, end: Position { line: 160, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 160, column: 25, }, end: Position { line: 160, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 160, column: 40, }, end: Position { line: 160, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nameValuePair", span: Span { start: Position { line: 160, column: 44, }, end: Position { line: 160, column: 57, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "datasets", span: Span { start: Position { line: 160, column: 58, }, end: Position { line: 160, column: 66, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mounts", span: Span { start: Position { line: 161, column: 7, }, end: Position { line: 161, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 161, column: 16, }, end: Position { line: 161, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filter", span: Span { start: Position { line: 161, column: 20, }, end: Position { line: 161, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "value", default: None, }, ], }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasDefinedMount", span: Span { start: Position { line: 161, column: 44, }, end: Position { line: 161, column: 59, }, }, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 161, column: 60, }, end: Position { line: 161, column: 65, }, }, }, ), ], }, ), span: Span { start: Position { line: 161, column: 28, }, end: Position { line: 161, column: 65, }, }, }, ), Identifier( Identifier { id: "datasetlist", span: Span { start: Position { line: 161, column: 67, }, end: Position { line: 161, column: 78, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sorted", span: Span { start: Position { line: 162, column: 7, }, end: Position { line: 162, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 162, column: 16, }, end: Position { line: 162, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sort", span: Span { start: Position { line: 162, column: 20, }, end: Position { line: 162, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "left", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "right", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 162, column: 40, }, end: Position { line: 162, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stringLength", span: Span { start: Position { line: 162, column: 44, }, end: Position { line: 162, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "left", span: Span { start: Position { line: 162, column: 57, }, end: Position { line: 162, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 162, column: 62, }, end: Position { line: 162, column: 67, }, }, }, ), Raw( PartRaw { content: "mount", span: Span { start: Position { line: 162, column: 68, }, end: Position { line: 162, column: 73, }, }, }, ), ], default: None, }, ), ], }, ), operator: LessThan, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 162, column: 78, }, end: Position { line: 162, column: 81, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stringLength", span: Span { start: Position { line: 162, column: 82, }, end: Position { line: 162, column: 94, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "right", span: Span { start: Position { line: 162, column: 95, }, end: Position { line: 162, column: 100, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 162, column: 101, }, end: Position { line: 162, column: 106, }, }, }, ), Raw( PartRaw { content: "mount", span: Span { start: Position { line: 162, column: 107, }, end: Position { line: 162, column: 112, }, }, }, ), ], default: None, }, ), ], }, ), }, ), span: Span { start: Position { line: 162, column: 32, }, end: Position { line: 162, column: 113, }, }, }, ), span: Span { start: Position { line: 162, column: 26, }, end: Position { line: 162, column: 113, }, }, }, ), Identifier( Identifier { id: "mounts", span: Span { start: Position { line: 162, column: 115, }, end: Position { line: 162, column: 121, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cmd", span: Span { start: Position { line: 163, column: 7, }, end: Position { line: 163, column: 10, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "value", default: None, }, ], }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mkdir -p /mnt", span: Span { start: Position { line: 165, column: 1, }, end: Position { line: 165, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 165, column: 26, }, end: Position { line: 165, column: 29, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 165, column: 30, }, end: Position { line: 165, column: 44, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 165, column: 45, }, end: Position { line: 165, column: 50, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mount", span: Span { start: Position { line: 165, column: 51, }, end: Position { line: 165, column: 56, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\nmount -t zfs ", span: Span { start: Position { line: 165, column: 1, }, end: Position { line: 166, column: 24, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "name", span: Span { start: Position { line: 166, column: 26, }, end: Position { line: 166, column: 30, }, }, }, ), }, ), Raw( PartRaw { content: " /mnt", span: Span { start: Position { line: 165, column: 1, }, end: Position { line: 166, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 166, column: 38, }, end: Position { line: 166, column: 41, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 166, column: 42, }, end: Position { line: 166, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 166, column: 57, }, end: Position { line: 166, column: 62, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mount", span: Span { start: Position { line: 166, column: 63, }, end: Position { line: 166, column: 68, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 165, column: 1, }, end: Position { line: 167, column: 9, }, }, }, ), ], span: Span { start: Position { line: 164, column: 9, }, end: Position { line: 167, column: 11, }, }, }, ), span: Span { start: Position { line: 163, column: 13, }, end: Position { line: 167, column: 11, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 169, column: 7, }, end: Position { line: 169, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMapStringsSep", span: Span { start: Position { line: 169, column: 11, }, end: Position { line: 169, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 169, column: 32, }, end: Position { line: 169, column: 34, }, }, }, ), ], span: Span { start: Position { line: 169, column: 31, }, end: Position { line: 169, column: 35, }, }, }, ), Identifier( Identifier { id: "cmd", span: Span { start: Position { line: 169, column: 36, }, end: Position { line: 169, column: 39, }, }, }, ), Identifier( Identifier { id: "sorted", span: Span { start: Position { line: 169, column: 40, }, end: Position { line: 169, column: 46, }, }, }, ), ], }, ), span: Span { start: Position { line: 159, column: 5, }, end: Position { line: 169, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "unmountDatasets", span: Span { start: Position { line: 171, column: 3, }, end: Position { line: 171, column: 18, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "datasetlist", span: Span { start: Position { line: 173, column: 7, }, end: Position { line: 173, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 173, column: 21, }, end: Position { line: 173, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrsToList", span: Span { start: Position { line: 173, column: 25, }, end: Position { line: 173, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 173, column: 40, }, end: Position { line: 173, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nameValuePair", span: Span { start: Position { line: 173, column: 44, }, end: Position { line: 173, column: 57, }, }, }, ), ], default: None, }, ), Identifier( Identifier { id: "datasets", span: Span { start: Position { line: 173, column: 58, }, end: Position { line: 173, column: 66, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mounts", span: Span { start: Position { line: 174, column: 7, }, end: Position { line: 174, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 174, column: 16, }, end: Position { line: 174, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filter", span: Span { start: Position { line: 174, column: 20, }, end: Position { line: 174, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "value", default: None, }, ], }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasDefinedMount", span: Span { start: Position { line: 174, column: 44, }, end: Position { line: 174, column: 59, }, }, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 174, column: 60, }, end: Position { line: 174, column: 65, }, }, }, ), ], }, ), span: Span { start: Position { line: 174, column: 28, }, end: Position { line: 174, column: 65, }, }, }, ), Identifier( Identifier { id: "datasetlist", span: Span { start: Position { line: 174, column: 67, }, end: Position { line: 174, column: 78, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "sorted", span: Span { start: Position { line: 175, column: 7, }, end: Position { line: 175, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 175, column: 16, }, end: Position { line: 175, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "sort", span: Span { start: Position { line: 175, column: 20, }, end: Position { line: 175, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "left", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "right", }, ), body: BinaryOperation( BinaryOperation { left: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 175, column: 40, }, end: Position { line: 175, column: 43, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stringLength", span: Span { start: Position { line: 175, column: 44, }, end: Position { line: 175, column: 56, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "left", span: Span { start: Position { line: 175, column: 57, }, end: Position { line: 175, column: 61, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 175, column: 62, }, end: Position { line: 175, column: 67, }, }, }, ), Raw( PartRaw { content: "mount", span: Span { start: Position { line: 175, column: 68, }, end: Position { line: 175, column: 73, }, }, }, ), ], default: None, }, ), ], }, ), operator: GreaterThan, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 175, column: 78, }, end: Position { line: 175, column: 81, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stringLength", span: Span { start: Position { line: 175, column: 82, }, end: Position { line: 175, column: 94, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "right", span: Span { start: Position { line: 175, column: 95, }, end: Position { line: 175, column: 100, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 175, column: 101, }, end: Position { line: 175, column: 106, }, }, }, ), Raw( PartRaw { content: "mount", span: Span { start: Position { line: 175, column: 107, }, end: Position { line: 175, column: 112, }, }, }, ), ], default: None, }, ), ], }, ), }, ), span: Span { start: Position { line: 175, column: 32, }, end: Position { line: 175, column: 113, }, }, }, ), span: Span { start: Position { line: 175, column: 26, }, end: Position { line: 175, column: 113, }, }, }, ), Identifier( Identifier { id: "mounts", span: Span { start: Position { line: 175, column: 115, }, end: Position { line: 175, column: 121, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cmd", span: Span { start: Position { line: 176, column: 7, }, end: Position { line: 176, column: 10, }, }, }, ), ], to: Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "name", default: None, }, FunctionHeadDestructuredArgument { identifier: "value", default: None, }, ], }, ), body: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "umount /mnt", span: Span { start: Position { line: 178, column: 1, }, end: Position { line: 178, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 178, column: 24, }, end: Position { line: 178, column: 27, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "escapeShellArg", span: Span { start: Position { line: 178, column: 28, }, end: Position { line: 178, column: 42, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "value", span: Span { start: Position { line: 178, column: 43, }, end: Position { line: 178, column: 48, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mount", span: Span { start: Position { line: 178, column: 49, }, end: Position { line: 178, column: 54, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 178, column: 1, }, end: Position { line: 179, column: 9, }, }, }, ), ], span: Span { start: Position { line: 177, column: 9, }, end: Position { line: 179, column: 11, }, }, }, ), span: Span { start: Position { line: 176, column: 13, }, end: Position { line: 179, column: 11, }, }, }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 181, column: 7, }, end: Position { line: 181, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "concatMapStringsSep", span: Span { start: Position { line: 181, column: 11, }, end: Position { line: 181, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "\n", span: Span { start: Position { line: 181, column: 32, }, end: Position { line: 181, column: 34, }, }, }, ), ], span: Span { start: Position { line: 181, column: 31, }, end: Position { line: 181, column: 35, }, }, }, ), Identifier( Identifier { id: "cmd", span: Span { start: Position { line: 181, column: 36, }, end: Position { line: 181, column: 39, }, }, }, ), Identifier( Identifier { id: "sorted", span: Span { start: Position { line: 181, column: 40, }, end: Position { line: 181, column: 46, }, }, }, ), ], }, ), span: Span { start: Position { line: 172, column: 5, }, end: Position { line: 181, column: 46, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fileSystemsCfgFile", span: Span { start: Position { line: 184, column: 3, }, end: Position { line: 184, column: 21, }, }, }, ), ], to: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mountable", span: Span { start: Position { line: 186, column: 7, }, end: Position { line: 186, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 186, column: 19, }, end: Position { line: 186, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "filterAttrs", span: Span { start: Position { line: 186, column: 23, }, end: Position { line: 186, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "_", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "value", }, ), body: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "hasDefinedMount", span: Span { start: Position { line: 186, column: 46, }, end: Position { line: 186, column: 61, }, }, }, ), arguments: [ Identifier( Identifier { id: "value", span: Span { start: Position { line: 186, column: 62, }, end: Position { line: 186, column: 67, }, }, }, ), ], }, ), span: Span { start: Position { line: 186, column: 39, }, end: Position { line: 186, column: 67, }, }, }, ), span: Span { start: Position { line: 186, column: 36, }, end: Position { line: 186, column: 67, }, }, }, ), Identifier( Identifier { id: "datasets", span: Span { start: Position { line: 186, column: 69, }, end: Position { line: 186, column: 77, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 188, column: 7, }, end: Position { line: 188, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 188, column: 12, }, end: Position { line: 188, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "filesystem-config.nix", span: Span { start: Position { line: 188, column: 24, }, end: Position { line: 188, column: 45, }, }, }, ), ], span: Span { start: Position { line: 188, column: 23, }, end: Position { line: 188, column: 46, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "buildInputs", span: Span { start: Position { line: 189, column: 9, }, end: Position { line: 189, column: 20, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 189, column: 28, }, end: Position { line: 189, column: 32, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "jq", span: Span { start: Position { line: 189, column: 36, }, end: Position { line: 189, column: 38, }, }, }, ), Identifier( Identifier { id: "nixpkgs-fmt", span: Span { start: Position { line: 189, column: 39, }, end: Position { line: 189, column: 50, }, }, }, ), ], span: Span { start: Position { line: 189, column: 34, }, end: Position { line: 189, column: 52, }, }, }, ), span: Span { start: Position { line: 189, column: 23, }, end: Position { line: 189, column: 52, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "filesystems", span: Span { start: Position { line: 190, column: 9, }, end: Position { line: 190, column: 20, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "builtins", span: Span { start: Position { line: 190, column: 23, }, end: Position { line: 190, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "toJSON", span: Span { start: Position { line: 190, column: 32, }, end: Position { line: 190, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fileSystems", span: Span { start: Position { line: 191, column: 11, }, end: Position { line: 191, column: 22, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 191, column: 25, }, end: Position { line: 191, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mapAttrs'", span: Span { start: Position { line: 191, column: 29, }, end: Position { line: 191, column: 38, }, }, }, ), ], default: None, }, ), arguments: [ Function( Function { head: Simple( FunctionHeadSimple { identifier: "dataset", }, ), body: Function( Function { head: Simple( FunctionHeadSimple { identifier: "attrs", }, ), body: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 195, column: 19, }, end: Position { line: 195, column: 23, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "attrs", span: Span { start: Position { line: 195, column: 26, }, end: Position { line: 195, column: 31, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mount", span: Span { start: Position { line: 195, column: 32, }, end: Position { line: 195, column: 37, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "value", span: Span { start: Position { line: 196, column: 19, }, end: Position { line: 196, column: 24, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "fsType", span: Span { start: Position { line: 197, column: 21, }, end: Position { line: 197, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "zfs", span: Span { start: Position { line: 197, column: 31, }, end: Position { line: 197, column: 34, }, }, }, ), ], span: Span { start: Position { line: 197, column: 30, }, end: Position { line: 197, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "device", span: Span { start: Position { line: 198, column: 21, }, end: Position { line: 198, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "dataset", span: Span { start: Position { line: 198, column: 33, }, end: Position { line: 198, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 198, column: 30, }, end: Position { line: 198, column: 42, }, }, }, ), }, ), ], span: Span { start: Position { line: 196, column: 27, }, end: Position { line: 199, column: 20, }, }, }, ), }, ), ], span: Span { start: Position { line: 194, column: 17, }, end: Position { line: 200, column: 18, }, }, }, ), span: Span { start: Position { line: 193, column: 24, }, end: Position { line: 200, column: 18, }, }, }, ), span: Span { start: Position { line: 193, column: 15, }, end: Position { line: 200, column: 18, }, }, }, ), Identifier( Identifier { id: "mountable", span: Span { start: Position { line: 202, column: 13, }, end: Position { line: 202, column: 22, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 190, column: 39, }, end: Position { line: 203, column: 10, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "passAsFile", span: Span { start: Position { line: 204, column: 9, }, end: Position { line: 204, column: 19, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "filesystems", span: Span { start: Position { line: 204, column: 25, }, end: Position { line: 204, column: 36, }, }, }, ), ], span: Span { start: Position { line: 204, column: 24, }, end: Position { line: 204, column: 37, }, }, }, ), ], span: Span { start: Position { line: 204, column: 22, }, end: Position { line: 204, column: 39, }, }, }, ), }, ), ], span: Span { start: Position { line: 188, column: 47, }, end: Position { line: 205, column: 8, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "(\n echo \"builtins.fromJSON ", span: Span { start: Position { line: 206, column: 1, }, end: Position { line: 207, column: 33, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 206, column: 1, }, end: Position { line: 207, column: 36, }, }, }, ), Raw( PartRaw { content: "\"\n jq . < \"$filesystemsPath\"\n echo \"", span: Span { start: Position { line: 206, column: 1, }, end: Position { line: 209, column: 15, }, }, }, ), Raw( PartRaw { content: "''", span: Span { start: Position { line: 206, column: 1, }, end: Position { line: 209, column: 18, }, }, }, ), Raw( PartRaw { content: "\"\n) > $out\n\nnixpkgs-fmt $out\n", span: Span { start: Position { line: 206, column: 1, }, end: Position { line: 213, column: 5, }, }, }, ), ], span: Span { start: Position { line: 205, column: 9, }, end: Position { line: 213, column: 7, }, }, }, ), ], }, ), span: Span { start: Position { line: 185, column: 5, }, end: Position { line: 213, column: 7, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "mergedConfig", span: Span { start: Position { line: 215, column: 3, }, end: Position { line: 215, column: 15, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 216, column: 8, }, end: Position { line: 216, column: 18, }, }, }, ), operator: EqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 216, column: 22, }, end: Position { line: 216, column: 26, }, }, }, ), }, ), then: Identifier( Identifier { id: "fileSystemsCfgFile", span: Span { start: Position { line: 217, column: 10, }, end: Position { line: 217, column: 28, }, }, }, ), else_: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 219, column: 7, }, end: Position { line: 219, column: 11, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 219, column: 12, }, end: Position { line: 219, column: 22, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "configuration.nix", span: Span { start: Position { line: 219, column: 24, }, end: Position { line: 219, column: 41, }, }, }, ), ], span: Span { start: Position { line: 219, column: 23, }, end: Position { line: 219, column: 42, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "buildInputs", span: Span { start: Position { line: 220, column: 9, }, end: Position { line: 220, column: 20, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 220, column: 28, }, end: Position { line: 220, column: 32, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "nixpkgs-fmt", span: Span { start: Position { line: 220, column: 36, }, end: Position { line: 220, column: 47, }, }, }, ), ], span: Span { start: Position { line: 220, column: 34, }, end: Position { line: 220, column: 49, }, }, }, ), span: Span { start: Position { line: 220, column: 23, }, end: Position { line: 220, column: 49, }, }, }, ), }, ), ], span: Span { start: Position { line: 219, column: 43, }, end: Position { line: 221, column: 8, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "(\n echo '{ imports = ['\n printf \"(%s)\\n\" \"$(cat ", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 225, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "fileSystemsCfgFile", span: Span { start: Position { line: 225, column: 38, }, end: Position { line: 225, column: 56, }, }, }, ), }, ), Raw( PartRaw { content: ")\";\n printf \"(%s)\\n\" \"$(cat ", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 226, column: 36, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "configFile", span: Span { start: Position { line: 226, column: 38, }, end: Position { line: 226, column: 48, }, }, }, ), }, ), Raw( PartRaw { content: ")\";\n echo ']; }'\n) > $out\n\nnixpkgs-fmt $out\n", span: Span { start: Position { line: 223, column: 1, }, end: Position { line: 231, column: 9, }, }, }, ), ], span: Span { start: Position { line: 222, column: 9, }, end: Position { line: 231, column: 11, }, }, }, ), ], }, ), span: Span { start: Position { line: 216, column: 5, }, end: Position { line: 231, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "image", span: Span { start: Position { line: 233, column: 3, }, end: Position { line: 233, column: 8, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 234, column: 5, }, end: Position { line: 234, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "vmTools", span: Span { start: Position { line: 234, column: 10, }, end: Position { line: 234, column: 17, }, }, }, ), Raw( PartRaw { content: "override", span: Span { start: Position { line: 234, column: 18, }, end: Position { line: 234, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "rootModules", span: Span { start: Position { line: 235, column: 7, }, end: Position { line: 235, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "zfs", span: Span { start: Position { line: 236, column: 12, }, end: Position { line: 236, column: 15, }, }, }, ), ], span: Span { start: Position { line: 236, column: 11, }, end: Position { line: 236, column: 16, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "9p", span: Span { start: Position { line: 236, column: 18, }, end: Position { line: 236, column: 20, }, }, }, ), ], span: Span { start: Position { line: 236, column: 17, }, end: Position { line: 236, column: 21, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "9pnet_virtio", span: Span { start: Position { line: 236, column: 23, }, end: Position { line: 236, column: 35, }, }, }, ), ], span: Span { start: Position { line: 236, column: 22, }, end: Position { line: 236, column: 36, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "virtio_pci", span: Span { start: Position { line: 236, column: 38, }, end: Position { line: 236, column: 48, }, }, }, ), ], span: Span { start: Position { line: 236, column: 37, }, end: Position { line: 236, column: 49, }, }, }, ), String( String_ { parts: [ Raw( PartRaw { content: "virtio_blk", span: Span { start: Position { line: 236, column: 51, }, end: Position { line: 236, column: 61, }, }, }, ), ], span: Span { start: Position { line: 236, column: 50, }, end: Position { line: 236, column: 62, }, }, }, ), ], span: Span { start: Position { line: 236, column: 9, }, end: Position { line: 236, column: 64, }, }, }, ), operator: Concatenation, right: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 237, column: 12, }, end: Position { line: 237, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 237, column: 17, }, end: Position { line: 237, column: 20, }, }, }, ), Raw( PartRaw { content: "optional", span: Span { start: Position { line: 237, column: 21, }, end: Position { line: 237, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 237, column: 30, }, end: Position { line: 237, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 237, column: 35, }, end: Position { line: 237, column: 41, }, }, }, ), Raw( PartRaw { content: "hostPlatform", span: Span { start: Position { line: 237, column: 42, }, end: Position { line: 237, column: 54, }, }, }, ), Raw( PartRaw { content: "isx86", span: Span { start: Position { line: 237, column: 55, }, end: Position { line: 237, column: 60, }, }, }, ), ], default: None, }, ), String( String_ { parts: [ Raw( PartRaw { content: "rtc_cmos", span: Span { start: Position { line: 237, column: 62, }, end: Position { line: 237, column: 70, }, }, }, ), ], span: Span { start: Position { line: 237, column: 61, }, end: Position { line: 237, column: 71, }, }, }, ), ], }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "kernel", span: Span { start: Position { line: 238, column: 7, }, end: Position { line: 238, column: 13, }, }, }, ), ], to: Identifier( Identifier { id: "modulesTree", span: Span { start: Position { line: 238, column: 16, }, end: Position { line: 238, column: 27, }, }, }, ), }, ), ], span: Span { start: Position { line: 234, column: 27, }, end: Position { line: 239, column: 6, }, }, }, ), ], }, ), attribute_path: [ Raw( PartRaw { content: "runInLinuxVM", span: Span { start: Position { line: 240, column: 5, }, end: Position { line: 240, column: 17, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 241, column: 5, }, end: Position { line: 241, column: 9, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "runCommand", span: Span { start: Position { line: 241, column: 10, }, end: Position { line: 241, column: 20, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "name", span: Span { start: Position { line: 241, column: 21, }, end: Position { line: 241, column: 25, }, }, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "QEMU_OPTS", span: Span { start: Position { line: 243, column: 9, }, end: Position { line: 243, column: 18, }, }, }, ), ], to: BinaryOperation( BinaryOperation { left: String( String_ { parts: [ Raw( PartRaw { content: "-drive file=$bootDiskImage,if=virtio,cache=unsafe,werror=report", span: Span { start: Position { line: 243, column: 22, }, end: Position { line: 243, column: 85, }, }, }, ), ], span: Span { start: Position { line: 243, column: 21, }, end: Position { line: 243, column: 86, }, }, }, ), operator: Addition, right: String( String_ { parts: [ Raw( PartRaw { content: " -drive file=$rootDiskImage,if=virtio,cache=unsafe,werror=report", span: Span { start: Position { line: 244, column: 13, }, end: Position { line: 244, column: 77, }, }, }, ), ], span: Span { start: Position { line: 244, column: 12, }, end: Position { line: 244, column: 78, }, }, }, ), }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "preVM", span: Span { start: Position { line: 245, column: 9, }, end: Position { line: 245, column: 14, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "PATH=$PATH:", span: Span { start: Position { line: 246, column: 1, }, end: Position { line: 246, column: 22, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 246, column: 24, }, end: Position { line: 246, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "qemu_kvm", span: Span { start: Position { line: 246, column: 29, }, end: Position { line: 246, column: 37, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin\nmkdir $out\nbootDiskImage=boot.raw\nqemu-img create -f raw $bootDiskImage ", span: Span { start: Position { line: 246, column: 1, }, end: Position { line: 249, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 249, column: 51, }, end: Position { line: 249, column: 59, }, }, }, ), arguments: [ Identifier( Identifier { id: "bootSize", span: Span { start: Position { line: 249, column: 60, }, end: Position { line: 249, column: 68, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "M\n\nrootDiskImage=root.raw\nqemu-img create -f raw $rootDiskImage ", span: Span { start: Position { line: 246, column: 1, }, end: Position { line: 252, column: 49, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 252, column: 51, }, end: Position { line: 252, column: 59, }, }, }, ), arguments: [ Identifier( Identifier { id: "rootSize", span: Span { start: Position { line: 252, column: 60, }, end: Position { line: 252, column: 68, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "M\n", span: Span { start: Position { line: 246, column: 1, }, end: Position { line: 253, column: 9, }, }, }, ), ], span: Span { start: Position { line: 245, column: 17, }, end: Position { line: 253, column: 11, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postVM", span: Span { start: Position { line: 255, column: 9, }, end: Position { line: 255, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 256, column: 1, }, end: Position { line: 256, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: Identifier( Identifier { id: "formatOpt", span: Span { start: Position { line: 256, column: 16, }, end: Position { line: 256, column: 25, }, }, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "raw", span: Span { start: Position { line: 256, column: 30, }, end: Position { line: 256, column: 33, }, }, }, ), ], span: Span { start: Position { line: 256, column: 29, }, end: Position { line: 256, column: 34, }, }, }, ), }, ), then: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "mv $bootDiskImage $out/", span: Span { start: Position { line: 257, column: 1, }, end: Position { line: 257, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "bootFilename", span: Span { start: Position { line: 257, column: 36, }, end: Position { line: 257, column: 48, }, }, }, ), }, ), Raw( PartRaw { content: "\nmv $rootDiskImage $out/", span: Span { start: Position { line: 257, column: 1, }, end: Position { line: 258, column: 34, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "rootFilename", span: Span { start: Position { line: 258, column: 36, }, end: Position { line: 258, column: 48, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 257, column: 1, }, end: Position { line: 259, column: 9, }, }, }, ), ], span: Span { start: Position { line: 256, column: 40, }, end: Position { line: 259, column: 11, }, }, }, ), else_: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 260, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 260, column: 13, }, end: Position { line: 260, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "qemu", span: Span { start: Position { line: 260, column: 18, }, end: Position { line: 260, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/qemu-img convert -f raw -O ", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 260, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "formatOpt", span: Span { start: Position { line: 260, column: 57, }, end: Position { line: 260, column: 66, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 260, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "compress", span: Span { start: Position { line: 260, column: 70, }, end: Position { line: 260, column: 78, }, }, }, ), }, ), Raw( PartRaw { content: " $bootDiskImage $out/", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 260, column: 100, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "bootFilename", span: Span { start: Position { line: 260, column: 102, }, end: Position { line: 260, column: 114, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 261, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 261, column: 13, }, end: Position { line: 261, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "qemu", span: Span { start: Position { line: 261, column: 18, }, end: Position { line: 261, column: 22, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/bin/qemu-img convert -f raw -O ", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 261, column: 55, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "formatOpt", span: Span { start: Position { line: 261, column: 57, }, end: Position { line: 261, column: 66, }, }, }, ), }, ), Raw( PartRaw { content: " ", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 261, column: 68, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "compress", span: Span { start: Position { line: 261, column: 70, }, end: Position { line: 261, column: 78, }, }, }, ), }, ), Raw( PartRaw { content: " $rootDiskImage $out/", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 261, column: 100, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "rootFilename", span: Span { start: Position { line: 261, column: 102, }, end: Position { line: 261, column: 114, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 260, column: 1, }, end: Position { line: 262, column: 9, }, }, }, ), ], span: Span { start: Position { line: 259, column: 17, }, end: Position { line: 262, column: 11, }, }, }, ), span: Span { start: Position { line: 256, column: 13, }, end: Position { line: 262, column: 11, }, }, }, ), }, ), Raw( PartRaw { content: "\nbootDiskImage=$out/", span: Span { start: Position { line: 256, column: 1, }, end: Position { line: 263, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "bootFilename", span: Span { start: Position { line: 263, column: 32, }, end: Position { line: 263, column: 44, }, }, }, ), }, ), Raw( PartRaw { content: "\nrootDiskImage=$out/", span: Span { start: Position { line: 256, column: 1, }, end: Position { line: 264, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "rootFilename", span: Span { start: Position { line: 264, column: 32, }, end: Position { line: 264, column: 44, }, }, }, ), }, ), Raw( PartRaw { content: "\nset -x\n", span: Span { start: Position { line: 256, column: 1, }, end: Position { line: 266, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "postVM", span: Span { start: Position { line: 266, column: 13, }, end: Position { line: 266, column: 19, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 256, column: 1, }, end: Position { line: 267, column: 9, }, }, }, ), ], span: Span { start: Position { line: 255, column: 18, }, end: Position { line: 267, column: 11, }, }, }, ), }, ), ], span: Span { start: Position { line: 242, column: 7, }, end: Position { line: 268, column: 8, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "export PATH=", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 269, column: 19, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "tools", span: Span { start: Position { line: 269, column: 21, }, end: Position { line: 269, column: 26, }, }, }, ), }, ), Raw( PartRaw { content: ":$PATH\nset -x\n\ncp -sv /dev/vda /dev/sda\ncp -sv /dev/vda /dev/xvda\n\nparted --script /dev/vda -- \\\n mklabel gpt \\\n mkpart no-fs 1MiB 2MiB \\\n set 1 bios_grub on \\\n align-check optimal 1 \\\n mkpart ESP fat32 2MiB -1MiB \\\n align-check optimal 2 \\\n print\n\nsfdisk --dump /dev/vda\n\n\nzpool create \\\n ", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 288, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "stringifyProperties", span: Span { start: Position { line: 288, column: 11, }, end: Position { line: 288, column: 30, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " -o", span: Span { start: Position { line: 288, column: 32, }, end: Position { line: 288, column: 36, }, }, }, ), ], span: Span { start: Position { line: 288, column: 31, }, end: Position { line: 288, column: 37, }, }, }, ), Identifier( Identifier { id: "rootPoolProperties", span: Span { start: Position { line: 288, column: 38, }, end: Position { line: 288, column: 56, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 289, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "stringifyProperties", span: Span { start: Position { line: 289, column: 11, }, end: Position { line: 289, column: 30, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: " -O", span: Span { start: Position { line: 289, column: 32, }, end: Position { line: 289, column: 36, }, }, }, ), ], span: Span { start: Position { line: 289, column: 31, }, end: Position { line: 289, column: 37, }, }, }, ), Identifier( Identifier { id: "rootPoolFilesystemProperties", span: Span { start: Position { line: 289, column: 38, }, end: Position { line: 289, column: 66, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: " \\\n ", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 290, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "rootPoolName", span: Span { start: Position { line: 290, column: 11, }, end: Position { line: 290, column: 23, }, }, }, ), }, ), Raw( PartRaw { content: " /dev/vdb\nparted --script /dev/vdb -- print\n\n", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 293, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "createDatasets", span: Span { start: Position { line: 293, column: 9, }, end: Position { line: 293, column: 23, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 294, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "mountDatasets", span: Span { start: Position { line: 294, column: 9, }, end: Position { line: 294, column: 22, }, }, }, ), }, ), Raw( PartRaw { content: "\n\nmkdir -p /mnt/boot\nmkfs.vfat -n ESP /dev/vda2\nmount /dev/vda2 /mnt/boot\n\nmount\n\n# Install a configuration.nix\nmkdir -p /mnt/etc/nixos\n# `cat` so it is mutable on the fs\ncat ", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 305, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "mergedConfig", span: Span { start: Position { line: 305, column: 13, }, end: Position { line: 305, column: 25, }, }, }, ), }, ), Raw( PartRaw { content: " > /mnt/etc/nixos/configuration.nix\n\nexport NIX_STATE_DIR=$TMPDIR/state\nnix-store --load-db < ", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 308, column: 29, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "closureInfo", span: Span { start: Position { line: 308, column: 31, }, end: Position { line: 308, column: 42, }, }, }, ), }, ), Raw( PartRaw { content: "/registration\n\nnixos-install \\\n --root /mnt \\\n --no-root-passwd \\\n --system ", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 313, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 313, column: 20, }, end: Position { line: 313, column: 26, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "system", span: Span { start: Position { line: 313, column: 27, }, end: Position { line: 313, column: 33, }, }, }, ), Raw( PartRaw { content: "build", span: Span { start: Position { line: 313, column: 34, }, end: Position { line: 313, column: 39, }, }, }, ), Raw( PartRaw { content: "toplevel", span: Span { start: Position { line: 313, column: 40, }, end: Position { line: 313, column: 48, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n --substituters \"\" \\\n ", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 315, column: 9, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 315, column: 11, }, end: Position { line: 315, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "optionalString", span: Span { start: Position { line: 315, column: 15, }, end: Position { line: 315, column: 29, }, }, }, ), ], default: None, }, ), arguments: [ Identifier( Identifier { id: "includeChannel", span: Span { start: Position { line: 315, column: 30, }, end: Position { line: 315, column: 44, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "--channel ", span: Span { start: Position { line: 315, column: 47, }, end: Position { line: 315, column: 57, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "channelSources", span: Span { start: Position { line: 315, column: 59, }, end: Position { line: 315, column: 73, }, }, }, ), }, ), ], span: Span { start: Position { line: 315, column: 45, }, end: Position { line: 315, column: 76, }, }, }, ), ], }, ), }, ), Raw( PartRaw { content: "\n\ndf -h\n\numount /mnt/boot\n", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 320, column: 7, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "unmountDatasets", span: Span { start: Position { line: 320, column: 9, }, end: Position { line: 320, column: 24, }, }, }, ), }, ), Raw( PartRaw { content: "\n\nzpool export ", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 322, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "rootPoolName", span: Span { start: Position { line: 322, column: 22, }, end: Position { line: 322, column: 34, }, }, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 269, column: 1, }, end: Position { line: 323, column: 5, }, }, }, ), ], span: Span { start: Position { line: 268, column: 9, }, end: Position { line: 323, column: 7, }, }, }, ), ], }, ), ], }, ), }, ), ], target: Identifier( Identifier { id: "image", span: Span { start: Position { line: 326, column: 1, }, end: Position { line: 326, column: 6, }, }, }, ), span: Span { start: Position { line: 84, column: 1, }, end: Position { line: 326, column: 6, }, }, }, ), span: Span { start: Position { line: 27, column: 1, }, end: Position { line: 326, column: 6, }, }, }, )