diff --git a/pkgs/development/r-modules/cran-packages.nix b/pkgs/development/r-modules/cran-packages.nix index 3bebd5468e9..3a8624c9493 100644 --- a/pkgs/development/r-modules/cran-packages.nix +++ b/pkgs/development/r-modules/cran-packages.nix @@ -44,7 +44,10 @@ let derive = { name, version, sha256, depends ? [] }: buildRPackage { name = "${name}-${version}"; src = fetchurl { - url = "mirror://cran/src/contrib/${name}_${version}.tar.gz"; + urls = [ + "mirror://cran/src/contrib/${name}_${version}.tar.gz" + "mirror://cran/src/contrib/Archive/${name}/${name}_${version}.tar.gz" + ]; inherit sha256; }; propagatedBuildInputs = depends;