flutter.buildFlutterApplication: Properly throw unsupported host platform error

+1 -1
+1 -1
pkgs/build-support/flutter/default.nix
··· 173 173 }; 174 174 in 175 175 (buildDartApplication.override { dart = flutter.override { supportedTargetFlutterPlatforms = [ "universal" flutterHostPlatform ]; }; }) 176 - hostPlatforms.${flutterHostPlatform} or "Unsupported Flutter host platform: ${flutterHostPlatform}" 176 + hostPlatforms.${flutterHostPlatform} or (throw "Unsupported Flutter host platform: ${flutterHostPlatform}")