Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: true, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "config", default: None, }, FunctionHeadDestructuredArgument { identifier: "lib", default: None, }, FunctionHeadDestructuredArgument { identifier: "pkgs", default: None, }, ], }, ), body: With( With { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 3, column: 6, }, end: Position { line: 3, column: 9, }, }, }, ), target: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "cfg", span: Span { start: Position { line: 7, column: 3, }, end: Position { line: 7, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "config", span: Span { start: Position { line: 7, column: 9, }, end: Position { line: 7, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "services", span: Span { start: Position { line: 7, column: 16, }, end: Position { line: 7, column: 24, }, }, }, ), Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 7, column: 25, }, end: Position { line: 7, column: 32, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 9, column: 3, }, end: Position { line: 9, column: 10, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 9, column: 13, }, end: Position { line: 9, column: 16, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 9, column: 17, }, end: Position { line: 9, column: 24, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "kernels", span: Span { start: Position { line: 11, column: 3, }, end: Position { line: 11, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 11, column: 14, }, end: Position { line: 11, column: 18, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "jupyter-kernel", span: Span { start: Position { line: 11, column: 19, }, end: Position { line: 11, column: 33, }, }, }, ), Raw( PartRaw { content: "create", span: Span { start: Position { line: 11, column: 34, }, end: Position { line: 11, column: 40, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "definitions", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 16, }, }, }, ), ], to: IfThenElse( IfThenElse { predicate: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 12, column: 22, }, end: Position { line: 12, column: 25, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "kernels", span: Span { start: Position { line: 12, column: 26, }, end: Position { line: 12, column: 33, }, }, }, ), ], default: None, }, ), operator: NotEqualTo, right: Identifier( Identifier { id: "null", span: Span { start: Position { line: 12, column: 37, }, end: Position { line: 12, column: 41, }, }, }, ), }, ), then: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 13, column: 12, }, end: Position { line: 13, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "kernels", span: Span { start: Position { line: 13, column: 16, }, end: Position { line: 13, column: 23, }, }, }, ), ], default: None, }, ), else_: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 14, column: 13, }, end: Position { line: 14, column: 17, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "jupyter-kernel", span: Span { start: Position { line: 14, column: 18, }, end: Position { line: 14, column: 32, }, }, }, ), Raw( PartRaw { content: "default", span: Span { start: Position { line: 14, column: 33, }, end: Position { line: 14, column: 40, }, }, }, ), ], default: None, }, ), span: Span { start: Position { line: 12, column: 19, }, end: Position { line: 14, column: 40, }, }, }, ), }, ), ], span: Span { start: Position { line: 11, column: 42, }, end: Position { line: 15, column: 4, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "notebookConfig", span: Span { start: Position { line: 17, column: 3, }, end: Position { line: 17, column: 17, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 17, column: 20, }, end: Position { line: 17, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "writeText", span: Span { start: Position { line: 17, column: 25, }, end: Position { line: 17, column: 34, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "jupyter_config.py", span: Span { start: Position { line: 17, column: 36, }, end: Position { line: 17, column: 53, }, }, }, ), ], span: Span { start: Position { line: 17, column: 35, }, end: Position { line: 17, column: 54, }, }, }, ), IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 18, column: 5, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 18, column: 7, }, end: Position { line: 18, column: 10, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "notebookConfig", span: Span { start: Position { line: 18, column: 11, }, end: Position { line: 18, column: 25, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n\nc.NotebookApp.password = ", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 20, column: 30, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 20, column: 32, }, end: Position { line: 20, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "password", span: Span { start: Position { line: 20, column: 36, }, end: Position { line: 20, column: 44, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "\n", span: Span { start: Position { line: 18, column: 1, }, end: Position { line: 21, column: 3, }, }, }, ), ], span: Span { start: Position { line: 17, column: 55, }, end: Position { line: 21, column: 5, }, }, }, ), ], }, ), }, ), ], target: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "meta", span: Span { start: Position { line: 24, column: 3, }, end: Position { line: 24, column: 7, }, }, }, ), Raw( PartRaw { content: "maintainers", span: Span { start: Position { line: 24, column: 8, }, end: Position { line: 24, column: 19, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "maintainers", span: Span { start: Position { line: 24, column: 27, }, end: Position { line: 24, column: 38, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "aborsu", span: Span { start: Position { line: 24, column: 42, }, end: Position { line: 24, column: 48, }, }, }, ), ], span: Span { start: Position { line: 24, column: 40, }, end: Position { line: 24, column: 50, }, }, }, ), span: Span { start: Position { line: 24, column: 22, }, end: Position { line: 24, column: 50, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "options", span: Span { start: Position { line: 26, column: 3, }, end: Position { line: 26, column: 10, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 26, column: 11, }, end: Position { line: 26, column: 19, }, }, }, ), Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 26, column: 20, }, end: Position { line: 26, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 27, column: 5, }, end: Position { line: 27, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkEnableOption", span: Span { start: Position { line: 27, column: 14, }, end: Position { line: 27, column: 28, }, }, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 27, column: 30, }, end: Position { line: 27, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 27, column: 34, }, end: Position { line: 27, column: 39, }, }, }, ), ], default: None, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "Jupyter development server", span: Span { start: Position { line: 27, column: 41, }, end: Position { line: 27, column: 67, }, }, }, ), ], span: Span { start: Position { line: 27, column: 40, }, end: Position { line: 27, column: 68, }, }, }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ip", span: Span { start: Position { line: 29, column: 5, }, end: Position { line: 29, column: 7, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 29, column: 10, }, end: Position { line: 29, column: 18, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 30, column: 7, }, end: Position { line: 30, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 30, column: 14, }, end: Position { line: 30, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 30, column: 20, }, end: Position { line: 30, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 31, column: 7, }, end: Position { line: 31, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "localhost", span: Span { start: Position { line: 31, column: 18, }, end: Position { line: 31, column: 27, }, }, }, ), ], span: Span { start: Position { line: 31, column: 17, }, end: Position { line: 31, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 32, column: 7, }, end: Position { line: 32, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 32, column: 21, }, end: Position { line: 32, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 32, column: 25, }, end: Position { line: 32, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "IP address Jupyter will be listening on.\n", span: Span { start: Position { line: 33, column: 1, }, end: Position { line: 34, column: 7, }, }, }, ), ], span: Span { start: Position { line: 32, column: 31, }, end: Position { line: 34, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 29, column: 19, }, end: Position { line: 35, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 37, column: 5, }, end: Position { line: 37, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 37, column: 15, }, end: Position { line: 37, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 38, column: 7, }, end: Position { line: 38, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 38, column: 14, }, end: Position { line: 38, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "package", span: Span { start: Position { line: 38, column: 20, }, end: Position { line: 38, column: 27, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 42, column: 7, }, end: Position { line: 42, column: 14, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 42, column: 17, }, end: Position { line: 42, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "python3", span: Span { start: Position { line: 42, column: 22, }, end: Position { line: 42, column: 29, }, }, }, ), Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 42, column: 30, }, end: Position { line: 42, column: 34, }, }, }, ), Raw( PartRaw { content: "notebook", span: Span { start: Position { line: 42, column: 35, }, end: Position { line: 42, column: 43, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "defaultText", span: Span { start: Position { line: 43, column: 7, }, end: Position { line: 43, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 43, column: 21, }, end: Position { line: 43, column: 38, }, }, }, ), arguments: [ String( String_ { parts: [ Raw( PartRaw { content: "pkgs.python3.pkgs.notebook", span: Span { start: Position { line: 43, column: 40, }, end: Position { line: 43, column: 66, }, }, }, ), ], span: Span { start: Position { line: 43, column: 39, }, end: Position { line: 43, column: 67, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 44, column: 7, }, end: Position { line: 44, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 44, column: 21, }, end: Position { line: 44, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 44, column: 25, }, end: Position { line: 44, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Jupyter package to use.\n", span: Span { start: Position { line: 45, column: 1, }, end: Position { line: 46, column: 7, }, }, }, ), ], span: Span { start: Position { line: 44, column: 31, }, end: Position { line: 46, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 37, column: 24, }, end: Position { line: 47, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "command", span: Span { start: Position { line: 49, column: 5, }, end: Position { line: 49, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 49, column: 15, }, end: Position { line: 49, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 50, column: 7, }, end: Position { line: 50, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 50, column: 14, }, end: Position { line: 50, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 50, column: 20, }, end: Position { line: 50, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 51, column: 7, }, end: Position { line: 51, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "jupyter-notebook", span: Span { start: Position { line: 51, column: 18, }, end: Position { line: 51, column: 34, }, }, }, ), ], span: Span { start: Position { line: 51, column: 17, }, end: Position { line: 51, column: 35, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 52, column: 7, }, end: Position { line: 52, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "jupyter-lab", span: Span { start: Position { line: 52, column: 18, }, end: Position { line: 52, column: 29, }, }, }, ), ], span: Span { start: Position { line: 52, column: 17, }, end: Position { line: 52, column: 30, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 53, column: 7, }, end: Position { line: 53, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 53, column: 21, }, end: Position { line: 53, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 53, column: 25, }, end: Position { line: 53, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Which command the service runs. Note that not all jupyter packages\nhave all commands, e.g. jupyter-lab isn't present in the default package.\n", span: Span { start: Position { line: 54, column: 1, }, end: Position { line: 56, column: 8, }, }, }, ), ], span: Span { start: Position { line: 53, column: 31, }, end: Position { line: 56, column: 10, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 49, column: 24, }, end: Position { line: 57, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 59, column: 5, }, end: Position { line: 59, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 59, column: 12, }, end: Position { line: 59, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 60, column: 7, }, end: Position { line: 60, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 60, column: 14, }, end: Position { line: 60, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "int", span: Span { start: Position { line: 60, column: 20, }, end: Position { line: 60, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 61, column: 7, }, end: Position { line: 61, column: 14, }, }, }, ), ], to: Integer( Integer { value: "8888", span: Span { start: Position { line: 61, column: 17, }, end: Position { line: 61, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 62, column: 7, }, end: Position { line: 62, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 62, column: 21, }, end: Position { line: 62, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 62, column: 25, }, end: Position { line: 62, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Port number Jupyter will be listening on.\n", span: Span { start: Position { line: 63, column: 1, }, end: Position { line: 64, column: 7, }, }, }, ), ], span: Span { start: Position { line: 62, column: 31, }, end: Position { line: 64, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 59, column: 21, }, end: Position { line: 65, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "notebookDir", span: Span { start: Position { line: 67, column: 5, }, end: Position { line: 67, column: 16, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 67, column: 19, }, end: Position { line: 67, column: 27, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 68, column: 7, }, end: Position { line: 68, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 68, column: 14, }, end: Position { line: 68, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 68, column: 20, }, end: Position { line: 68, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 69, column: 7, }, end: Position { line: 69, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "~/", span: Span { start: Position { line: 69, column: 18, }, end: Position { line: 69, column: 20, }, }, }, ), ], span: Span { start: Position { line: 69, column: 17, }, end: Position { line: 69, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 70, column: 7, }, end: Position { line: 70, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 70, column: 21, }, end: Position { line: 70, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 70, column: 25, }, end: Position { line: 70, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Root directory for notebooks.\n", span: Span { start: Position { line: 71, column: 1, }, end: Position { line: 72, column: 7, }, }, }, ), ], span: Span { start: Position { line: 70, column: 31, }, end: Position { line: 72, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 67, column: 28, }, end: Position { line: 73, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 75, column: 5, }, end: Position { line: 75, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 75, column: 12, }, end: Position { line: 75, column: 20, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 76, column: 7, }, end: Position { line: 76, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 76, column: 14, }, end: Position { line: 76, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 76, column: 20, }, end: Position { line: 76, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 77, column: 7, }, end: Position { line: 77, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 77, column: 18, }, end: Position { line: 77, column: 25, }, }, }, ), ], span: Span { start: Position { line: 77, column: 17, }, end: Position { line: 77, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 78, column: 7, }, end: Position { line: 78, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 78, column: 21, }, end: Position { line: 78, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 78, column: 25, }, end: Position { line: 78, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Name of the user used to run the jupyter service.\nFor security reason, jupyter should really not be run as root.\nIf not set (jupyter), the service will create a jupyter user with appropriate settings.\n", span: Span { start: Position { line: 79, column: 1, }, end: Position { line: 82, column: 7, }, }, }, ), ], span: Span { start: Position { line: 78, column: 31, }, end: Position { line: 82, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 83, column: 7, }, end: Position { line: 83, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "aborsu", span: Span { start: Position { line: 83, column: 18, }, end: Position { line: 83, column: 24, }, }, }, ), ], span: Span { start: Position { line: 83, column: 17, }, end: Position { line: 83, column: 25, }, }, }, ), }, ), ], span: Span { start: Position { line: 75, column: 21, }, end: Position { line: 84, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 86, column: 5, }, end: Position { line: 86, column: 10, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 86, column: 13, }, end: Position { line: 86, column: 21, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 87, column: 7, }, end: Position { line: 87, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 87, column: 14, }, end: Position { line: 87, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 87, column: 20, }, end: Position { line: 87, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 88, column: 7, }, end: Position { line: 88, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 88, column: 18, }, end: Position { line: 88, column: 25, }, }, }, ), ], span: Span { start: Position { line: 88, column: 17, }, end: Position { line: 88, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 89, column: 7, }, end: Position { line: 89, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 89, column: 21, }, end: Position { line: 89, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 89, column: 25, }, end: Position { line: 89, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Name of the group used to run the jupyter service.\nUse this if you want to create a group of users that are able to view the notebook directory's content.\n", span: Span { start: Position { line: 90, column: 1, }, end: Position { line: 92, column: 7, }, }, }, ), ], span: Span { start: Position { line: 89, column: 31, }, end: Position { line: 92, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 93, column: 7, }, end: Position { line: 93, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 93, column: 18, }, end: Position { line: 93, column: 23, }, }, }, ), ], span: Span { start: Position { line: 93, column: 17, }, end: Position { line: 93, column: 24, }, }, }, ), }, ), ], span: Span { start: Position { line: 86, column: 22, }, end: Position { line: 94, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "password", span: Span { start: Position { line: 96, column: 5, }, end: Position { line: 96, column: 13, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 96, column: 16, }, end: Position { line: 96, column: 24, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 97, column: 7, }, end: Position { line: 97, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 97, column: 14, }, end: Position { line: 97, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "str", span: Span { start: Position { line: 97, column: 20, }, end: Position { line: 97, column: 23, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 98, column: 7, }, end: Position { line: 98, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 98, column: 21, }, end: Position { line: 98, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 98, column: 25, }, end: Position { line: 98, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Password to use with notebook.\nCan be generated using:\n In [1]: from notebook.auth import passwd\n In [2]: passwd('test')\n Out[2]: 'sha1:1b961dc713fb:88483270a63e57d18d43cf337e629539de1436ba'\n NOTE: you need to keep the single quote inside the nix string.\nOr you can use a python oneliner:\n \"open('/path/secret_file', 'r', encoding='utf8').read().strip()\"\nIt will be interpreted at the end of the notebookConfig.\n", span: Span { start: Position { line: 99, column: 1, }, end: Position { line: 108, column: 7, }, }, }, ), ], span: Span { start: Position { line: 98, column: 31, }, end: Position { line: 108, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 109, column: 7, }, end: Position { line: 109, column: 14, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "'sha1:1b961dc713fb:88483270a63e57d18d43cf337e629539de1436ba'", span: Span { start: Position { line: 109, column: 18, }, end: Position { line: 109, column: 78, }, }, }, ), ], span: Span { start: Position { line: 109, column: 17, }, end: Position { line: 109, column: 79, }, }, }, ), }, ), ], span: Span { start: Position { line: 96, column: 25, }, end: Position { line: 110, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "notebookConfig", span: Span { start: Position { line: 112, column: 5, }, end: Position { line: 112, column: 19, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 112, column: 22, }, end: Position { line: 112, column: 30, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 113, column: 7, }, end: Position { line: 113, column: 11, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 113, column: 14, }, end: Position { line: 113, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lines", span: Span { start: Position { line: 113, column: 20, }, end: Position { line: 113, column: 25, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 114, column: 7, }, end: Position { line: 114, column: 14, }, }, }, ), ], to: String( String_ { parts: [], span: Span { start: Position { line: 114, column: 17, }, end: Position { line: 114, column: 19, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 115, column: 7, }, end: Position { line: 115, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 115, column: 21, }, end: Position { line: 115, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 115, column: 25, }, end: Position { line: 115, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Raw jupyter config.\n", span: Span { start: Position { line: 116, column: 1, }, end: Position { line: 117, column: 7, }, }, }, ), ], span: Span { start: Position { line: 115, column: 31, }, end: Position { line: 117, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 112, column: 31, }, end: Position { line: 118, column: 6, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "kernels", span: Span { start: Position { line: 120, column: 5, }, end: Position { line: 120, column: 12, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkOption", span: Span { start: Position { line: 120, column: 15, }, end: Position { line: 120, column: 23, }, }, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "type", span: Span { start: Position { line: 121, column: 7, }, end: Position { line: 121, column: 11, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 121, column: 14, }, end: Position { line: 121, column: 19, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "nullOr", span: Span { start: Position { line: 121, column: 20, }, end: Position { line: 121, column: 26, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 121, column: 28, }, end: Position { line: 121, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "attrsOf", span: Span { start: Position { line: 121, column: 34, }, end: Position { line: 121, column: 41, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "types", span: Span { start: Position { line: 121, column: 42, }, end: Position { line: 121, column: 47, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "submodule", span: Span { start: Position { line: 121, column: 48, }, end: Position { line: 121, column: 57, }, }, }, ), ], default: None, }, ), arguments: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 121, column: 59, }, end: Position { line: 121, column: 65, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./kernel-options.nix", span: Span { start: Position { line: 121, column: 66, }, end: Position { line: 121, column: 86, }, }, }, ), ], span: Span { start: Position { line: 121, column: 66, }, end: Position { line: 121, column: 86, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 122, column: 17, }, end: Position { line: 122, column: 20, }, }, }, ), ], span: Span { start: Position { line: 121, column: 88, }, end: Position { line: 122, column: 21, }, }, }, ), ], span: Span { start: Position { line: 121, column: 87, }, end: Position { line: 123, column: 8, }, }, }, ), ], }, ), ], }, ), ], }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "default", span: Span { start: Position { line: 125, column: 7, }, end: Position { line: 125, column: 14, }, }, }, ), ], to: Identifier( Identifier { id: "null", span: Span { start: Position { line: 125, column: 17, }, end: Position { line: 125, column: 21, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "example", span: Span { start: Position { line: 126, column: 7, }, end: Position { line: 126, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "literalExpression", span: Span { start: Position { line: 126, column: 17, }, end: Position { line: 126, column: 34, }, }, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "{\n python3 = let\n env = (pkgs.python3.withPackages (pythonPackages: with pythonPackages; [\n ipykernel\n pandas\n scikit-learn\n ]));\n in {\n displayName = \"Python 3 for machine learning\";\n argv = [\n \"", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 137, column: 16, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 137, column: 19, }, }, }, ), Raw( PartRaw { content: "{env.interpreter}\"\n \"-m\"\n \"ipykernel_launcher\"\n \"-f\"\n \"{connection_file}\"\n ];\n language = \"python\";\n logo32 = \"", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 144, column: 23, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 144, column: 26, }, }, }, ), Raw( PartRaw { content: "{env.sitePackages}/ipykernel/resources/logo-32x32.png\";\n logo64 = \"", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 145, column: 23, }, }, }, ), Raw( PartRaw { content: "$", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 145, column: 26, }, }, }, ), Raw( PartRaw { content: "{env.sitePackages}/ipykernel/resources/logo-64x64.png\";\n extraPaths = {\n \"cool.txt\" = pkgs.writeText \"cool\" \"cool content\";\n };\n };\n}\n", span: Span { start: Position { line: 127, column: 1, }, end: Position { line: 151, column: 7, }, }, }, ), ], span: Span { start: Position { line: 126, column: 35, }, end: Position { line: 151, column: 9, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 152, column: 7, }, end: Position { line: 152, column: 18, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 152, column: 21, }, end: Position { line: 152, column: 24, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "mdDoc", span: Span { start: Position { line: 152, column: 25, }, end: Position { line: 152, column: 30, }, }, }, ), ], default: None, }, ), arguments: [ IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "Declarative kernel config.\n\nKernels can be declared in any language that supports and has the required\ndependencies to communicate with a jupyter server.\nIn python's case, it means that ipykernel package must always be included in\nthe list of packages of the targeted environment.\n", span: Span { start: Position { line: 153, column: 1, }, end: Position { line: 159, column: 7, }, }, }, ), ], span: Span { start: Position { line: 152, column: 31, }, end: Position { line: 159, column: 9, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 120, column: 24, }, end: Position { line: 160, column: 6, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 26, column: 30, }, end: Position { line: 161, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "config", span: Span { start: Position { line: 163, column: 3, }, end: Position { line: 163, column: 9, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkMerge", span: Span { start: Position { line: 163, column: 12, }, end: Position { line: 163, column: 19, }, }, }, ), arguments: [ List( List { elements: [ FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 164, column: 6, }, end: Position { line: 164, column: 10, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 164, column: 11, }, end: Position { line: 164, column: 14, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 164, column: 15, }, end: Position { line: 164, column: 21, }, }, }, ), ], default: None, }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "systemd", span: Span { start: Position { line: 165, column: 7, }, end: Position { line: 165, column: 14, }, }, }, ), Raw( PartRaw { content: "services", span: Span { start: Position { line: 165, column: 15, }, end: Position { line: 165, column: 23, }, }, }, ), Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 165, column: 24, }, end: Position { line: 165, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "description", span: Span { start: Position { line: 166, column: 9, }, end: Position { line: 166, column: 20, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "Jupyter development server", span: Span { start: Position { line: 166, column: 24, }, end: Position { line: 166, column: 50, }, }, }, ), ], span: Span { start: Position { line: 166, column: 23, }, end: Position { line: 166, column: 51, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "after", span: Span { start: Position { line: 168, column: 9, }, end: Position { line: 168, column: 14, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "network.target", span: Span { start: Position { line: 168, column: 20, }, end: Position { line: 168, column: 34, }, }, }, ), ], span: Span { start: Position { line: 168, column: 19, }, end: Position { line: 168, column: 35, }, }, }, ), ], span: Span { start: Position { line: 168, column: 17, }, end: Position { line: 168, column: 37, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "wantedBy", span: Span { start: Position { line: 169, column: 9, }, end: Position { line: 169, column: 17, }, }, }, ), ], to: List( List { elements: [ String( String_ { parts: [ Raw( PartRaw { content: "multi-user.target", span: Span { start: Position { line: 169, column: 23, }, end: Position { line: 169, column: 40, }, }, }, ), ], span: Span { start: Position { line: 169, column: 22, }, end: Position { line: 169, column: 41, }, }, }, ), ], span: Span { start: Position { line: 169, column: 20, }, end: Position { line: 169, column: 43, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "path", span: Span { start: Position { line: 172, column: 9, }, end: Position { line: 172, column: 13, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 172, column: 18, }, end: Position { line: 172, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "bash", span: Span { start: Position { line: 172, column: 23, }, end: Position { line: 172, column: 27, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 172, column: 16, }, end: Position { line: 172, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "environment", span: Span { start: Position { line: 174, column: 9, }, end: Position { line: 174, column: 20, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "JUPYTER_PATH", span: Span { start: Position { line: 175, column: 11, }, end: Position { line: 175, column: 23, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 175, column: 26, }, end: Position { line: 175, column: 34, }, }, }, ), arguments: [ Identifier( Identifier { id: "kernels", span: Span { start: Position { line: 175, column: 35, }, end: Position { line: 175, column: 42, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 174, column: 23, }, end: Position { line: 176, column: 10, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "serviceConfig", span: Span { start: Position { line: 178, column: 9, }, end: Position { line: 178, column: 22, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Restart", span: Span { start: Position { line: 179, column: 11, }, end: Position { line: 179, column: 18, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "always", span: Span { start: Position { line: 179, column: 22, }, end: Position { line: 179, column: 28, }, }, }, ), ], span: Span { start: Position { line: 179, column: 21, }, end: Position { line: 179, column: 29, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "ExecStart", span: Span { start: Position { line: 180, column: 11, }, end: Position { line: 180, column: 20, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "package", span: Span { start: Position { line: 180, column: 27, }, end: Position { line: 180, column: 34, }, }, }, ), }, ), Raw( PartRaw { content: "/bin/", span: Span { start: Position { line: 180, column: 25, }, end: Position { line: 180, column: 40, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 180, column: 42, }, end: Position { line: 180, column: 45, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "command", span: Span { start: Position { line: 180, column: 46, }, end: Position { line: 180, column: 53, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n --no-browser \\\n --ip=", span: Span { start: Position { line: 180, column: 25, }, end: Position { line: 182, column: 18, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 182, column: 20, }, end: Position { line: 182, column: 23, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "ip", span: Span { start: Position { line: 182, column: 24, }, end: Position { line: 182, column: 26, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n --port=", span: Span { start: Position { line: 180, column: 25, }, end: Position { line: 183, column: 20, }, }, }, ), Interpolation( PartInterpolation { expression: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "toString", span: Span { start: Position { line: 183, column: 22, }, end: Position { line: 183, column: 30, }, }, }, ), arguments: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 183, column: 31, }, end: Position { line: 183, column: 34, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "port", span: Span { start: Position { line: 183, column: 35, }, end: Position { line: 183, column: 39, }, }, }, ), ], default: None, }, ), ], }, ), }, ), Raw( PartRaw { content: " --port-retries 0 \\\n --notebook-dir=", span: Span { start: Position { line: 180, column: 25, }, end: Position { line: 184, column: 28, }, }, }, ), Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 184, column: 30, }, end: Position { line: 184, column: 33, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "notebookDir", span: Span { start: Position { line: 184, column: 34, }, end: Position { line: 184, column: 45, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: " \\\n --NotebookApp.config_file=", span: Span { start: Position { line: 180, column: 25, }, end: Position { line: 185, column: 39, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "notebookConfig", span: Span { start: Position { line: 185, column: 41, }, end: Position { line: 185, column: 55, }, }, }, ), }, ), Raw( PartRaw { content: "\n ", span: Span { start: Position { line: 180, column: 25, }, end: Position { line: 186, column: 11, }, }, }, ), ], span: Span { start: Position { line: 180, column: 23, }, end: Position { line: 186, column: 13, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "User", span: Span { start: Position { line: 187, column: 11, }, end: Position { line: 187, column: 15, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 187, column: 18, }, end: Position { line: 187, column: 21, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 187, column: 22, }, end: Position { line: 187, column: 26, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "Group", span: Span { start: Position { line: 188, column: 11, }, end: Position { line: 188, column: 16, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 188, column: 19, }, end: Position { line: 188, column: 22, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 188, column: 23, }, end: Position { line: 188, column: 28, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "WorkingDirectory", span: Span { start: Position { line: 189, column: 11, }, end: Position { line: 189, column: 27, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "~", span: Span { start: Position { line: 189, column: 31, }, end: Position { line: 189, column: 32, }, }, }, ), ], span: Span { start: Position { line: 189, column: 30, }, end: Position { line: 189, column: 33, }, }, }, ), }, ), ], span: Span { start: Position { line: 178, column: 25, }, end: Position { line: 190, column: 10, }, }, }, ), }, ), ], span: Span { start: Position { line: 165, column: 34, }, end: Position { line: 191, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 164, column: 23, }, end: Position { line: 192, column: 6, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 193, column: 6, }, end: Position { line: 193, column: 10, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 193, column: 12, }, end: Position { line: 193, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 193, column: 16, }, end: Position { line: 193, column: 22, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 193, column: 27, }, end: Position { line: 193, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 193, column: 31, }, end: Position { line: 193, column: 36, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 193, column: 41, }, end: Position { line: 193, column: 48, }, }, }, ), ], span: Span { start: Position { line: 193, column: 40, }, end: Position { line: 193, column: 49, }, }, }, ), }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 194, column: 7, }, end: Position { line: 194, column: 12, }, }, }, ), Raw( PartRaw { content: "groups", span: Span { start: Position { line: 194, column: 13, }, end: Position { line: 194, column: 19, }, }, }, ), Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 194, column: 20, }, end: Position { line: 194, column: 27, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 194, column: 30, }, end: Position { line: 194, column: 32, }, }, }, ), }, ), ], span: Span { start: Position { line: 193, column: 52, }, end: Position { line: 195, column: 6, }, }, }, ), ], }, ), FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "mkIf", span: Span { start: Position { line: 196, column: 6, }, end: Position { line: 196, column: 10, }, }, }, ), arguments: [ BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 196, column: 12, }, end: Position { line: 196, column: 15, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "enable", span: Span { start: Position { line: 196, column: 16, }, end: Position { line: 196, column: 22, }, }, }, ), ], default: None, }, ), operator: LogicalAnd, right: BinaryOperation( BinaryOperation { left: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 196, column: 27, }, end: Position { line: 196, column: 30, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "user", span: Span { start: Position { line: 196, column: 31, }, end: Position { line: 196, column: 35, }, }, }, ), ], default: None, }, ), operator: EqualTo, right: String( String_ { parts: [ Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 196, column: 40, }, end: Position { line: 196, column: 47, }, }, }, ), ], span: Span { start: Position { line: 196, column: 39, }, end: Position { line: 196, column: 48, }, }, }, ), }, ), }, ), Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "users", span: Span { start: Position { line: 197, column: 7, }, end: Position { line: 197, column: 12, }, }, }, ), Raw( PartRaw { content: "extraUsers", span: Span { start: Position { line: 197, column: 13, }, end: Position { line: 197, column: 23, }, }, }, ), Raw( PartRaw { content: "jupyter", span: Span { start: Position { line: 197, column: 24, }, end: Position { line: 197, column: 31, }, }, }, ), ], to: Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "extraGroups", span: Span { start: Position { line: 198, column: 9, }, end: Position { line: 198, column: 20, }, }, }, ), ], to: List( List { elements: [ PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "cfg", span: Span { start: Position { line: 198, column: 25, }, end: Position { line: 198, column: 28, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "group", span: Span { start: Position { line: 198, column: 29, }, end: Position { line: 198, column: 34, }, }, }, ), ], default: None, }, ), ], span: Span { start: Position { line: 198, column: 23, }, end: Position { line: 198, column: 36, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "home", span: Span { start: Position { line: 199, column: 9, }, end: Position { line: 199, column: 13, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "/var/lib/jupyter", span: Span { start: Position { line: 199, column: 17, }, end: Position { line: 199, column: 33, }, }, }, ), ], span: Span { start: Position { line: 199, column: 16, }, end: Position { line: 199, column: 34, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "createHome", span: Span { start: Position { line: 200, column: 9, }, end: Position { line: 200, column: 19, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 200, column: 22, }, end: Position { line: 200, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "isSystemUser", span: Span { start: Position { line: 201, column: 9, }, end: Position { line: 201, column: 21, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 201, column: 24, }, end: Position { line: 201, column: 28, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "useDefaultShell", span: Span { start: Position { line: 202, column: 9, }, end: Position { line: 202, column: 24, }, }, }, ), ], to: Identifier( Identifier { id: "true", span: Span { start: Position { line: 202, column: 27, }, end: Position { line: 202, column: 31, }, }, }, ), }, ), ], span: Span { start: Position { line: 197, column: 34, }, end: Position { line: 203, column: 8, }, }, }, ), }, ), ], span: Span { start: Position { line: 196, column: 51, }, end: Position { line: 204, column: 6, }, }, }, ), ], }, ), ], span: Span { start: Position { line: 163, column: 20, }, end: Position { line: 205, column: 4, }, }, }, ), ], }, ), }, ), ], span: Span { start: Position { line: 23, column: 4, }, end: Position { line: 206, column: 2, }, }, }, ), span: Span { start: Position { line: 5, column: 1, }, end: Position { line: 206, column: 2, }, }, }, ), span: Span { start: Position { line: 3, column: 1, }, end: Position { line: 206, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 206, column: 2, }, }, }, )