mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 09:43:14 +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
|
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 =
|
artifacts =
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user