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`
This commit is contained in:
parent
29fdc0ce2d
commit
8b565e95a4
1 changed files with 5 additions and 1 deletions
|
@ -5,7 +5,11 @@ stdenv.mkDerivation {
|
|||
|
||||
buildCommand = "exit 1";
|
||||
|
||||
buildInputs = [ wget ];
|
||||
buildInputs = [
|
||||
wget
|
||||
cacert
|
||||
nix
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
(rWrapper.override {
|
||||
|
|
Loading…
Reference in a new issue