From dbb5ac9aa0975ad3dc97f1f4c4b3d89a4588c0ae Mon Sep 17 00:00:00 2001 From: Bruno Rodrigues Date: Thu, 17 Apr 2025 13:45:19 +0200 Subject: [PATCH] rPackages.rshift: fixed build --- pkgs/development/r-modules/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 07f6d034f795..77d85e40fe6b 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -795,7 +795,10 @@ let geos ]; tok = [ pkgs.cargo ]; - rshift = [ pkgs.cargo ]; + rshift = with pkgs; [ + cargo + rustc + ]; arcgisutils = with pkgs; [ cargo rustc @@ -1717,6 +1720,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