---
Function {
 argument: None,
 arguments: FunctionArguments {
  arguments: [
   FunctionArgument {
    identifier: "lib",
    default: None,
   },
  ],
  ellipsis: false,
 },
 definition: Map {
  bindings: [
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "overrideDerivation",
       position: (31, 3),
      },
     ],
    },
    Function {
     argument: Some(
      "drv",
     ),
     arguments: FunctionArguments {
      arguments: [],
      ellipsis: false,
     },
     definition: Function {
      argument: Some(
       "f",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: LetIn {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "newDrv",
            position: (33, 7),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "derivation",
           position: (33, 16),
          },
          arguments: [
           BinaryOperation {
            operator: Update,
            operands: [
             PropertyAccess {
              expression: Variable {
               identifier: "drv",
               position: (33, 28),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "drvAttrs",
                 position: (33, 32),
                },
               ],
              },
              default: None,
             },
             FunctionApplication {
              function: Variable {
               identifier: "f",
               position: (33, 45),
              },
              arguments: [
               Variable {
                identifier: "drv",
                position: (33, 47),
               },
              ],
             },
            ],
            position: (33, 41),
           },
          ],
         },
        ),
       ],
       target: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "lib",
          position: (34, 8),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "flip",
            position: (34, 12),
           },
          ],
         },
         default: None,
        },
        arguments: [
         FunctionApplication {
          function: Variable {
           identifier: "extendDerivation",
           position: (34, 18),
          },
          arguments: [
           Variable {
            identifier: "true",
            position: (34, 35),
           },
          ],
         },
         Variable {
          identifier: "newDrv",
          position: (34, 41),
         },
         BinaryOperation {
          operator: Update,
          operands: [
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "meta",
                 position: (35, 9),
                },
               ],
              },
              PropertyAccess {
               expression: Variable {
                identifier: "drv",
                position: (35, 16),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "meta",
                  position: (35, 20),
                 },
                ],
               },
               default: Some(
                Map {
                 bindings: [],
                 recursive: false,
                 position: (35, 28),
                },
               ),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "passthru",
                 position: (36, 9),
                },
               ],
              },
              IfThenElse {
               predicate: HasProperty {
                expression: Variable {
                 identifier: "drv",
                 position: (36, 23),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "passthru",
                   position: (36, 29),
                  },
                 ],
                },
                position: (36, 27),
               },
               then: PropertyAccess {
                expression: Variable {
                 identifier: "drv",
                 position: (36, 43),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "passthru",
                   position: (36, 47),
                  },
                 ],
                },
                default: None,
               },
               else_: Map {
                bindings: [],
                recursive: false,
                position: (36, 61),
               },
               position: (36, 20),
              },
             ),
            ],
            recursive: false,
            position: (35, 7),
           },
           BinaryOperation {
            operator: Update,
            operands: [
             PropertyAccess {
              expression: Variable {
               identifier: "drv",
               position: (39, 8),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "passthru",
                 position: (39, 12),
                },
               ],
              },
              default: Some(
               Map {
                bindings: [],
                recursive: false,
                position: (39, 24),
               },
              ),
             },
             IfThenElse {
              predicate: BinaryOperation {
               operator: LogicalAnd,
               operands: [
                HasProperty {
                 expression: Variable {
                  identifier: "drv",
                  position: (41, 12),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "crossDrv",
                    position: (41, 18),
                   },
                  ],
                 },
                 position: (41, 16),
                },
                HasProperty {
                 expression: Variable {
                  identifier: "drv",
                  position: (41, 30),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "nativeDrv",
                    position: (41, 36),
                   },
                  ],
                 },
                 position: (41, 34),
                },
               ],
               position: (41, 27),
              },
              then: Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "crossDrv",
                    position: (43, 10),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "overrideDerivation",
                   position: (43, 21),
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "drv",
                     position: (43, 40),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "crossDrv",
                       position: (43, 44),
                      },
                     ],
                    },
                    default: None,
                   },
                   Variable {
                    identifier: "f",
                    position: (43, 53),
                   },
                  ],
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "nativeDrv",
                    position: (44, 10),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "overrideDerivation",
                   position: (44, 22),
                  },
                  arguments: [
                   PropertyAccess {
                    expression: Variable {
                     identifier: "drv",
                     position: (44, 41),
                    },
                    attribute_path: AttributePath {
                     attributes: [
                      Raw {
                       content: "nativeDrv",
                       position: (44, 45),
                      },
                     ],
                    },
                    default: None,
                   },
                   Variable {
                    identifier: "f",
                    position: (44, 55),
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (42, 13),
              },
              else_: Map {
               bindings: [],
               recursive: false,
               position: (46, 13),
              },
              position: (41, 8),
             },
            ],
            position: (40, 7),
           },
          ],
          position: (38, 7),
         },
        ],
       },
       position: (32, 5),
      },
      position: (31, 29),
     },
     position: (31, 24),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "makeOverridable",
       position: (67, 3),
      },
     ],
    },
    Function {
     argument: Some(
      "f",
     ),
     arguments: FunctionArguments {
      arguments: [],
      ellipsis: false,
     },
     definition: Function {
      argument: Some(
       "origArgs",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: LetIn {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "result",
            position: (69, 7),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "f",
           position: (69, 16),
          },
          arguments: [
           Variable {
            identifier: "origArgs",
            position: (69, 18),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "copyArgs",
            position: (72, 7),
           },
          ],
         },
         Function {
          argument: Some(
           "g",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "lib",
             position: (72, 21),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "setFunctionArgs",
               position: (72, 25),
              },
             ],
            },
            default: None,
           },
           arguments: [
            Variable {
             identifier: "g",
             position: (72, 41),
            },
            FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "lib",
               position: (72, 44),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "functionArgs",
                 position: (72, 48),
                },
               ],
              },
              default: None,
             },
             arguments: [
              Variable {
               identifier: "f",
               position: (72, 61),
              },
             ],
            },
           ],
          },
          position: (72, 18),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "overrideWith",
            position: (74, 7),
           },
          ],
         },
         Function {
          argument: Some(
           "newArgs",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: BinaryOperation {
           operator: Update,
           operands: [
            Variable {
             identifier: "origArgs",
             position: (74, 31),
            },
            IfThenElse {
             predicate: FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "lib",
                position: (74, 47),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "isFunction",
                  position: (74, 51),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               Variable {
                identifier: "newArgs",
                position: (74, 62),
               },
              ],
             },
             then: FunctionApplication {
              function: Variable {
               identifier: "newArgs",
               position: (74, 75),
              },
              arguments: [
               Variable {
                identifier: "origArgs",
                position: (74, 83),
               },
              ],
             },
             else_: Variable {
              identifier: "newArgs",
              position: (74, 97),
             },
             position: (74, 44),
            },
           ],
           position: (74, 40),
          },
          position: (74, 22),
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "overrideArgs",
            position: (77, 7),
           },
          ],
         },
         FunctionApplication {
          function: Variable {
           identifier: "copyArgs",
           position: (77, 22),
          },
          arguments: [
           Function {
            argument: Some(
             "newArgs",
            ),
            arguments: FunctionArguments {
             arguments: [],
             ellipsis: false,
            },
            definition: FunctionApplication {
             function: Variable {
              identifier: "makeOverridable",
              position: (77, 41),
             },
             arguments: [
              Variable {
               identifier: "f",
               position: (77, 57),
              },
              FunctionApplication {
               function: Variable {
                identifier: "overrideWith",
                position: (77, 60),
               },
               arguments: [
                Variable {
                 identifier: "newArgs",
                 position: (77, 73),
                },
               ],
              },
             ],
            },
            position: (77, 32),
           },
          ],
         },
        ),
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "overrideResult",
            position: (79, 7),
           },
          ],
         },
         Function {
          argument: Some(
           "g",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: FunctionApplication {
           function: Variable {
            identifier: "makeOverridable",
            position: (79, 27),
           },
           arguments: [
            FunctionApplication {
             function: Variable {
              identifier: "copyArgs",
              position: (79, 44),
             },
             arguments: [
              Function {
               argument: Some(
                "args",
               ),
               arguments: FunctionArguments {
                arguments: [],
                ellipsis: false,
               },
               definition: FunctionApplication {
                function: Variable {
                 identifier: "g",
                 position: (79, 60),
                },
                arguments: [
                 FunctionApplication {
                  function: Variable {
                   identifier: "f",
                   position: (79, 63),
                  },
                  arguments: [
                   Variable {
                    identifier: "args",
                    position: (79, 65),
                   },
                  ],
                 },
                ],
               },
               position: (79, 54),
              },
             ],
            },
            Variable {
             identifier: "origArgs",
             position: (79, 73),
            },
           ],
          },
          position: (79, 24),
         },
        ),
       ],
       target: IfThenElse {
        predicate: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "builtins",
           position: (81, 10),
          },
          attribute_path: AttributePath {
           attributes: [
            Raw {
             content: "isAttrs",
             position: (81, 19),
            },
           ],
          },
          default: None,
         },
         arguments: [
          Variable {
           identifier: "result",
           position: (81, 27),
          },
         ],
        },
        then: BinaryOperation {
         operator: Update,
         operands: [
          Variable {
           identifier: "result",
           position: (82, 9),
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "override",
                position: (83, 11),
               },
              ],
             },
             Variable {
              identifier: "overrideArgs",
              position: (83, 22),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "overrideDerivation",
                position: (84, 11),
               },
              ],
             },
             Function {
              argument: Some(
               "fdrv",
              ),
              arguments: FunctionArguments {
               arguments: [],
               ellipsis: false,
              },
              definition: FunctionApplication {
               function: Variable {
                identifier: "overrideResult",
                position: (84, 38),
               },
               arguments: [
                Function {
                 argument: Some(
                  "x",
                 ),
                 arguments: FunctionArguments {
                  arguments: [],
                  ellipsis: false,
                 },
                 definition: FunctionApplication {
                  function: Variable {
                   identifier: "overrideDerivation",
                   position: (84, 57),
                  },
                  arguments: [
                   Variable {
                    identifier: "x",
                    position: (84, 76),
                   },
                   Variable {
                    identifier: "fdrv",
                    position: (84, 78),
                   },
                  ],
                 },
                 position: (84, 54),
                },
               ],
              },
              position: (84, 32),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Expression {
                expression: IfThenElse {
                 predicate: HasProperty {
                  expression: Variable {
                   identifier: "result",
                   position: (85, 16),
                  },
                  attribute_path: AttributePath {
                   attributes: [
                    Raw {
                     content: "overrideAttrs",
                     position: (85, 25),
                    },
                   ],
                  },
                  position: (85, 23),
                 },
                 then: String {
                  parts: [
                   Raw {
                    content: "overrideAttrs",
                    position: (85, 45),
                   },
                  ],
                 },
                 else_: Variable {
                  identifier: "null",
                  position: (85, 65),
                 },
                 position: (85, 13),
                },
               },
              ],
             },
             Function {
              argument: Some(
               "fdrv",
              ),
              arguments: FunctionArguments {
               arguments: [],
               ellipsis: false,
              },
              definition: FunctionApplication {
               function: Variable {
                identifier: "overrideResult",
                position: (86, 13),
               },
               arguments: [
                Function {
                 argument: Some(
                  "x",
                 ),
                 arguments: FunctionArguments {
                  arguments: [],
                  ellipsis: false,
                 },
                 definition: FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "x",
                    position: (86, 32),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "overrideAttrs",
                      position: (86, 34),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Variable {
                    identifier: "fdrv",
                    position: (86, 48),
                   },
                  ],
                 },
                 position: (86, 29),
                },
               ],
              },
              position: (85, 73),
             },
            ),
           ],
           recursive: false,
           position: (82, 19),
          },
         ],
         position: (82, 16),
        },
        else_: IfThenElse {
         predicate: FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "lib",
            position: (88, 15),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "isFunction",
              position: (88, 19),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Variable {
            identifier: "result",
            position: (88, 30),
           },
          ],
         },
         then: BinaryOperation {
          operator: Update,
          operands: [
           FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (90, 9),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "setFunctionArgs",
                position: (90, 13),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Variable {
              identifier: "result",
              position: (90, 29),
             },
             FunctionApplication {
              function: PropertyAccess {
               expression: Variable {
                identifier: "lib",
                position: (90, 37),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "functionArgs",
                  position: (90, 41),
                 },
                ],
               },
               default: None,
              },
              arguments: [
               Variable {
                identifier: "result",
                position: (90, 54),
               },
              ],
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "override",
                 position: (91, 11),
                },
               ],
              },
              Variable {
               identifier: "overrideArgs",
               position: (91, 22),
              },
             ),
            ],
            recursive: false,
            position: (90, 65),
           },
          ],
          position: (90, 62),
         },
         else_: Variable {
          identifier: "result",
          position: (93, 12),
         },
         position: (88, 12),
        },
        position: (81, 7),
       },
       position: (68, 5),
      },
      position: (67, 24),
     },
     position: (67, 21),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "callPackageWith",
       position: (117, 3),
      },
     ],
    },
    Function {
     argument: Some(
      "autoArgs",
     ),
     arguments: FunctionArguments {
      arguments: [],
      ellipsis: false,
     },
     definition: Function {
      argument: Some(
       "fn",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: Function {
       argument: Some(
        "args",
       ),
       arguments: FunctionArguments {
        arguments: [],
        ellipsis: false,
       },
       definition: LetIn {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "f",
             position: (119, 7),
            },
           ],
          },
          IfThenElse {
           predicate: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (119, 14),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "isFunction",
                position: (119, 18),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Variable {
              identifier: "fn",
              position: (119, 29),
             },
            ],
           },
           then: Variable {
            identifier: "fn",
            position: (119, 37),
           },
           else_: FunctionApplication {
            function: Variable {
             identifier: "import",
             position: (119, 45),
            },
            arguments: [
             Variable {
              identifier: "fn",
              position: (119, 52),
             },
            ],
           },
           position: (119, 11),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "auto",
             position: (120, 7),
            },
           ],
          },
          FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "builtins",
             position: (120, 14),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "intersectAttrs",
               position: (120, 23),
              },
             ],
            },
            default: None,
           },
           arguments: [
            FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "lib",
               position: (120, 39),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "functionArgs",
                 position: (120, 43),
                },
               ],
              },
              default: None,
             },
             arguments: [
              Variable {
               identifier: "f",
               position: (120, 56),
              },
             ],
            },
            Variable {
             identifier: "autoArgs",
             position: (120, 59),
            },
           ],
          },
         ),
        ],
        target: FunctionApplication {
         function: Variable {
          identifier: "makeOverridable",
          position: (121, 8),
         },
         arguments: [
          Variable {
           identifier: "f",
           position: (121, 24),
          },
          BinaryOperation {
           operator: Update,
           operands: [
            Variable {
             identifier: "auto",
             position: (121, 27),
            },
            Variable {
             identifier: "args",
             position: (121, 35),
            },
           ],
           position: (121, 32),
          },
         ],
        },
        position: (118, 5),
       },
       position: (117, 35),
      },
      position: (117, 31),
     },
     position: (117, 21),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "callPackagesWith",
       position: (127, 3),
      },
     ],
    },
    Function {
     argument: Some(
      "autoArgs",
     ),
     arguments: FunctionArguments {
      arguments: [],
      ellipsis: false,
     },
     definition: Function {
      argument: Some(
       "fn",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: Function {
       argument: Some(
        "args",
       ),
       arguments: FunctionArguments {
        arguments: [],
        ellipsis: false,
       },
       definition: LetIn {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "f",
             position: (129, 7),
            },
           ],
          },
          IfThenElse {
           predicate: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (129, 14),
             },
             attribute_path: AttributePath {
              attributes: [
               Raw {
                content: "isFunction",
                position: (129, 18),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Variable {
              identifier: "fn",
              position: (129, 29),
             },
            ],
           },
           then: Variable {
            identifier: "fn",
            position: (129, 37),
           },
           else_: FunctionApplication {
            function: Variable {
             identifier: "import",
             position: (129, 45),
            },
            arguments: [
             Variable {
              identifier: "fn",
              position: (129, 52),
             },
            ],
           },
           position: (129, 11),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "auto",
             position: (130, 7),
            },
           ],
          },
          FunctionApplication {
           function: PropertyAccess {
            expression: Variable {
             identifier: "builtins",
             position: (130, 14),
            },
            attribute_path: AttributePath {
             attributes: [
              Raw {
               content: "intersectAttrs",
               position: (130, 23),
              },
             ],
            },
            default: None,
           },
           arguments: [
            FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "lib",
               position: (130, 39),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "functionArgs",
                 position: (130, 43),
                },
               ],
              },
              default: None,
             },
             arguments: [
              Variable {
               identifier: "f",
               position: (130, 56),
              },
             ],
            },
            Variable {
             identifier: "autoArgs",
             position: (130, 59),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "origArgs",
             position: (131, 7),
            },
           ],
          },
          BinaryOperation {
           operator: Update,
           operands: [
            Variable {
             identifier: "auto",
             position: (131, 18),
            },
            Variable {
             identifier: "args",
             position: (131, 26),
            },
           ],
           position: (131, 23),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "pkgs",
             position: (132, 7),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "f",
            position: (132, 14),
           },
           arguments: [
            Variable {
             identifier: "origArgs",
             position: (132, 16),
            },
           ],
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "mkAttrOverridable",
             position: (133, 7),
            },
           ],
          },
          Function {
           argument: Some(
            "name",
           ),
           arguments: FunctionArguments {
            arguments: [],
            ellipsis: false,
           },
           definition: Function {
            argument: Some(
             "_",
            ),
            arguments: FunctionArguments {
             arguments: [],
             ellipsis: false,
            },
            definition: FunctionApplication {
             function: Variable {
              identifier: "makeOverridable",
              position: (133, 36),
             },
             arguments: [
              Function {
               argument: Some(
                "newArgs",
               ),
               arguments: FunctionArguments {
                arguments: [],
                ellipsis: false,
               },
               definition: PropertyAccess {
                expression: FunctionApplication {
                 function: Variable {
                  identifier: "f",
                  position: (133, 63),
                 },
                 arguments: [
                  Variable {
                   identifier: "newArgs",
                   position: (133, 65),
                  },
                 ],
                },
                attribute_path: AttributePath {
                 attributes: [
                  Expression {
                   expression: Variable {
                    identifier: "name",
                    position: (133, 76),
                   },
                  },
                 ],
                },
                default: None,
               },
               position: (133, 53),
              },
              Variable {
               identifier: "origArgs",
               position: (133, 83),
              },
             ],
            },
            position: (133, 33),
           },
           position: (133, 27),
          },
         ),
        ],
        target: IfThenElse {
         predicate: FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "lib",
            position: (135, 10),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "isDerivation",
              position: (135, 14),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Variable {
            identifier: "pkgs",
            position: (135, 27),
           },
          ],
         },
         then: FunctionApplication {
          function: Variable {
           identifier: "throw",
           position: (135, 37),
          },
          arguments: [
           BinaryOperation {
            operator: Addition,
            operands: [
             BinaryOperation {
              operator: Addition,
              operands: [
               String {
                parts: [
                 Raw {
                  content: "function `callPackages` was called on a *single* derivation ",
                  position: (136, 11),
                 },
                ],
               },
               String {
                parts: [
                 Raw {
                  content: "\"",
                  position: (137, 15),
                 },
                 Expression {
                  expression: PropertyAccess {
                   expression: Variable {
                    identifier: "pkgs",
                    position: (137, 18),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "name",
                      position: (137, 23),
                     },
                    ],
                   },
                   default: Some(
                    String {
                     parts: [
                      Raw {
                       content: "<unknown-name>",
                       position: (137, 32),
                      },
                     ],
                    },
                   ),
                  },
                 },
                 Raw {
                  content: "\";",
                  position: (137, 48),
                 },
                ],
               },
              ],
              position: (137, 11),
             },
             String {
              parts: [
               Raw {
                content: " did you mean to use `callPackage` instead?",
                position: (138, 14),
               },
              ],
             },
            ],
            position: (138, 11),
           },
          ],
         },
         else_: FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "lib",
            position: (139, 12),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "mapAttrs",
              position: (139, 16),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Variable {
            identifier: "mkAttrOverridable",
            position: (139, 25),
           },
           Variable {
            identifier: "pkgs",
            position: (139, 43),
           },
          ],
         },
         position: (135, 7),
        },
        position: (128, 5),
       },
       position: (127, 36),
      },
      position: (127, 32),
     },
     position: (127, 22),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "extendDerivation",
       position: (144, 3),
      },
     ],
    },
    Function {
     argument: Some(
      "condition",
     ),
     arguments: FunctionArguments {
      arguments: [],
      ellipsis: false,
     },
     definition: Function {
      argument: Some(
       "passthru",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: Function {
       argument: Some(
        "drv",
       ),
       arguments: FunctionArguments {
        arguments: [],
        ellipsis: false,
       },
       definition: LetIn {
        bindings: [
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "outputs",
             position: (146, 7),
            },
           ],
          },
          PropertyAccess {
           expression: Variable {
            identifier: "drv",
            position: (146, 17),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "outputs",
              position: (146, 21),
             },
            ],
           },
           default: Some(
            List {
             elements: [
              String {
               parts: [
                Raw {
                 content: "out",
                 position: (146, 35),
                },
               ],
              },
             ],
             position: (146, 32),
            },
           ),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "commonAttrs",
             position: (148, 7),
            },
           ],
          },
          BinaryOperation {
           operator: Update,
           operands: [
            Variable {
             identifier: "drv",
             position: (148, 21),
            },
            BinaryOperation {
             operator: Update,
             operands: [
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "builtins",
                 position: (148, 29),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "listToAttrs",
                   position: (148, 38),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                Variable {
                 identifier: "outputsList",
                 position: (148, 50),
                },
               ],
              },
              BinaryOperation {
               operator: Update,
               operands: [
                Map {
                 bindings: [
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "all",
                      position: (149, 12),
                     },
                    ],
                   },
                   FunctionApplication {
                    function: Variable {
                     identifier: "map",
                     position: (149, 18),
                    },
                    arguments: [
                     Function {
                      argument: Some(
                       "x",
                      ),
                      arguments: FunctionArguments {
                       arguments: [],
                       ellipsis: false,
                      },
                      definition: PropertyAccess {
                       expression: Variable {
                        identifier: "x",
                        position: (149, 26),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "value",
                          position: (149, 28),
                         },
                        ],
                       },
                       default: None,
                      },
                      position: (149, 23),
                     },
                     Variable {
                      identifier: "outputsList",
                      position: (149, 35),
                     },
                    ],
                   },
                  ),
                 ],
                 recursive: false,
                 position: (149, 10),
                },
                Variable {
                 identifier: "passthru",
                 position: (149, 54),
                },
               ],
               position: (149, 51),
              },
             ],
             position: (148, 63),
            },
           ],
           position: (148, 25),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "outputToAttrListElement",
             position: (151, 7),
            },
           ],
          },
          Function {
           argument: Some(
            "outputName",
           ),
           arguments: FunctionArguments {
            arguments: [],
            ellipsis: false,
           },
           definition: Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "name",
                 position: (152, 11),
                },
               ],
              },
              Variable {
               identifier: "outputName",
               position: (152, 18),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "value",
                 position: (153, 11),
                },
               ],
              },
              BinaryOperation {
               operator: Update,
               operands: [
                Variable {
                 identifier: "commonAttrs",
                 position: (153, 19),
                },
                Map {
                 bindings: [
                  Inherit(
                   Some(
                    PropertyAccess {
                     expression: Variable {
                      identifier: "drv",
                      position: (154, 22),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Expression {
                        expression: Variable {
                         identifier: "outputName",
                         position: (154, 28),
                        },
                       },
                      ],
                     },
                     default: None,
                    },
                   ),
                   [
                    Raw {
                     content: "type",
                     position: (154, 41),
                    },
                    Raw {
                     content: "outputName",
                     position: (154, 46),
                    },
                   ],
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "outputSpecified",
                      position: (155, 13),
                     },
                    ],
                   },
                   Variable {
                    identifier: "true",
                    position: (155, 31),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "drvPath",
                      position: (156, 13),
                     },
                    ],
                   },
                   Assert {
                    expression: Variable {
                     identifier: "condition",
                     position: (156, 30),
                    },
                    target: PropertyAccess {
                     expression: Variable {
                      identifier: "drv",
                      position: (156, 41),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Expression {
                        expression: Variable {
                         identifier: "outputName",
                         position: (156, 47),
                        },
                       },
                       Raw {
                        content: "drvPath",
                        position: (156, 59),
                       },
                      ],
                     },
                     default: None,
                    },
                    position: (156, 23),
                   },
                  ),
                  KeyValue(
                   AttributePath {
                    attributes: [
                     Raw {
                      content: "outPath",
                      position: (157, 13),
                     },
                    ],
                   },
                   Assert {
                    expression: Variable {
                     identifier: "condition",
                     position: (157, 30),
                    },
                    target: PropertyAccess {
                     expression: Variable {
                      identifier: "drv",
                      position: (157, 41),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Expression {
                        expression: Variable {
                         identifier: "outputName",
                         position: (157, 47),
                        },
                       },
                       Raw {
                        content: "outPath",
                        position: (157, 59),
                       },
                      ],
                     },
                     default: None,
                    },
                    position: (157, 23),
                   },
                  ),
                 ],
                 recursive: false,
                 position: (153, 34),
                },
               ],
               position: (153, 31),
              },
             ),
            ],
            recursive: false,
            position: (152, 9),
           },
           position: (151, 33),
          },
         ),
         KeyValue(
          AttributePath {
           attributes: [
            Raw {
             content: "outputsList",
             position: (161, 7),
            },
           ],
          },
          FunctionApplication {
           function: Variable {
            identifier: "map",
            position: (161, 21),
           },
           arguments: [
            Variable {
             identifier: "outputToAttrListElement",
             position: (161, 25),
            },
            Variable {
             identifier: "outputs",
             position: (161, 49),
            },
           ],
          },
         ),
        ],
        target: BinaryOperation {
         operator: Update,
         operands: [
          Variable {
           identifier: "commonAttrs",
           position: (162, 8),
          },
          Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "drvPath",
                position: (163, 7),
               },
              ],
             },
             Assert {
              expression: Variable {
               identifier: "condition",
               position: (163, 24),
              },
              target: PropertyAccess {
               expression: Variable {
                identifier: "drv",
                position: (163, 35),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "drvPath",
                  position: (163, 39),
                 },
                ],
               },
               default: None,
              },
              position: (163, 17),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "outPath",
                position: (164, 7),
               },
              ],
             },
             Assert {
              expression: Variable {
               identifier: "condition",
               position: (164, 24),
              },
              target: PropertyAccess {
               expression: Variable {
                identifier: "drv",
                position: (164, 35),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "outPath",
                  position: (164, 39),
                 },
                ],
               },
               default: None,
              },
              position: (164, 17),
             },
            ),
           ],
           recursive: false,
           position: (162, 23),
          },
         ],
         position: (162, 20),
        },
        position: (145, 5),
       },
       position: (144, 43),
      },
      position: (144, 33),
     },
     position: (144, 22),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "hydraJob",
       position: (171, 3),
      },
     ],
    },
    Function {
     argument: Some(
      "drv",
     ),
     arguments: FunctionArguments {
      arguments: [],
      ellipsis: false,
     },
     definition: LetIn {
      bindings: [
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "outputs",
           position: (173, 7),
          },
         ],
        },
        PropertyAccess {
         expression: Variable {
          identifier: "drv",
          position: (173, 17),
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "outputs",
            position: (173, 21),
           },
          ],
         },
         default: Some(
          List {
           elements: [
            String {
             parts: [
              Raw {
               content: "out",
               position: (173, 34),
              },
             ],
            },
           ],
           position: (173, 32),
          },
         ),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "commonAttrs",
           position: (175, 7),
          },
         ],
        },
        BinaryOperation {
         operator: Update,
         operands: [
          Map {
           bindings: [
            Inherit(
             Some(
              Variable {
               identifier: "drv",
               position: (176, 20),
              },
             ),
             [
              Raw {
               content: "name",
               position: (176, 25),
              },
              Raw {
               content: "system",
               position: (176, 30),
              },
              Raw {
               content: "meta",
               position: (176, 37),
              },
             ],
            ),
            Inherit(
             None,
             [
              Raw {
               content: "outputs",
               position: (176, 51),
              },
             ],
            ),
           ],
           recursive: false,
           position: (176, 9),
          },
          BinaryOperation {
           operator: Update,
           operands: [
            FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "lib",
               position: (177, 12),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "optionalAttrs",
                 position: (177, 16),
                },
               ],
              },
              default: None,
             },
             arguments: [
              PropertyAccess {
               expression: Variable {
                identifier: "drv",
                position: (177, 31),
               },
               attribute_path: AttributePath {
                attributes: [
                 Raw {
                  content: "_hydraAggregate",
                  position: (177, 35),
                 },
                ],
               },
               default: Some(
                Variable {
                 identifier: "false",
                 position: (177, 54),
                },
               ),
              },
              Map {
               bindings: [
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "_hydraAggregate",
                    position: (178, 11),
                   },
                  ],
                 },
                 Variable {
                  identifier: "true",
                  position: (178, 29),
                 },
                ),
                KeyValue(
                 AttributePath {
                  attributes: [
                   Raw {
                    content: "constituents",
                    position: (179, 11),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "map",
                   position: (179, 26),
                  },
                  arguments: [
                   Variable {
                    identifier: "hydraJob",
                    position: (179, 30),
                   },
                   FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "lib",
                      position: (179, 40),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "flatten",
                        position: (179, 44),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     PropertyAccess {
                      expression: Variable {
                       identifier: "drv",
                       position: (179, 52),
                      },
                      attribute_path: AttributePath {
                       attributes: [
                        Raw {
                         content: "constituents",
                         position: (179, 56),
                        },
                       ],
                      },
                      default: None,
                     },
                    ],
                   },
                  ],
                 },
                ),
               ],
               recursive: false,
               position: (177, 61),
              },
             ],
            },
            FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "lib",
               position: (181, 13),
              },
              attribute_path: AttributePath {
               attributes: [
                Raw {
                 content: "listToAttrs",
                 position: (181, 17),
                },
               ],
              },
              default: None,
             },
             arguments: [
              Variable {
               identifier: "outputsList",
               position: (181, 29),
              },
             ],
            },
           ],
           position: (181, 9),
          },
         ],
         position: (177, 9),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "makeOutput",
           position: (183, 7),
          },
         ],
        },
        Function {
         argument: Some(
          "outputName",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: LetIn {
          bindings: [
           KeyValue(
            AttributePath {
             attributes: [
              Raw {
               content: "output",
               position: (184, 13),
              },
             ],
            },
            PropertyAccess {
             expression: Variable {
              identifier: "drv",
              position: (184, 22),
             },
             attribute_path: AttributePath {
              attributes: [
               Expression {
                expression: Variable {
                 identifier: "outputName",
                 position: (184, 28),
                },
               },
              ],
             },
             default: None,
            },
           ),
          ],
          target: Map {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "name",
                position: (185, 11),
               },
              ],
             },
             Variable {
              identifier: "outputName",
              position: (185, 18),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "value",
                position: (186, 11),
               },
              ],
             },
             BinaryOperation {
              operator: Update,
              operands: [
               Variable {
                identifier: "commonAttrs",
                position: (186, 19),
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "outPath",
                     position: (187, 13),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "output",
                    position: (187, 23),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "outPath",
                      position: (187, 30),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "drvPath",
                     position: (188, 13),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "output",
                    position: (188, 23),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "drvPath",
                      position: (188, 30),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "type",
                     position: (189, 13),
                    },
                   ],
                  },
                  String {
                   parts: [
                    Raw {
                     content: "derivation",
                     position: (189, 21),
                    },
                   ],
                  },
                 ),
                 Inherit(
                  None,
                  [
                   Raw {
                    content: "outputName",
                    position: (190, 21),
                   },
                  ],
                 ),
                ],
                recursive: false,
                position: (186, 34),
               },
              ],
              position: (186, 31),
             },
            ),
           ],
           recursive: false,
           position: (185, 9),
          },
          position: (184, 9),
         },
         position: (183, 20),
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "outputsList",
           position: (194, 7),
          },
         ],
        },
        FunctionApplication {
         function: Variable {
          identifier: "map",
          position: (194, 21),
         },
         arguments: [
          Variable {
           identifier: "makeOutput",
           position: (194, 25),
          },
          Variable {
           identifier: "outputs",
           position: (194, 36),
          },
         ],
        },
       ),
       KeyValue(
        AttributePath {
         attributes: [
          Raw {
           content: "drv'",
           position: (196, 7),
          },
         ],
        },
        PropertyAccess {
         expression: FunctionApplication {
          function: PropertyAccess {
           expression: Variable {
            identifier: "lib",
            position: (196, 15),
           },
           attribute_path: AttributePath {
            attributes: [
             Raw {
              content: "head",
              position: (196, 19),
             },
            ],
           },
           default: None,
          },
          arguments: [
           Variable {
            identifier: "outputsList",
            position: (196, 24),
           },
          ],
         },
         attribute_path: AttributePath {
          attributes: [
           Raw {
            content: "value",
            position: (196, 37),
           },
          ],
         },
         default: None,
        },
       ),
      ],
      target: FunctionApplication {
       function: PropertyAccess {
        expression: Variable {
         identifier: "lib",
         position: (197, 8),
        },
        attribute_path: AttributePath {
         attributes: [
          Raw {
           content: "deepSeq",
           position: (197, 12),
          },
         ],
        },
        default: None,
       },
       arguments: [
        Variable {
         identifier: "drv'",
         position: (197, 20),
        },
        Variable {
         identifier: "drv'",
         position: (197, 25),
        },
       ],
      },
      position: (172, 5),
     },
     position: (171, 14),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "makeScope",
       position: (208, 3),
      },
     ],
    },
    Function {
     argument: Some(
      "newScope",
     ),
     arguments: FunctionArguments {
      arguments: [],
      ellipsis: false,
     },
     definition: Function {
      argument: Some(
       "f",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: LetIn {
       bindings: [
        KeyValue(
         AttributePath {
          attributes: [
           Raw {
            content: "self",
            position: (209, 9),
           },
          ],
         },
         BinaryOperation {
          operator: Update,
          operands: [
           FunctionApplication {
            function: Variable {
             identifier: "f",
             position: (209, 16),
            },
            arguments: [
             Variable {
              identifier: "self",
              position: (209, 18),
             },
            ],
           },
           Map {
            bindings: [
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "newScope",
                 position: (210, 11),
                },
               ],
              },
              Function {
               argument: Some(
                "scope",
               ),
               arguments: FunctionArguments {
                arguments: [],
                ellipsis: false,
               },
               definition: FunctionApplication {
                function: Variable {
                 identifier: "newScope",
                 position: (210, 29),
                },
                arguments: [
                 BinaryOperation {
                  operator: Update,
                  operands: [
                   Variable {
                    identifier: "self",
                    position: (210, 39),
                   },
                   Variable {
                    identifier: "scope",
                    position: (210, 47),
                   },
                  ],
                  position: (210, 44),
                 },
                ],
               },
               position: (210, 22),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "callPackage",
                 position: (211, 11),
                },
               ],
              },
              FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "self",
                 position: (211, 25),
                },
                attribute_path: AttributePath {
                 attributes: [
                  Raw {
                   content: "newScope",
                   position: (211, 30),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                Map {
                 bindings: [],
                 recursive: false,
                 position: (211, 39),
                },
               ],
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "overrideScope",
                 position: (212, 11),
                },
               ],
              },
              Function {
               argument: Some(
                "g",
               ),
               arguments: FunctionArguments {
                arguments: [],
                ellipsis: false,
               },
               definition: FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (212, 30),
                 },
                 attribute_path: AttributePath {
                  attributes: [
                   Raw {
                    content: "warn",
                    position: (212, 34),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 String {
                  parts: [
                   Raw {
                    content: "`overrideScope` (from `lib.makeScope`) is deprecated. Do `overrideScope' (self: super: { … })` instead of `overrideScope (super: self: { … })`. All other overrides have the parameters in that order, including other definitions of `overrideScope`. This was the only definition violating the pattern.",
                    position: (213, 14),
                   },
                  ],
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "makeScope",
                   position: (214, 14),
                  },
                  arguments: [
                   Variable {
                    identifier: "newScope",
                    position: (214, 24),
                   },
                   FunctionApplication {
                    function: PropertyAccess {
                     expression: Variable {
                      identifier: "lib",
                      position: (214, 34),
                     },
                     attribute_path: AttributePath {
                      attributes: [
                       Raw {
                        content: "fixedPoints",
                        position: (214, 38),
                       },
                       Raw {
                        content: "extends",
                        position: (214, 50),
                       },
                      ],
                     },
                     default: None,
                    },
                    arguments: [
                     FunctionApplication {
                      function: PropertyAccess {
                       expression: Variable {
                        identifier: "lib",
                        position: (214, 59),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "flip",
                          position: (214, 63),
                         },
                        ],
                       },
                       default: None,
                      },
                      arguments: [
                       Variable {
                        identifier: "g",
                        position: (214, 68),
                       },
                      ],
                     },
                     Variable {
                      identifier: "f",
                      position: (214, 71),
                     },
                    ],
                   },
                  ],
                 },
                ],
               },
               position: (212, 27),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "overrideScope'",
                 position: (215, 11),
                },
               ],
              },
              Function {
               argument: Some(
                "g",
               ),
               arguments: FunctionArguments {
                arguments: [],
                ellipsis: false,
               },
               definition: FunctionApplication {
                function: Variable {
                 identifier: "makeScope",
                 position: (215, 31),
                },
                arguments: [
                 Variable {
                  identifier: "newScope",
                  position: (215, 41),
                 },
                 FunctionApplication {
                  function: PropertyAccess {
                   expression: Variable {
                    identifier: "lib",
                    position: (215, 51),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "fixedPoints",
                      position: (215, 55),
                     },
                     Raw {
                      content: "extends",
                      position: (215, 67),
                     },
                    ],
                   },
                   default: None,
                  },
                  arguments: [
                   Variable {
                    identifier: "g",
                    position: (215, 75),
                   },
                   Variable {
                    identifier: "f",
                    position: (215, 77),
                   },
                  ],
                 },
                ],
               },
               position: (215, 28),
              },
             ),
             KeyValue(
              AttributePath {
               attributes: [
                Raw {
                 content: "packages",
                 position: (216, 11),
                },
               ],
              },
              Variable {
               identifier: "f",
               position: (216, 22),
              },
             ),
            ],
            recursive: false,
            position: (209, 26),
           },
          ],
          position: (209, 23),
         },
        ),
       ],
       target: Variable {
        identifier: "self",
        position: (218, 8),
       },
       position: (209, 5),
      },
      position: (208, 25),
     },
     position: (208, 15),
    },
   ),
   KeyValue(
    AttributePath {
     attributes: [
      Raw {
       content: "makeScopeWithSplicing",
       position: (222, 3),
      },
     ],
    },
    Function {
     argument: Some(
      "splicePackages",
     ),
     arguments: FunctionArguments {
      arguments: [],
      ellipsis: false,
     },
     definition: Function {
      argument: Some(
       "newScope",
      ),
      arguments: FunctionArguments {
       arguments: [],
       ellipsis: false,
      },
      definition: Function {
       argument: Some(
        "otherSplices",
       ),
       arguments: FunctionArguments {
        arguments: [],
        ellipsis: false,
       },
       definition: Function {
        argument: Some(
         "keep",
        ),
        arguments: FunctionArguments {
         arguments: [],
         ellipsis: false,
        },
        definition: Function {
         argument: Some(
          "extra",
         ),
         arguments: FunctionArguments {
          arguments: [],
          ellipsis: false,
         },
         definition: Function {
          argument: Some(
           "f",
          ),
          arguments: FunctionArguments {
           arguments: [],
           ellipsis: false,
          },
          definition: LetIn {
           bindings: [
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "spliced0",
                position: (224, 7),
               },
              ],
             },
             FunctionApplication {
              function: Variable {
               identifier: "splicePackages",
               position: (224, 18),
              },
              arguments: [
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "pkgsBuildBuild",
                     position: (225, 9),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "otherSplices",
                    position: (225, 26),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "selfBuildBuild",
                      position: (225, 39),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "pkgsBuildHost",
                     position: (226, 9),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "otherSplices",
                    position: (226, 25),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "selfBuildHost",
                      position: (226, 38),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "pkgsBuildTarget",
                     position: (227, 9),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "otherSplices",
                    position: (227, 27),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "selfBuildTarget",
                      position: (227, 40),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "pkgsHostHost",
                     position: (228, 9),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "otherSplices",
                    position: (228, 24),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "selfHostHost",
                      position: (228, 37),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "pkgsHostTarget",
                     position: (229, 9),
                    },
                   ],
                  },
                  Variable {
                   identifier: "self",
                   position: (229, 26),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "pkgsTargetTarget",
                     position: (230, 9),
                    },
                   ],
                  },
                  PropertyAccess {
                   expression: Variable {
                    identifier: "otherSplices",
                    position: (230, 28),
                   },
                   attribute_path: AttributePath {
                    attributes: [
                     Raw {
                      content: "selfTargetTarget",
                      position: (230, 41),
                     },
                    ],
                   },
                   default: None,
                  },
                 ),
                ],
                recursive: false,
                position: (224, 33),
               },
              ],
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "spliced",
                position: (232, 7),
               },
              ],
             },
             BinaryOperation {
              operator: Update,
              operands: [
               FunctionApplication {
                function: Variable {
                 identifier: "extra",
                 position: (232, 17),
                },
                arguments: [
                 Variable {
                  identifier: "spliced0",
                  position: (232, 23),
                 },
                ],
               },
               BinaryOperation {
                operator: Update,
                operands: [
                 Variable {
                  identifier: "spliced0",
                  position: (232, 35),
                 },
                 FunctionApplication {
                  function: Variable {
                   identifier: "keep",
                   position: (232, 47),
                  },
                  arguments: [
                   Variable {
                    identifier: "self",
                    position: (232, 52),
                   },
                  ],
                 },
                ],
                position: (232, 44),
               },
              ],
              position: (232, 32),
             },
            ),
            KeyValue(
             AttributePath {
              attributes: [
               Raw {
                content: "self",
                position: (233, 7),
               },
              ],
             },
             BinaryOperation {
              operator: Update,
              operands: [
               FunctionApplication {
                function: Variable {
                 identifier: "f",
                 position: (233, 14),
                },
                arguments: [
                 Variable {
                  identifier: "self",
                  position: (233, 16),
                 },
                ],
               },
               Map {
                bindings: [
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "newScope",
                     position: (234, 9),
                    },
                   ],
                  },
                  Function {
                   argument: Some(
                    "scope",
                   ),
                   arguments: FunctionArguments {
                    arguments: [],
                    ellipsis: false,
                   },
                   definition: FunctionApplication {
                    function: Variable {
                     identifier: "newScope",
                     position: (234, 27),
                    },
                    arguments: [
                     BinaryOperation {
                      operator: Update,
                      operands: [
                       Variable {
                        identifier: "spliced",
                        position: (234, 37),
                       },
                       Variable {
                        identifier: "scope",
                        position: (234, 48),
                       },
                      ],
                      position: (234, 45),
                     },
                    ],
                   },
                   position: (234, 20),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "callPackage",
                     position: (235, 9),
                    },
                   ],
                  },
                  FunctionApplication {
                   function: Variable {
                    identifier: "newScope",
                    position: (235, 23),
                   },
                   arguments: [
                    Variable {
                     identifier: "spliced",
                     position: (235, 32),
                    },
                   ],
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "overrideScope",
                     position: (238, 9),
                    },
                   ],
                  },
                  Function {
                   argument: Some(
                    "g",
                   ),
                   arguments: FunctionArguments {
                    arguments: [],
                    ellipsis: false,
                   },
                   definition: FunctionApplication {
                    function: Variable {
                     identifier: "makeScopeWithSplicing",
                     position: (238, 28),
                    },
                    arguments: [
                     Variable {
                      identifier: "splicePackages",
                      position: (239, 11),
                     },
                     Variable {
                      identifier: "newScope",
                      position: (240, 11),
                     },
                     Variable {
                      identifier: "otherSplices",
                      position: (241, 11),
                     },
                     Variable {
                      identifier: "keep",
                      position: (242, 11),
                     },
                     Variable {
                      identifier: "extra",
                      position: (243, 11),
                     },
                     FunctionApplication {
                      function: PropertyAccess {
                       expression: Variable {
                        identifier: "lib",
                        position: (244, 12),
                       },
                       attribute_path: AttributePath {
                        attributes: [
                         Raw {
                          content: "fixedPoints",
                          position: (244, 16),
                         },
                         Raw {
                          content: "extends",
                          position: (244, 28),
                         },
                        ],
                       },
                       default: None,
                      },
                      arguments: [
                       Variable {
                        identifier: "g",
                        position: (244, 36),
                       },
                       Variable {
                        identifier: "f",
                        position: (244, 38),
                       },
                      ],
                     },
                    ],
                   },
                   position: (238, 25),
                  },
                 ),
                 KeyValue(
                  AttributePath {
                   attributes: [
                    Raw {
                     content: "packages",
                     position: (245, 9),
                    },
                   ],
                  },
                  Variable {
                   identifier: "f",
                   position: (245, 20),
                  },
                 ),
                ],
                recursive: false,
                position: (233, 24),
               },
              ],
              position: (233, 21),
             },
            ),
           ],
           target: Variable {
            identifier: "self",
            position: (247, 8),
           },
           position: (223, 5),
          },
          position: (222, 80),
         },
         position: (222, 73),
        },
        position: (222, 67),
       },
       position: (222, 53),
      },
      position: (222, 43),
     },
     position: (222, 27),
    },
   ),
  ],
  recursive: true,
  position: (3, 1),
 },
 position: (1, 1),
}