wire-desktop: add a proper throw

This commit is contained in:
worldofpeace 2019-08-04 05:08:33 -04:00
parent ebf4126d8b
commit d03c72cf43

View File

@ -13,17 +13,19 @@ let
inherit (stdenv.hostPlatform) system;
throwSystem = throw "Unsupported system: ${system}";
pname = "wire-desktop";
version = {
"x86_64-linux" = "3.9.2895";
"x86_64-darwin" = "3.9.2943";
}.${system} or "";
}.${system} or throwSystem;
sha256 = {
"x86_64-linux" = "0wrn95m64j4b7ym44h9zawq13kg4m12aixlyyzp56bfyczmjq4a5";
"x86_64-darwin" = "1y1bzsjmjrj518q29xfx6gg1nhdbaz7y5hzaqrp241az6plp090k";
}.${system};
}.${system} or throwSystem;
meta = with stdenv.lib; {
description = "A modern, secure messenger for everyone";