Added CRAN archive to R package derivation to prevent R expressions from
breaking when any package is updated.
This commit is contained in:
parent
0a12a50b11
commit
57f1baa66d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user