mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
flutter: Throw a useful message when there are missing artifact hashes
This commit is contained in:
parent
7e53598823
commit
ae0aff848f
@ -9,7 +9,8 @@
|
||||
}:
|
||||
|
||||
let
|
||||
hashes = (import ./hashes.nix).${engineVersion};
|
||||
hashes = (import ./hashes.nix).${engineVersion} or
|
||||
(throw "There are no known artifact hashes for Flutter engine version ${engineVersion}.");
|
||||
|
||||
artifacts =
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user