Hello there,

I’m trying to run my rust game engine under NixOS, it uses Vulkan and the rust Winit libary. Winit create a window, under the wayland backend. For this, I’m using a shell along with direnv to create a environment with the wayland packages and where I’m setting LD_LIBRARY_PATH="$LD_LIBRARY_PATH:${pkgs.wayland}/lib:${pkgs.libxkbcommon}/lib";.

However this breaks my vulkan install. Outside this environment, I can run vulkaninfo properly, but with this LD_LIBRARY_PATH export I get hit with the error :

vulkaninfo: symbol lookup error: /nix/store/0xxjx37fcy2nl3yz6igmv4mag2a7giq6-glibc-2.33-123/lib/libpthread.so.0: undefined symbol: __libc_siglongjmp, version GLIBC_PRIVATE

I can’t wrap my head around what’s going on, I thought that NixOS was specifically designed to avoid packages messing with each other ?