From 2f303bc10e9a499c1f4839a9e0d9c495db804cab Mon Sep 17 00:00:00 2001 From: Will Dietz Date: Thu, 23 Feb 2017 07:46:20 -0600 Subject: [PATCH] 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. --- pkgs/development/r-modules/generate-shell.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/r-modules/generate-shell.nix b/pkgs/development/r-modules/generate-shell.nix index 43c97e009c7..126ab742292 100644 --- a/pkgs/development/r-modules/generate-shell.nix +++ b/pkgs/development/r-modules/generate-shell.nix @@ -1,10 +1,11 @@ -with import {}; +with import ../../.. {}; stdenv.mkDerivation { name = "generate-r-packages-shell"; buildCommand = "exit 1"; + buildInputs = [ wget ]; nativeBuildInputs = [ (rWrapper.override { packages = with rPackages; [