mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
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.
This commit is contained in:
parent
c2ae05d597
commit
59f9137d69
@ -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;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user