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:
parent
82646d9499
commit
847b557ef3
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue