diff --git a/pkgs/applications/science/math/R/default.nix b/pkgs/applications/science/math/R/default.nix index edbf8a843a5a..e7a195659491 100644 --- a/pkgs/applications/science/math/R/default.nix +++ b/pkgs/applications/science/math/R/default.nix @@ -3,6 +3,7 @@ , less, texinfo, graphviz, icu, pkgconfig, bison, imake, which, jdk, openblas , curl, Cocoa, Foundation, cf-private, libobjc, tzdata , withRecommendedPackages ? true +, enableStrictBarrier ? false }: stdenv.mkDerivation rec { @@ -39,6 +40,7 @@ stdenv.mkDerivation rec { --with-system-pcre --with-system-xz --with-ICU + ${stdenv.lib.optionalString enableStrictBarrier "--enable-strict-barrier"} --enable-R-shlib AR=$(type -p ar) AWK=$(type -p gawk)