diff options
author | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-10-23 12:54:15 +0200 |
---|---|---|
committer | Bjørn Forsman <bjorn.forsman@gmail.com> | 2014-10-23 13:15:39 +0200 |
commit | 47617be9f87031802aed6447ce17ff935f4b4369 (patch) | |
tree | 15a6136892afed63254675aadaf6eab6cfac5901 /pkgs/games/anki | |
parent | e63d9554b4ba24d75c6c98fdaf232796735f392a (diff) |
anki: add alternative "archive/" download url
Anki developers move old (non-latest) releases to an "archive/" subdirectory. So try both with and without "archive/" when downloading the source.
Diffstat (limited to 'pkgs/games/anki')
-rw-r--r-- | pkgs/games/anki/default.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/games/anki/default.nix b/pkgs/games/anki/default.nix index 7c8c2bd237767..9f7d57809b24f 100644 --- a/pkgs/games/anki/default.nix +++ b/pkgs/games/anki/default.nix @@ -11,7 +11,10 @@ in stdenv.mkDerivation rec { name = "anki-${version}"; src = fetchurl { - url = "http://ankisrs.net/download/mirror/${name}.tgz"; + urls = [ + "http://ankisrs.net/download/mirror/${name}.tgz" + "http://ankisrs.net/download/mirror/archive/${name}.tgz" + ]; sha256 = "12qw0as5cdgh4hi0vyl0zpdzha93x8rid5xrhpjgiyj5s9fisf40"; }; |