mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-31 20:54:56 +00:00
flutter: Throw a useful message when there are missing artifact hashes
This commit is contained in:
@@ -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 =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user