about summary refs log tree commit diff
path: root/pkgs/applications/networking/instant-messengers/wire-desktop
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2023-10-09 15:54:08 +0200
committertoonn <toonn@toonn.io>2023-10-09 15:54:08 +0200
commiteaee6450dab744a71b1614712f8d258a05e6881e (patch)
tree208f91537370bae6fa65bc090a2fce0b6ee94e46 /pkgs/applications/networking/instant-messengers/wire-desktop
parent38c38c7cd6c69800537716e620dc511da700120e (diff)
wire-desktop: Add aarch64-darwin platform
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/wire-desktop')
-rw-r--r--pkgs/applications/networking/instant-messengers/wire-desktop/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
index c06a76a179295..2c75c5726505b 100644
--- a/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
+++ b/pkgs/applications/networking/instant-messengers/wire-desktop/default.nix
@@ -25,13 +25,19 @@ let
 
   pname = "wire-desktop";
 
-  version = {
+  version = let
     x86_64-darwin = "3.32.4589";
+  in {
+    inherit x86_64-darwin;
+    aarch64-darwin = x86_64-darwin;
     x86_64-linux = "3.32.3079";
   }.${system} or throwSystem;
 
-  hash = {
+  hash = let
     x86_64-darwin = "sha256-PDAZCnkgzlausdtwycK+PHfp+zmL33VnX6RzCsgBTZ4=";
+  in {
+    inherit x86_64-darwin;
+    aarch64-darwin = x86_64-darwin;
     x86_64-linux = "sha256-+4aRis141ctI50BtBwipoVtPoMGRs82ENqZ+y2ZlL58=";
   }.${system} or throwSystem;
 
@@ -57,8 +63,7 @@ let
       kiwi
       toonn
     ];
-    platforms = [
-      "x86_64-darwin"
+    platforms = platforms.darwin ++ [
       "x86_64-linux"
     ];
   };