Unable to build Pants in nix-shell on OS X
Describe the bug
I'm following the instructions at https://www.pantsbuild.org/2.21/docs/contributions/development/setting-up-pants, and when I run pants after nix-shell it fails with
...
= note: ld: library not found for -liconv
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile `ring` (build script) due to 1 previous error
warning: build failed, waiting for other jobs to finish...
Pants version
Checked out main as of caa340570525ac6342800f20008c680c80f02ad0.
OS MacOS (M1 running Sonoma 14.6.1)
Additional info
I don't use Pants or macOS or nix-shell and I found this with about 2 minutes search effort: https://discourse.nixos.org/t/nix-shell-rust-hello-world-ld-linkage-issue/17381
Thanks for the find! I had looked in Pants slack and found people who came across this ended up just installing from source so I figured worth tracking as an issue. Hoping to test the above sometime this week, and if it works, then may suggest some edits to the docs