Skip to content

Commit

Permalink
rPackages.BiocParallel: fixed build on darwin (NixOS#369938)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbedo authored Jan 5, 2025
2 parents e981f5e + eed0ee0 commit 1e90553
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions pkgs/development/r-modules/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1616,6 +1616,12 @@ let
'';
});

BiocParallel = old.BiocParallel.overrideAttrs (attrs: {
env = (attrs.env or { }) // {
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + lib.optionalString stdenv.hostPlatform.isDarwin " -Wno-error=missing-template-arg-list-after-template-kw";
};
});

rstan = old.rstan.overrideAttrs (attrs: {
env = (attrs.env or { }) // {
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION";
Expand Down

0 comments on commit 1e90553

Please sign in to comment.