lol

rPackages: generate-shell.nix works with --pure

generate-R-packages.R fails without these changes.

Without `cacert`, all wget/curl calls will fail
with an error about no valid certificates.

Without `nix`, calling `nix-hash` fails.

An impure nix-shell can get away with not adding
these if the system NIXPKGS version is the same
as the version of NIXPKGS used
with `nix-shell generate-shell.nix`

+5 -1
+5 -1
pkgs/development/r-modules/generate-shell.nix
··· 5 6 buildCommand = "exit 1"; 7 8 - buildInputs = [ wget ]; 9 10 nativeBuildInputs = [ 11 (rWrapper.override {
··· 5 6 buildCommand = "exit 1"; 7 8 + buildInputs = [ 9 + wget 10 + cacert 11 + nix 12 + ]; 13 14 nativeBuildInputs = [ 15 (rWrapper.override {