Revert "R: fix build on darwin"

The ld64 issue has been fixed.

This reverts commit f03ea24eb1.
This commit is contained in:
Emily
2026-07-15 03:19:29 +01:00
parent 0ae746de77
commit 734bc6c4e9

View File

@@ -27,7 +27,6 @@
pkg-config,
bison,
which,
llvmPackages,
jdk,
blas,
lapack,
@@ -69,10 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
pkg-config
tzdata
which
]
# TODO: Remove once #536365 reaches this branch
++ lib.optional stdenv.hostPlatform.isDarwin llvmPackages.lld;
];
buildInputs = [
bzip2
gfortran
@@ -130,11 +126,6 @@ stdenv.mkDerivation (finalAttrs: {
dontDisableStatic = static;
env = lib.optionalAttrs stdenv.hostPlatform.isDarwin {
# TODO: Remove once #536365 reaches this branch
NIX_CFLAGS_LINK = "-fuse-ld=lld";
};
preConfigure = ''
configureFlagsArray=(
--disable-lto