dart: fix fetchDartDeps
This commit is contained in:
parent
8735a9573d
commit
676ef2b4b2
@ -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
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user