Commit Graph

16 Commits

Author SHA1 Message Date
Justin Bedo
57f1baa66d Added CRAN archive to R package derivation to prevent R expressions from
breaking when any package is updated.
2014-07-08 11:02:05 +10:00
Peter Simons
977d43f6c5 cran-packages.nix: fix a couple of builds 2014-06-09 12:58:48 +02:00
Peter Simons
36e6eda5fc r-modules: set meta.hydraPlatforms for all R packages 2014-06-07 12:28:54 +02:00
Justin Bedo
3c4b9b26cf Updated some CRAN packages and fixed dependencies 2014-05-15 09:05:09 +10:00
Peter Simons
cdf7d6a66f r-RcppArmadillo: fix build (and update to 0.4.300.0) 2014-05-07 12:30:29 +02:00
Peter Simons
262aecef74 r-generic-builder.nix: build packages from the extracted $srcdir so that we have a chance to patch them 2014-05-07 12:30:29 +02:00
Peter Simons
c8f4775b8b r-curl: fix build 2014-05-05 10:22:10 +02:00
Peter Simons
97262a59b5 cran-packages.nix: provide meta.homepage links for all modules 2014-05-05 00:33:51 +02:00
Peter Simons
f31f57c32d r-generic-builder: don't let derivation override the naming scheme 2014-05-05 00:33:51 +02:00
Peter Simons
66bcd77f0e R: simplify the generic builder 2014-05-04 23:54:11 +02:00
Peter Simons
4e1e248cf1 r-generic-builder: clean up the expression 2014-05-04 22:24:57 +02:00
Peter Simons
a9258080b1 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.
2014-05-04 21:12:34 +02:00
Peter Simons
a329900977 Move r-packages.nix into the r-modules directory. 2014-05-04 21:09:38 +02:00
Peter Simons
ac6bcc7836 cosmetic: move the R-wrapper into its own directory 2014-05-04 21:07:54 +02:00
Peter Simons
7c6a730e0b R: added wrapper script that provides "R" and "Rscript" binaries that know about extra libraries
Configure an override in ~/.nixpkgs/config.nix as follows:

  {
    packageOverrides = pkgs: {

      rWrapper = pkgs.rWrapper.override {
        packages = with pkgs.rPackages; [ Defaults dataTable foreach xtable ];
      };

    };
  }
2014-05-04 15:33:15 +02:00
Justin Bedo
fdc6e4372f Wrapped R's package system similarly to perlPackages 2013-09-28 13:19:43 +02:00