Enable nix-ld so dynamically linked prebuilt binaries run #12
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/enable-nix-ld"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
uv downloads python-build-standalone CPython builds, which are dynamically linked against glibc and expect the standard interpreter at
/lib64/ld-linux-x86-64.so.2. On this box that path held the NixOS stub-ld placeholder, so every uv-managed Python failed with exit 127 (e.g.just fediverse-postin cang).This enables
programs.nix-ldinhosts/ai-coding-box/default.nix, replacing the stub with a real glibc loader. The uv Python binary needs only glibc libs (verified by running it directly under the system Nix glibc loader, which worked), so noprograms.nix-ld.librariesentries are required. Evaluated withnix build ...toplevel --dry-run: closure picks upnix-ld-2.0.6.After merge the box needs
sudo nixos-rebuild switch --flake .#ai-coding-boxto pick it up.Closes #11