From 614b2b8c2b20c3562d0150d50e7792a3fbe563a8 Mon Sep 17 00:00:00 2001 From: TomaSajt <62384384+TomaSajt@users.noreply.github.com> Date: Sun, 26 Jul 2026 16:02:08 +0200 Subject: [PATCH] rPackages.rstanarm: reduce log size by disabling warning spam --- pkgs/development/r-modules/default.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index 4000da75349b..6943574f0e23 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -2792,6 +2792,13 @@ let }; }); + rstanarm = old.rstanarm.overrideAttrs (attrs: { + env = (attrs.env or { }) // { + # needed to avoid "log limit exceeded" on Hydra + NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -Wno-ignored-attributes"; + }; + }); + rvisidata = old.rvisidata.overrideAttrs (attrs: { postPatch = '' substituteInPlace R/main.r --replace-fail \