Nix-ld is only used by unpatched executables that use the link loader at
/lib
or/lib64
. If you use for example python from nixpkgs than it will not pick upNIX_LD_LIBRARY_PATH
andNIX_LD
since these types of binaries are configured to use a glibc from the nix store.
Ah, I guess that's why I've seen folks recommend just having uv
install the python interpreter as well, so everything python uses the same link loder from nix-ld.