From 9e2e839505ea5ffce9c08755d3a7ab04d9731f51 Mon Sep 17 00:00:00 2001 From: Justin Bedo Date: Fri, 31 May 2024 11:15:11 +1000 Subject: [PATCH] rPackages.FlexReg: disable parallel building and ignored attributes warning --- pkgs/development/r-modules/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/r-modules/default.nix b/pkgs/development/r-modules/default.nix index f1efaa830be5..44ff647152ee 100644 --- a/pkgs/development/r-modules/default.nix +++ b/pkgs/development/r-modules/default.nix @@ -1524,6 +1524,16 @@ let ''; }); + FlexReg = old.FlexReg.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"; + }; + + # consumes a lot of resources in parallel + enableParallelBuilding = false; + }); + geojsonio = old.geojsonio.overrideAttrs (attrs: { buildInputs = [ cacert ] ++ attrs.buildInputs; });