You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
area:imageContainer image, Dockerfile, buildbugSomething isn't workingpriority:highShould be done in the current milestonesemver:patchBug fix, backward-compatible
The pure-Nix image cannot run pre-compiled PyPI (manylinux) wheels / C-extensions installed at runtime. Two missing pieces:
the FHS dynamic loader /lib64/ld-linux-x86-64.so.2 does not exist in the image;
libstdc++.so.6 exists in the store (gcc-…-lib) but is not on the loader path (LD_LIBRARY_PATH unset).
So any consumer that uv/pip-installs native code at runtime breaks. The image's own nix-built tools (ruff 0.15.14, etc.) are fine — only runtime-installed PyPI binaries fail.
This is the image-side recurrence of #698 (which fixed the dev-shell case on NixOS via a NixOS-gated LD_LIBRARY_PATH), and it also defeats consumer pre-commit configs that pin PyPI versions (the #697language: system conversion only applies to this repo's config, not consumers').
Steps to Reproduce
In ghcr.io/vig-os/devcontainer:dev, in a Python consumer after uv sync:
uv run pre-commit run --all-files, and uv run pytest on a project using numpy.
Expected Behavior
Runtime-installed manylinux wheels (numpy/scipy/pandas/h5py; pre-commit hooks pinned to PyPI pymarkdown/ruff/typos) load and run.
Actual Behavior
# pymarkdown hook
ImportError: libstdc++.so.6: cannot open shared object file: No such file or directory # pyjson5 C-extension
# ruff / ruff-format / typos hooks (PyPI-pinned)
cannot execute: required file not found # interp /lib64/ld-linux-x86-64.so.2 absent
# project tests
import numpy → ImportError (libstdc++.so.6 / loader)
Confirmed on exoma-ch/brother-printer and exo-pet/playground-carlos (Python).
Possible Solution
Give the image an FHS-compatible runtime for manylinux wheels: bundle nix-ld (or an FHS loader at /lib64/ld-linux-x86-64.so.2) and expose the common runtime libs (libstdc++, libz, libgcc_s, …) on the loader path. Mirror whatever final mechanism #698 uses, but at image scope (the image is Nix-but-not-NixOS, so the /etc/NIXOS gate never fires). Without this, every Python consumer's pre-commit and scientific stack break in-container.
area:imageContainer image, Dockerfile, buildbugSomething isn't workingpriority:highShould be done in the current milestonesemver:patchBug fix, backward-compatible
Activity
chore(changelog): merge epic into #736 branch, resolve flake/CHANGELO…
fix(image): provide FHS loader + lib path for manylinux wheels (#744)
fix(image): arm64-aware FHS loader + renameable baked .venv prompt (#746
docs: consolidate the migration CHANGELOG + add/ship MIGRATION.md (#751)
c-vigo commentedon Jun 30, 2026
Resolved by #744 + #746 (586b50e, 3c3c93d) on the Nix-migration branch (epic #625, PR #670). Closing as part of post-merge backlog hygiene (#677).
docs(rfc): record uv2nix/pyproject-nix evaluation and decision (#788)
chore: release 0.4.0 (#195)
chore: release 0.4.0 (#813)