mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
R: switch to pname + version
This commit is contained in:
parent
ac1c20756c
commit
086e9e0978
1 changed files with 3 additions and 2 deletions
|
@ -12,10 +12,11 @@
|
|||
assert (!blas.isILP64) && (!lapack.isILP64);
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "R-4.0.4";
|
||||
pname = "R";
|
||||
version = "4.0.4";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://cran.r-project.org/src/base/R-4/${name}.tar.gz";
|
||||
url = "https://cran.r-project.org/src/base/R-${lib.versions.major version}/${pname}-${version}.tar.gz";
|
||||
sha256 = "0bl098xcv8v316kqnf43v6gb4kcsv31ydqfm1f7qr824jzb2fgsj";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue