Merge pull request #276414 from linsui/dart

dart: fix fetchDartDeps
This commit is contained in:
Maciej Krüger
2023-12-25 10:21:21 +01:00
committed by GitHub
@@ -178,7 +178,11 @@ let
buildPhase = ''
runHook preBuild
dart pub deps --json | jq .packages > $out
if [ -e ${dart}/bin/flutter ]; then
flutter pub deps --json | jq .packages > $out
else
dart pub deps --json | jq .packages > $out
fi
runHook postBuild
'';