Skip to content

Commit 1e90553

Browse files
authored
rPackages.BiocParallel: fixed build on darwin (NixOS#369938)
2 parents e981f5e + eed0ee0 commit 1e90553

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

pkgs/development/r-modules/default.nix

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1616,6 +1616,12 @@ let
16161616
'';
16171617
});
16181618

1619+
BiocParallel = old.BiocParallel.overrideAttrs (attrs: {
1620+
env = (attrs.env or { }) // {
1621+
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + lib.optionalString stdenv.hostPlatform.isDarwin " -Wno-error=missing-template-arg-list-after-template-kw";
1622+
};
1623+
});
1624+
16191625
rstan = old.rstan.overrideAttrs (attrs: {
16201626
env = (attrs.env or { }) // {
16211627
NIX_CFLAGS_COMPILE = attrs.env.NIX_CFLAGS_COMPILE + " -DBOOST_PHOENIX_NO_VARIADIC_EXPRESSION";

0 commit comments

Comments
 (0)