flutter.mkFlutterApp: disable fetch buildPhase

Otherwise it tries to run some other commands, this prevents that

Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
Maciej Krüger 2022-02-19 17:22:42 +01:00
parent 82646d9499
commit 847b557ef3
No known key found for this signature in database
GPG key ID: 0D948CE19CF49C5F

View file

@ -63,6 +63,9 @@ let
nukeReferences
];
# avoid pub phase
dontBuild = true;
installPhase = ''
. ${../fetchgit/deterministic-git}
@ -207,6 +210,7 @@ let
# ensure we're using a lockfile for the right package version
if [ -e pubspec.lock ]; then
# FIXME: currently this is broken. in theory this should not break, but flutter has it's own way of doing things.
# diff -u pubspec.lock $depsFolder/pubspec.lock
true
else