this post was submitted on 02 Aug 2025
10 points (100.0% liked)

Nix / NixOS

2361 readers
31 users here now

Main links

Videos

founded 2 years ago
MODERATORS
top 1 comments
sorted by: hot top controversial new old
[–] ruffsl@programming.dev 2 points 23 hours ago

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 up NIX_LD_LIBRARY_PATH and NIX_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.