about summary refs log tree commit diff
path: root/pkgs/applications/networking/remote/anydesk
diff options
context:
space:
mode:
authorDaniel Jour <musteresel@gmail.com>2019-12-12 22:04:27 +0100
committerGitHub <noreply@github.com>2019-12-12 22:04:27 +0100
commit59f9137d696a12fafe0c2dff882c53142710dd66 (patch)
treeef2bd4dc501698f9ab48fa13fd7a547e59f7b028 /pkgs/applications/networking/remote/anydesk
parentc2ae05d5973cc4f8842755f2807ac10e31bb2aa8 (diff)
downloadnixlib-59f9137d696a12fafe0c2dff882c53142710dd66.tar
nixlib-59f9137d696a12fafe0c2dff882c53142710dd66.tar.gz
nixlib-59f9137d696a12fafe0c2dff882c53142710dd66.tar.bz2
nixlib-59f9137d696a12fafe0c2dff882c53142710dd66.tar.lz
nixlib-59f9137d696a12fafe0c2dff882c53142710dd66.tar.xz
nixlib-59f9137d696a12fafe0c2dff882c53142710dd66.tar.zst
nixlib-59f9137d696a12fafe0c2dff882c53142710dd66.zip
anydesk: Provide alternative URL
anydesk moves tar archives of older versions into a sub folder linux-generic, which breaks this package.  Use two URLs to take care of both recent and older versions.
Diffstat (limited to 'pkgs/applications/networking/remote/anydesk')
-rw-r--r--pkgs/applications/networking/remote/anydesk/default.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/applications/networking/remote/anydesk/default.nix b/pkgs/applications/networking/remote/anydesk/default.nix
index 0e93b5931840..82b6614fcb6b 100644
--- a/pkgs/applications/networking/remote/anydesk/default.nix
+++ b/pkgs/applications/networking/remote/anydesk/default.nix
@@ -31,7 +31,10 @@ in stdenv.mkDerivation rec {
   version = "5.5.1";
 
   src = fetchurl {
-    url = "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz";
+    urls = [
+      "https://download.anydesk.com/linux/${pname}-${version}-${arch}.tar.gz"
+      "https://download.anydesk.com/linux/generic-linux/${pname}-${version}-${arch}.tar.gz"
+    ];
     inherit sha256;
   };