mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-17 06:06:13 +03:00
flutter.buildFlutterApplication: Properly throw unsupported host platform error
This commit is contained in:
parent
62029c27a1
commit
046da09ddd
@ -173,4 +173,4 @@ let
|
||||
};
|
||||
in
|
||||
(buildDartApplication.override { dart = flutter.override { supportedTargetFlutterPlatforms = [ "universal" flutterHostPlatform ]; }; })
|
||||
hostPlatforms.${flutterHostPlatform} or "Unsupported Flutter host platform: ${flutterHostPlatform}"
|
||||
hostPlatforms.${flutterHostPlatform} or (throw "Unsupported Flutter host platform: ${flutterHostPlatform}")
|
||||
|
Loading…
Reference in New Issue
Block a user