From f761faf26d0de18d7c5ab3d8e8666009b0d8cd11 Mon Sep 17 00:00:00 2001 From: Luminar Leaf <80571430+LuminarLeaf@users.noreply.github.com> Date: Tue, 3 Feb 2026 11:46:38 +0530 Subject: [PATCH] pub2nix.generatePackageGraph: use workspace package config --- pkgs/build-support/dart/pub2nix/package-graph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/build-support/dart/pub2nix/package-graph.py b/pkgs/build-support/dart/pub2nix/package-graph.py index a63b5b042045..c9b962837239 100644 --- a/pkgs/build-support/dart/pub2nix/package-graph.py +++ b/pkgs/build-support/dart/pub2nix/package-graph.py @@ -25,7 +25,7 @@ def get_package(pubspec_path: Path, dev_dependencies: bool = False): def main() -> None: - package_config_file_path = Path(os.environ["packageConfig"]) # noqa: SIM112 + package_config_file_path = Path(".dart_tool/package_config.json") with package_config_file_path.open("r", encoding="utf-8") as f: package_config = json.load(f) package_graph = []