about summary refs log tree commit diff
path: root/pkgs/development/r-modules
diff options
context:
space:
mode:
authorWill Dietz <w@wdtz.org>2017-02-23 07:46:20 -0600
committerWill Dietz <w@wdtz.org>2017-02-23 07:46:20 -0600
commit2f303bc10e9a499c1f4839a9e0d9c495db804cab (patch)
treeee25507cf5fcfbf90b8c88ec0f44e5a690524215 /pkgs/development/r-modules
parent0bfbd039f989df1994728ab21a451b0b9dc5211c (diff)
downloadnixlib-2f303bc10e9a499c1f4839a9e0d9c495db804cab.tar
nixlib-2f303bc10e9a499c1f4839a9e0d9c495db804cab.tar.gz
nixlib-2f303bc10e9a499c1f4839a9e0d9c495db804cab.tar.bz2
nixlib-2f303bc10e9a499c1f4839a9e0d9c495db804cab.tar.lz
nixlib-2f303bc10e9a499c1f4839a9e0d9c495db804cab.tar.xz
nixlib-2f303bc10e9a499c1f4839a9e0d9c495db804cab.tar.zst
nixlib-2f303bc10e9a499c1f4839a9e0d9c495db804cab.zip
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.
Diffstat (limited to 'pkgs/development/r-modules')
-rw-r--r--pkgs/development/r-modules/generate-shell.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/r-modules/generate-shell.nix b/pkgs/development/r-modules/generate-shell.nix
index 43c97e009c7e..126ab7422925 100644
--- a/pkgs/development/r-modules/generate-shell.nix
+++ b/pkgs/development/r-modules/generate-shell.nix
@@ -1,10 +1,11 @@
-with import <nixpkgs> {};
+with import ../../.. {};
 
 stdenv.mkDerivation {
   name = "generate-r-packages-shell";
 
   buildCommand = "exit 1";
 
+  buildInputs = [ wget ];
   nativeBuildInputs = [ 
     (rWrapper.override {
       packages = with rPackages; [