---
Function {
 argument: Destructured {
  identifier: LeftAt(
   "evalConfigArgs",
  ),
  arguments: [
   DestructuredArgument {
    identifier: "system",
    default: Some(
     PropertyAccess {
      expression: Variable {
       identifier: "builtins",
       position: (13, 12),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "currentSystem",
         position: (13, 21),
        },
       ],
      },
      default: None,
     },
    ),
   },
   DestructuredArgument {
    identifier: "pkgs",
    default: Some(
     Variable {
      identifier: "null",
      position: (16, 10),
     },
    ),
   },
   DestructuredArgument {
    identifier: "baseModules",
    default: Some(
     FunctionApplication {
      function: Variable {
       identifier: "import",
       position: (18, 17),
      },
      arguments: [
       Path {
        parts: [
         Raw {
          content: "../modules/module-list.nix",
          position: (18, 24),
         },
        ],
        position: (18, 24),
       },
      ],
     },
    ),
   },
   DestructuredArgument {
    identifier: "extraArgs",
    default: Some(
     Map {
      bindings: [],
      recursive: false,
      position: (20, 15),
     },
    ),
   },
   DestructuredArgument {
    identifier: "specialArgs",
    default: Some(
     Map {
      bindings: [],
      recursive: false,
      position: (22, 17),
     },
    ),
   },
   DestructuredArgument {
    identifier: "modules",
    default: None,
   },
   DestructuredArgument {
    identifier: "modulesLocation",
    default: Some(
     PropertyAccess {
      expression: Parentheses {
       expression: FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "builtins",
          position: (24, 22),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "unsafeGetAttrPos",
            position: (24, 31),
           },
          ],
         },
         default: None,
        },
        arguments: [
         String {
          parts: [
           Raw {
            content: "modules",
            position: (24, 49),
           },
          ],
          position: (24, 48),
         },
         Variable {
          identifier: "evalConfigArgs",
          position: (24, 58),
         },
        ],
       },
       position: (24, 21),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "file",
         position: (24, 74),
        },
       ],
      },
      default: Some(
       Variable {
        identifier: "null",
        position: (24, 82),
       },
      ),
     },
    ),
   },
   DestructuredArgument {
    identifier: "check",
    default: Some(
     Variable {
      identifier: "true",
      position: (26, 11),
     },
    ),
   },
   DestructuredArgument {
    identifier: "prefix",
    default: Some(
     List {
      elements: [],
      position: (27, 12),
     },
    ),
   },
   DestructuredArgument {
    identifier: "lib",
    default: Some(
     FunctionApplication {
      function: Variable {
       identifier: "import",
       position: (28, 9),
      },
      arguments: [
       Path {
        parts: [
         Raw {
          content: "../../lib",
          position: (28, 16),
         },
        ],
        position: (28, 16),
       },
      ],
     },
    ),
   },
   DestructuredArgument {
    identifier: "extraModules",
    default: Some(
     LetIn {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "e",
           position: (29, 22),
          },
         ],
        },
        to: FunctionApplication {
         function: PropertyAccess {
          expression: Variable {
           identifier: "builtins",
           position: (29, 26),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "getEnv",
             position: (29, 35),
            },
           ],
          },
          default: None,
         },
         arguments: [
          String {
           parts: [
            Raw {
             content: "NIXOS_EXTRA_MODULE_PATH",
             position: (29, 43),
            },
           ],
           position: (29, 42),
          },
         ],
        },
       },
      ],
      target: IfThenElse {
       predicate: BinaryOperation {
        operator: EqualTo,
        operands: [
         Variable {
          identifier: "e",
          position: (30, 24),
         },
         String {
          parts: [],
          position: (30, 29),
         },
        ],
        position: (30, 26),
       },
       then: List {
        elements: [],
        position: (30, 37),
       },
       else_: List {
        elements: [
         Parentheses {
          expression: FunctionApplication {
           function: Variable {
            identifier: "import",
            position: (30, 47),
           },
           arguments: [
            Variable {
             identifier: "e",
             position: (30, 54),
            },
           ],
          },
          position: (30, 46),
         },
        ],
        position: (30, 45),
       },
       position: (30, 21),
      },
      position: (29, 18),
     },
    ),
   },
  ],
  ellipsis: false,
 },
 definition: LetIn {
  bindings: [
   Binding {
    from: AttributePath {
     parts: [
      Raw {
       content: "pkgs_",
       position: (33, 5),
      },
     ],
    },
    to: Variable {
     identifier: "pkgs",
     position: (33, 13),
    },
   },
  ],
  target: LetIn {
   bindings: [
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "evalModulesMinimal",
        position: (37, 3),
       },
      ],
     },
     to: PropertyAccess {
      expression: Parentheses {
       expression: FunctionApplication {
        function: Variable {
         identifier: "import",
         position: (37, 25),
        },
        arguments: [
         Path {
          parts: [
           Raw {
            content: "./default.nix",
            position: (37, 32),
           },
          ],
          position: (37, 32),
         },
         Map {
          bindings: [
           Inherit {
            from: None,
            attributes: [
             Raw {
              content: "lib",
              position: (38, 13),
             },
            ],
           },
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "featureFlags",
               position: (40, 5),
              },
              Raw {
               content: "minimalModules",
               position: (40, 18),
              },
             ],
            },
            to: Map {
             bindings: [],
             recursive: false,
             position: (40, 35),
            },
           },
          ],
          recursive: false,
          position: (37, 46),
         },
        ],
       },
       position: (37, 24),
      },
      attribute_path: AttributePath {
       parts: [
        Raw {
         content: "evalModules",
         position: (41, 6),
        },
       ],
      },
      default: None,
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "pkgsModule",
        position: (43, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "_file",
           position: (44, 5),
          },
         ],
        },
        to: Path {
         parts: [
          Raw {
           content: "./eval-config.nix",
           position: (44, 13),
          },
         ],
         position: (44, 13),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "key",
           position: (45, 5),
          },
         ],
        },
        to: Variable {
         identifier: "_file",
         position: (45, 11),
        },
       },
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "config",
           position: (46, 5),
          },
         ],
        },
        to: Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "nixpkgs",
              position: (51, 7),
             },
             Raw {
              content: "system",
              position: (51, 15),
             },
            ],
           },
           to: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (51, 24),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "mkDefault",
                position: (51, 28),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Variable {
              identifier: "system",
              position: (51, 38),
             },
            ],
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "nixpkgs",
              position: (56, 7),
             },
             Raw {
              content: "initialSystem",
              position: (56, 15),
             },
            ],
           },
           to: Variable {
            identifier: "system",
            position: (56, 31),
           },
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "_module",
              position: (58, 7),
             },
             Raw {
              content: "args",
              position: (58, 15),
             },
             Raw {
              content: "pkgs",
              position: (58, 20),
             },
            ],
           },
           to: FunctionApplication {
            function: PropertyAccess {
             expression: Variable {
              identifier: "lib",
              position: (58, 27),
             },
             attribute_path: AttributePath {
              parts: [
               Raw {
                content: "mkIf",
                position: (58, 31),
               },
              ],
             },
             default: None,
            },
            arguments: [
             Parentheses {
              expression: BinaryOperation {
               operator: NotEqualTo,
               operands: [
                Variable {
                 identifier: "pkgs_",
                 position: (58, 37),
                },
                Variable {
                 identifier: "null",
                 position: (58, 46),
                },
               ],
               position: (58, 43),
              },
              position: (58, 36),
             },
             Parentheses {
              expression: FunctionApplication {
               function: PropertyAccess {
                expression: Variable {
                 identifier: "lib",
                 position: (58, 53),
                },
                attribute_path: AttributePath {
                 parts: [
                  Raw {
                   content: "mkForce",
                   position: (58, 57),
                  },
                 ],
                },
                default: None,
               },
               arguments: [
                Variable {
                 identifier: "pkgs_",
                 position: (58, 65),
                },
               ],
              },
              position: (58, 52),
             },
            ],
           },
          },
         ],
         recursive: false,
         position: (46, 14),
        },
       },
      ],
      recursive: true,
      position: (43, 16),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "withWarnings",
        position: (62, 3),
       },
      ],
     },
     to: Function {
      argument: Simple {
       identifier: "x",
      },
      definition: FunctionApplication {
       function: PropertyAccess {
        expression: Variable {
         identifier: "lib",
         position: (63, 5),
        },
        attribute_path: AttributePath {
         parts: [
          Raw {
           content: "warnIf",
           position: (63, 9),
          },
         ],
        },
        default: None,
       },
       arguments: [
        Parentheses {
         expression: HasProperty {
          expression: Variable {
           identifier: "evalConfigArgs",
           position: (63, 17),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "extraArgs",
             position: (63, 32),
            },
           ],
          },
          position: (63, 31),
         },
         position: (63, 16),
        },
        String {
         parts: [
          Raw {
           content: "The extraArgs argument to eval-config.nix is deprecated. Please set config._module.args instead.",
           position: (63, 44),
          },
         ],
         position: (63, 43),
        },
        PropertyAccess {
         expression: Variable {
          identifier: "lib",
          position: (64, 5),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "warnIf",
            position: (64, 9),
           },
          ],
         },
         default: None,
        },
        Parentheses {
         expression: HasProperty {
          expression: Variable {
           identifier: "evalConfigArgs",
           position: (64, 17),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "check",
             position: (64, 32),
            },
           ],
          },
          position: (64, 31),
         },
         position: (64, 16),
        },
        String {
         parts: [
          Raw {
           content: "The check argument to eval-config.nix is deprecated. Please set config._module.check instead.",
           position: (64, 40),
          },
         ],
         position: (64, 39),
        },
        Variable {
         identifier: "x",
         position: (65, 5),
        },
       ],
      },
      position: (62, 18),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "legacyModules",
        position: (67, 3),
       },
      ],
     },
     to: BinaryOperation {
      operator: Concatenation,
      operands: [
       FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "lib",
          position: (68, 5),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "optional",
            position: (68, 9),
           },
          ],
         },
         default: None,
        },
        arguments: [
         Parentheses {
          expression: HasProperty {
           expression: Variable {
            identifier: "evalConfigArgs",
            position: (68, 19),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "extraArgs",
              position: (68, 34),
             },
            ],
           },
           position: (68, 33),
          },
          position: (68, 18),
         },
         Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "config",
               position: (69, 7),
              },
             ],
            },
            to: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "_module",
                  position: (70, 9),
                 },
                 Raw {
                  content: "args",
                  position: (70, 17),
                 },
                ],
               },
               to: Variable {
                identifier: "extraArgs",
                position: (70, 24),
               },
              },
             ],
             recursive: false,
             position: (69, 16),
            },
           },
          ],
          recursive: false,
          position: (68, 45),
         },
        ],
       },
       FunctionApplication {
        function: PropertyAccess {
         expression: Variable {
          identifier: "lib",
          position: (73, 8),
         },
         attribute_path: AttributePath {
          parts: [
           Raw {
            content: "optional",
            position: (73, 12),
           },
          ],
         },
         default: None,
        },
        arguments: [
         Parentheses {
          expression: HasProperty {
           expression: Variable {
            identifier: "evalConfigArgs",
            position: (73, 22),
           },
           attribute_path: AttributePath {
            parts: [
             Raw {
              content: "check",
              position: (73, 37),
             },
            ],
           },
           position: (73, 36),
          },
          position: (73, 21),
         },
         Map {
          bindings: [
           Binding {
            from: AttributePath {
             parts: [
              Raw {
               content: "config",
               position: (74, 7),
              },
             ],
            },
            to: Map {
             bindings: [
              Binding {
               from: AttributePath {
                parts: [
                 Raw {
                  content: "_module",
                  position: (75, 9),
                 },
                 Raw {
                  content: "check",
                  position: (75, 17),
                 },
                ],
               },
               to: FunctionApplication {
                function: PropertyAccess {
                 expression: Variable {
                  identifier: "lib",
                  position: (75, 25),
                 },
                 attribute_path: AttributePath {
                  parts: [
                   Raw {
                    content: "mkDefault",
                    position: (75, 29),
                   },
                  ],
                 },
                 default: None,
                },
                arguments: [
                 Variable {
                  identifier: "check",
                  position: (75, 39),
                 },
                ],
               },
              },
             ],
             recursive: false,
             position: (74, 16),
            },
           },
          ],
          recursive: false,
          position: (73, 44),
         },
        ],
       },
      ],
      position: (73, 5),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "allUserModules",
        position: (79, 3),
       },
      ],
     },
     to: LetIn {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "locatedModules",
           position: (83, 7),
          },
         ],
        },
        to: IfThenElse {
         predicate: BinaryOperation {
          operator: EqualTo,
          operands: [
           Variable {
            identifier: "modulesLocation",
            position: (84, 12),
           },
           Variable {
            identifier: "null",
            position: (84, 31),
           },
          ],
          position: (84, 28),
         },
         then: Variable {
          identifier: "modules",
          position: (85, 11),
         },
         else_: FunctionApplication {
          function: Variable {
           identifier: "map",
           position: (87, 11),
          },
          arguments: [
           Parentheses {
            expression: FunctionApplication {
             function: PropertyAccess {
              expression: Variable {
               identifier: "lib",
               position: (87, 16),
              },
              attribute_path: AttributePath {
               parts: [
                Raw {
                 content: "setDefaultModuleLocation",
                 position: (87, 20),
                },
               ],
              },
              default: None,
             },
             arguments: [
              Variable {
               identifier: "modulesLocation",
               position: (87, 45),
              },
             ],
            },
            position: (87, 15),
           },
           Variable {
            identifier: "modules",
            position: (87, 62),
           },
          ],
         },
         position: (84, 9),
        },
       },
      ],
      target: BinaryOperation {
       operator: Concatenation,
       operands: [
        Variable {
         identifier: "locatedModules",
         position: (89, 7),
        },
        Variable {
         identifier: "legacyModules",
         position: (89, 25),
        },
       ],
       position: (89, 22),
      },
      position: (80, 5),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "noUserModules",
        position: (91, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: Variable {
       identifier: "evalModulesMinimal",
       position: (91, 19),
      },
      arguments: [
       Parentheses {
        expression: Map {
         bindings: [
          Inherit {
           from: None,
           attributes: [
            Raw {
             content: "prefix",
             position: (92, 13),
            },
            Raw {
             content: "specialArgs",
             position: (92, 20),
            },
           ],
          },
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "modules",
              position: (93, 5),
             },
            ],
           },
           to: BinaryOperation {
            operator: Concatenation,
            operands: [
             Variable {
              identifier: "baseModules",
              position: (93, 15),
             },
             BinaryOperation {
              operator: Concatenation,
              operands: [
               Variable {
                identifier: "extraModules",
                position: (93, 30),
               },
               List {
                elements: [
                 Variable {
                  identifier: "pkgsModule",
                  position: (93, 48),
                 },
                 Variable {
                  identifier: "modulesModule",
                  position: (93, 59),
                 },
                ],
                position: (93, 46),
               },
              ],
              position: (93, 43),
             },
            ],
            position: (93, 27),
           },
          },
         ],
         recursive: false,
         position: (91, 39),
        },
        position: (91, 38),
       },
      ],
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "modulesModule",
        position: (97, 3),
       },
      ],
     },
     to: Map {
      bindings: [
       Binding {
        from: AttributePath {
         parts: [
          Raw {
           content: "config",
           position: (98, 5),
          },
         ],
        },
        to: Map {
         bindings: [
          Binding {
           from: AttributePath {
            parts: [
             Raw {
              content: "_module",
              position: (99, 7),
             },
             Raw {
              content: "args",
              position: (99, 15),
             },
            ],
           },
           to: Map {
            bindings: [
             Inherit {
              from: None,
              attributes: [
               Raw {
                content: "noUserModules",
                position: (100, 17),
               },
               Raw {
                content: "baseModules",
                position: (100, 31),
               },
               Raw {
                content: "extraModules",
                position: (100, 43),
               },
               Raw {
                content: "modules",
                position: (100, 56),
               },
              ],
             },
            ],
            recursive: false,
            position: (99, 22),
           },
          },
         ],
         recursive: false,
         position: (98, 14),
        },
       },
      ],
      recursive: false,
      position: (97, 19),
     },
    },
    Binding {
     from: AttributePath {
      parts: [
       Raw {
        content: "nixosWithUserModules",
        position: (105, 3),
       },
      ],
     },
     to: FunctionApplication {
      function: PropertyAccess {
       expression: Variable {
        identifier: "noUserModules",
        position: (105, 26),
       },
       attribute_path: AttributePath {
        parts: [
         Raw {
          content: "extendModules",
          position: (105, 40),
         },
        ],
       },
       default: None,
      },
      arguments: [
       Map {
        bindings: [
         Binding {
          from: AttributePath {
           parts: [
            Raw {
             content: "modules",
             position: (105, 56),
            },
           ],
          },
          to: Variable {
           identifier: "allUserModules",
           position: (105, 66),
          },
         },
        ],
        recursive: false,
        position: (105, 54),
       },
      ],
     },
    },
   ],
   target: BinaryOperation {
    operator: Update,
    operands: [
     FunctionApplication {
      function: Variable {
       identifier: "withWarnings",
       position: (108, 1),
      },
      arguments: [
       Variable {
        identifier: "nixosWithUserModules",
        position: (108, 14),
       },
      ],
     },
     Map {
      bindings: [
       Inherit {
        from: None,
        attributes: [
         Raw {
          content: "extraArgs",
          position: (109, 11),
         },
        ],
       },
       Inherit {
        from: Some(
         PropertyAccess {
          expression: Variable {
           identifier: "nixosWithUserModules",
           position: (110, 12),
          },
          attribute_path: AttributePath {
           parts: [
            Raw {
             content: "_module",
             position: (110, 33),
            },
            Raw {
             content: "args",
             position: (110, 41),
            },
           ],
          },
          default: None,
         },
        ),
        attributes: [
         Raw {
          content: "pkgs",
          position: (110, 47),
         },
        ],
       },
      ],
      recursive: false,
      position: (108, 38),
     },
    ],
    position: (108, 35),
   },
   position: (36, 1),
  },
  position: (33, 1),
 },
 position: (11, 1),
}