R/generate-shell: Use R from current tree, fix missing wget dep.

Without this change, the 'R' version used might be the wrong
one which changes the package lists used.

Fixes #19530.
This commit is contained in:
Will Dietz 2017-02-23 07:46:20 -06:00
parent 0bfbd039f9
commit 2f303bc10e

View File

@ -1,10 +1,11 @@
with import <nixpkgs> {}; with import ../../.. {};
stdenv.mkDerivation { stdenv.mkDerivation {
name = "generate-r-packages-shell"; name = "generate-r-packages-shell";
buildCommand = "exit 1"; buildCommand = "exit 1";
buildInputs = [ wget ];
nativeBuildInputs = [ nativeBuildInputs = [
(rWrapper.override { (rWrapper.override {
packages = with rPackages; [ packages = with rPackages; [