3
0
Fork 0
forked from mirrors/nixpkgs

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 nukeReferences
]; ];
# avoid pub phase
dontBuild = true;
installPhase = '' installPhase = ''
. ${../fetchgit/deterministic-git} . ${../fetchgit/deterministic-git}
@ -207,6 +210,7 @@ let
# ensure we're using a lockfile for the right package version # ensure we're using a lockfile for the right package version
if [ -e pubspec.lock ]; then 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 # diff -u pubspec.lock $depsFolder/pubspec.lock
true true
else else