Building nvimcom with Nix - ld: library not found for -lintl

I’m using nix package manager on Mac OS Ventura 13.6. When nvim-r is activated in neovim, it attempts to build and install nvimcom but fails with the output included below. Any ideas on how I might resolve the “ld: library not found for -lintl” issue? Thanks!

before_rns.R stdout: * checking for file ‘/Users/danke/.local/share/nvim/lazy/R.nvim/nvimcom/DESCRIPTION’ …
OK

  • preparing ‘nvimcom’:
  • checking DESCRIPTION meta-information …
    OK
  • cleaning src
  • checking for LF line-endings in source and make files and shell scripts
  • checking for empty or unneeded directories
  • building ‘nvimcom_0.9.41.tar.gz’
    /nix/store/0m04cmy32vs1686pzjqajsh50arbv8m4-clang-wrapper-16.0.6/bin/cc -I"/nix/store/6s73b2138xz0k5xc2w9bf8c5ic74js46-R-4.3.2/lib/R/include" -DNDEBUG -isystem /nix/store/rjgv94p1nnj02v0f9r2jpann9x02b4vw-libcxx-16.0.6-dev/include/c++/v1 -fPI
    C -g -O2 -c common.c -o common.o
    /nix/store/0m04cmy32vs1686pzjqajsh50arbv8m4-clang-wrapper-16.0.6/bin/cc -I"/nix/store/6s73b2138xz0k5xc2w9bf8c5ic74js46-R-4.3.2/lib/R/include" -DNDEBUG -isystem /nix/store/rjgv94p1nnj02v0f9r2jpann9x02b4vw-libcxx-16.0.6-dev/include/c++/v1 -fPI
    C -g -O2 -c nvimcom.c -o nvimcom.o
    /nix/store/0m04cmy32vs1686pzjqajsh50arbv8m4-clang-wrapper-16.0.6/bin/cc -I"/nix/store/6s73b2138xz0k5xc2w9bf8c5ic74js46-R-4.3.2/lib/R/include" -DNDEBUG -isystem /nix/store/rjgv94p1nnj02v0f9r2jpann9x02b4vw-libcxx-16.0.6-dev/include/c++/v1 -fPI
    C -g -O2 -c rd2md.c -o rd2md.o
    /nix/store/0m04cmy32vs1686pzjqajsh50arbv8m4-clang-wrapper-16.0.6/bin/cc -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -L/nix/store/6s73b2138xz0k5xc2w9bf8c5ic74js46-R-4.3.2/lib/R/lib -L/nix/store/j3yw5w8pbdv4argnmx7i4i0lvg
    lnh7ll-libcxx-16.0.6/lib -o nvimcom.so common.o nvimcom.o rd2md.o -L/nix/store/6s73b2138xz0k5xc2w9bf8c5ic74js46-R-4.3.2/lib/R/lib -lR -lintl -Wl,-framework -Wl,CoreFoundation

Why build nvimcom: Nvimcom not installed
before_rns.R stderr:
.build_packages() exit status 0

  • installing to library ‘/Users/danke/Library/R/arm64/4.3/library’
  • installing source package ‘nvimcom’ …
    ** using staged installation
    ** libs
    using C compiler: ‘clang version 16.0.6’
    using SDK: ‘MacOSX14.2.sdk’
    ld: library not found for -lintl
    clang-16: error: linker command failed with exit code 1 (use -v to see invocation)
    make: *** [/nix/store/6s73b2138xz0k5xc2w9bf8c5ic74js46-R-4.3.2/lib/R/share/make/shlib.mk:10: nvimcom.so] Error 1
    ERROR: compilation failed for package ‘nvimcom’
  • removing ‘/Users/danke/Library/R/arm64/4.3/library/nvimcom’
    Error in do_exit(status = status) : .install_packages() exit status 1
    Error in do_exit(status = status) : .install_packages() exit status 1Execution halted