mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +00:00
commit
2e3a121acf
@ -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