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 {
|
derive = { name, version, sha256, depends ? [] }: buildRPackage {
|
||||||
name = "${name}-${version}";
|
name = "${name}-${version}";
|
||||||
src = fetchurl {
|
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;
|
inherit sha256;
|
||||||
};
|
};
|
||||||
propagatedBuildInputs = depends;
|
propagatedBuildInputs = depends;
|
||||||
|
|
Loading…
Reference in New Issue