From 59f9137d696a12fafe0c2dff882c53142710dd66 Mon Sep 17 00:00:00 2001 From: Daniel Jour Date: Thu, 12 Dec 2019 22:04:27 +0100 Subject: [PATCH] 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. --- pkgs/applications/networking/remote/anydesk/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/applications/networking/remote/anydesk/default.nix b/pkgs/applications/networking/remote/anydesk/default.nix index 0e93b593184..82b6614fcb6 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; };