mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
wire-desktop: add a proper throw
This commit is contained in:
parent
ebf4126d8b
commit
d03c72cf43
@ -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";
|
||||
|
Loading…
Reference in New Issue
Block a user