[WIP] fhs-userenv-bubblewrap: Support ld.so.conf/cache #102178
Motivation for this change
This is an effort to fix compatibility with the new steam runtime. See also #100655
There are currently 2 parts to this:
There is still a bit more testing needed until the linked issue is fully resolved. However as far as I can currently tell these changes are all that is necessarily NixOS specific.
The text was updated successfully, but these errors were encountered:
Preserve top-level symlinks such as /lib -> /usr/lib. This allows nested containers such as Steam's new runtime to remount /usr if they need to and then run unmodified binaries that reference e.g. /lib/ld-linux-x86-64.so.2 Before, we would mount the fully resolved host directory at /lib and thus the dynamic loader would always be the one from the host filesystem.