Function( Function { head: Destructured( FunctionHeadDestructured { ellipsis: false, identifier: None, arguments: [ FunctionHeadDestructuredArgument { identifier: "pkgs", default: Some( FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 1, column: 11, }, end: Position { line: 1, column: 17, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./..", span: Span { start: Position { line: 1, column: 18, }, end: Position { line: 1, column: 22, }, }, }, ), ], span: Span { start: Position { line: 1, column: 18, }, end: Position { line: 1, column: 22, }, }, }, ), Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 1, column: 23, }, end: Position { line: 1, column: 26, }, }, }, ), ], }, ), ), }, FunctionHeadDestructuredArgument { identifier: "nixpkgs", default: Some( Map( Map { recursive: false, bindings: [], span: Span { start: Position { line: 1, column: 39, }, end: Position { line: 1, column: 42, }, }, }, ), ), }, ], }, ), body: LetIn( LetIn { bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 3, column: 3, }, end: Position { line: 3, column: 6, }, }, }, ), ], to: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 3, column: 9, }, end: Position { line: 3, column: 13, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "lib", span: Span { start: Position { line: 3, column: 14, }, end: Position { line: 3, column: 17, }, }, }, ), ], default: None, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "doc-support", span: Span { start: Position { line: 4, column: 3, }, end: Position { line: 4, column: 14, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: Identifier( Identifier { id: "import", span: Span { start: Position { line: 4, column: 17, }, end: Position { line: 4, column: 23, }, }, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./doc-support", span: Span { start: Position { line: 4, column: 24, }, end: Position { line: 4, column: 37, }, }, }, ), ], span: Span { start: Position { line: 4, column: 24, }, end: Position { line: 4, column: 37, }, }, }, ), Map( Map { recursive: false, bindings: [ Inherit( BindingInherit { from: None, attributes: [ Raw( PartRaw { content: "pkgs", span: Span { start: Position { line: 4, column: 48, }, end: Position { line: 4, column: 52, }, }, }, ), Raw( PartRaw { content: "nixpkgs", span: Span { start: Position { line: 4, column: 53, }, end: Position { line: 4, column: 60, }, }, }, ), ], span: Span { start: Position { line: 4, column: 39, }, end: Position { line: 4, column: 61, }, }, }, ), ], span: Span { start: Position { line: 4, column: 38, }, end: Position { line: 4, column: 63, }, }, }, ), ], }, ), }, ), ], target: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 5, column: 4, }, end: Position { line: 5, column: 8, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "stdenv", span: Span { start: Position { line: 5, column: 9, }, end: Position { line: 5, column: 15, }, }, }, ), Raw( PartRaw { content: "mkDerivation", span: Span { start: Position { line: 5, column: 16, }, end: Position { line: 5, column: 28, }, }, }, ), ], default: None, }, ), arguments: [ Map( Map { recursive: false, bindings: [ KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "name", span: Span { start: Position { line: 6, column: 3, }, end: Position { line: 6, column: 7, }, }, }, ), ], to: String( String_ { parts: [ Raw( PartRaw { content: "nixpkgs-manual", span: Span { start: Position { line: 6, column: 11, }, end: Position { line: 6, column: 25, }, }, }, ), ], span: Span { start: Position { line: 6, column: 10, }, end: Position { line: 6, column: 26, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "nativeBuildInputs", span: Span { start: Position { line: 8, column: 3, }, end: Position { line: 8, column: 20, }, }, }, ), ], to: With( With { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 8, column: 28, }, end: Position { line: 8, column: 32, }, }, }, ), target: List( List { elements: [ Identifier( Identifier { id: "pandoc", span: Span { start: Position { line: 9, column: 5, }, end: Position { line: 9, column: 11, }, }, }, ), Identifier( Identifier { id: "graphviz", span: Span { start: Position { line: 10, column: 5, }, end: Position { line: 10, column: 13, }, }, }, ), Identifier( Identifier { id: "libxml2", span: Span { start: Position { line: 11, column: 5, }, end: Position { line: 11, column: 12, }, }, }, ), Identifier( Identifier { id: "libxslt", span: Span { start: Position { line: 12, column: 5, }, end: Position { line: 12, column: 12, }, }, }, ), Identifier( Identifier { id: "zip", span: Span { start: Position { line: 13, column: 5, }, end: Position { line: 13, column: 8, }, }, }, ), Identifier( Identifier { id: "jing", span: Span { start: Position { line: 14, column: 5, }, end: Position { line: 14, column: 9, }, }, }, ), Identifier( Identifier { id: "xmlformat", span: Span { start: Position { line: 15, column: 5, }, end: Position { line: 15, column: 14, }, }, }, ), ], span: Span { start: Position { line: 8, column: 34, }, end: Position { line: 16, column: 4, }, }, }, ), span: Span { start: Position { line: 8, column: 23, }, end: Position { line: 16, column: 4, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "src", span: Span { start: Position { line: 18, column: 3, }, end: Position { line: 18, column: 6, }, }, }, ), ], to: FunctionApplication( FunctionApplication { function: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "lib", span: Span { start: Position { line: 18, column: 9, }, end: Position { line: 18, column: 12, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "cleanSource", span: Span { start: Position { line: 18, column: 13, }, end: Position { line: 18, column: 24, }, }, }, ), ], default: None, }, ), arguments: [ Path( Path { parts: [ Raw( PartRaw { content: "./.", span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 28, }, }, }, ), ], span: Span { start: Position { line: 18, column: 25, }, end: Position { line: 18, column: 28, }, }, }, ), ], }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "postPatch", span: Span { start: Position { line: 20, column: 3, }, end: Position { line: 20, column: 12, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "ln -s ", span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 21, column: 11, }, }, }, ), Interpolation( PartInterpolation { expression: Identifier( Identifier { id: "doc-support", span: Span { start: Position { line: 21, column: 13, }, end: Position { line: 21, column: 24, }, }, }, ), }, ), Raw( PartRaw { content: " ./doc-support/result\n", span: Span { start: Position { line: 21, column: 1, }, end: Position { line: 22, column: 3, }, }, }, ), ], span: Span { start: Position { line: 20, column: 15, }, end: Position { line: 22, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "installPhase", span: Span { start: Position { line: 24, column: 3, }, end: Position { line: 24, column: 15, }, }, }, ), ], to: IndentedString( IndentedString { parts: [ Raw( PartRaw { content: "dest=\"$out/share/doc/nixpkgs\"\nmkdir -p \"$(dirname \"$dest\")\"\nmv out/html \"$dest\"\nmv \"$dest/index.html\" \"$dest/manual.html\"\n\nmv out/epub/manual.epub \"$dest/nixpkgs-manual.epub\"\n\nmkdir -p $out/nix-support/\necho \"doc manual $dest manual.html\" >> $out/nix-support/hydra-build-products\necho \"doc manual $dest nixpkgs-manual.epub\" >> $out/nix-support/hydra-build-products\n", span: Span { start: Position { line: 25, column: 1, }, end: Position { line: 35, column: 3, }, }, }, ), ], span: Span { start: Position { line: 24, column: 18, }, end: Position { line: 35, column: 5, }, }, }, ), }, ), KeyValue( BindingKeyValue { from: [ Raw( PartRaw { content: "PANDOC_LUA_FILTERS_DIR", span: Span { start: Position { line: 38, column: 3, }, end: Position { line: 38, column: 25, }, }, }, ), ], to: String( String_ { parts: [ Interpolation( PartInterpolation { expression: PropertyAccess( PropertyAccess { expression: Identifier( Identifier { id: "pkgs", span: Span { start: Position { line: 38, column: 31, }, end: Position { line: 38, column: 35, }, }, }, ), attribute_path: [ Raw( PartRaw { content: "pandoc-lua-filters", span: Span { start: Position { line: 38, column: 36, }, end: Position { line: 38, column: 54, }, }, }, ), ], default: None, }, ), }, ), Raw( PartRaw { content: "/share/pandoc/filters", span: Span { start: Position { line: 38, column: 29, }, end: Position { line: 38, column: 76, }, }, }, ), ], span: Span { start: Position { line: 38, column: 28, }, end: Position { line: 38, column: 77, }, }, }, ), }, ), ], span: Span { start: Position { line: 5, column: 29, }, end: Position { line: 39, column: 2, }, }, }, ), ], }, ), span: Span { start: Position { line: 2, column: 1, }, end: Position { line: 39, column: 2, }, }, }, ), span: Span { start: Position { line: 1, column: 1, }, end: Position { line: 39, column: 2, }, }, }, )