diff options
author | Peter Simons <simons@cryp.to> | 2014-05-04 21:12:34 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-05-04 21:12:34 +0200 |
commit | a9258080b1fc8b9d649754a3ef1e047b765752f4 (patch) | |
tree | b950984ca3ca49607793b656a06cd24a73b8b164 /pkgs/applications/science/math | |
parent | a329900977f2ec818baa667b47d8b4ceb0e1ed64 (diff) | |
download | nixlib-a9258080b1fc8b9d649754a3ef1e047b765752f4.tar nixlib-a9258080b1fc8b9d649754a3ef1e047b765752f4.tar.gz nixlib-a9258080b1fc8b9d649754a3ef1e047b765752f4.tar.bz2 nixlib-a9258080b1fc8b9d649754a3ef1e047b765752f4.tar.lz nixlib-a9258080b1fc8b9d649754a3ef1e047b765752f4.tar.xz nixlib-a9258080b1fc8b9d649754a3ef1e047b765752f4.tar.zst nixlib-a9258080b1fc8b9d649754a3ef1e047b765752f4.zip |
R: don't install the "recommended packages"
These packages come with R, but if we install them as part of this build, then we cannot update them without re-building R as well. Instead, we add those packages to the R environment through the r-wrapper. This means that recommended packages can be updated in cran-packgaes.nix, and those updates have an effect on the installation without re-building R itself.
Diffstat (limited to 'pkgs/applications/science/math')
-rw-r--r-- | pkgs/applications/science/math/R/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index 4a58c15941c8..452d9816b771 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -2,6 +2,7 @@ , libjpeg, libpng, libtiff, ncurses, pango, pcre, perl, readline, tcl , texLive, tk, xz, zlib, less, texinfo, graphviz, icu, pkgconfig, bison , imake, which, jdk, atlas +, withRecommendedPackages ? true }: stdenv.mkDerivation rec { @@ -23,6 +24,7 @@ stdenv.mkDerivation rec { preConfigure = '' configureFlagsArray=( --disable-lto + --with${stdenv.lib.optionalString (!withRecommendedPackages) "out"}-recommended-packages --with-blas="-L${atlas}/lib -lf77blas -latlas" --with-lapack="-L${liblapack}/lib -llapack" --with-readline |