The NIX package for the NVIDIA Container Toolkit adds a library locator that uses dlopen to attempt to locate libraries: https://github.com/NixOS/nixpkgs/blob/1c415018b24020442ee94e6b84a8a4a24078a61e/pkgs/by-name/nv/nvidia-container-toolkit/0001-Add-dlopen-discoverer.patch#L50
In order to provide better support for NIX, we should consider adding such a locator -- at least for certain types of libraries.
This was already done in #1646 but removed again in #1676 due to instability.
One option would be to allow the types of locators used for libraries to be configurable. See
The NIX package for the NVIDIA Container Toolkit adds a library locator that uses dlopen to attempt to locate libraries: https://github.com/NixOS/nixpkgs/blob/1c415018b24020442ee94e6b84a8a4a24078a61e/pkgs/by-name/nv/nvidia-container-toolkit/0001-Add-dlopen-discoverer.patch#L50
In order to provide better support for NIX, we should consider adding such a locator -- at least for certain types of libraries.
This was already done in #1646 but removed again in #1676 due to instability.
One option would be to allow the types of locators used for libraries to be configurable. See