Merge pull request #3208 from jbedo/master

Fix R expressions when packages are updated
This commit is contained in:
Peter Simons 2014-07-08 15:47:44 +02:00
commit 3723f28f75
2 changed files with 4 additions and 2 deletions

@ -305,7 +305,6 @@ rec {
http://dirichlet.mat.puc.cl/
http://ftp.ctex.org/mirrors/CRAN/
http://mirror.bjtu.edu.cn/cran
http://cran.dataguru.cn/
http://mirrors.ustc.edu.cn/CRAN/
http://mirrors.xmu.edu.cn/CRAN/
http://www.laqee.unal.edu.co/CRAN/

@ -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;