diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index b0cf3baf1350..3601b3084705 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -797,7 +797,10 @@ let geos ]; tok = [ pkgs.cargo ]; - rshift = [ pkgs.cargo ]; + rshift = with pkgs; [ + cargo + rustc + ]; arcgisutils = with pkgs; [ cargo rustc @@ -1719,6 +1722,10 @@ let postPatch = "patchShebangs configure"; }); + rshift = old.rshift.overrideAttrs (attrs: { + postPatch = "patchShebangs configure"; + }); + xml2 = old.xml2.overrideAttrs (attrs: { preConfigure = '' export LIBXML_INCDIR=${pkgs.libxml2.dev}/include/libxml2