mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 06:01:15 +00:00
Merge pull request #65917 from worldofpeace/wire-desktop/throw
wire-desktop: add a proper throw
This commit is contained in:
commit
521b818521
|
@ -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 a new issue