R: don't recurse into the rPackages set to conserve memory and CPU time

The addition of CRAN has made "nix-env -qa \*" run ~30% longer than before [1].

[1] https://github.com/NixOS/nixpkgs/commit/0d264c17616646a7d68e0a465fdc0f335e0d2fb3
This commit is contained in:
Peter Simons
2014-05-07 19:12:15 +02:00
parent fae135b871
commit 715efa1948
+2 -2
View File
@@ -6437,10 +6437,10 @@ let
packages = [];
};
rPackages = recurseIntoAttrs (import ../development/r-modules/cran-packages.nix {
rPackages = import ../development/r-modules/cran-packages.nix {
inherit pkgs;
overrides = (config.rPackageOverrides or (p: {})) pkgs;
});
};
### SERVERS