The Nix flake dev shell needs to pull conditionally loaded dynamic libraries such as libxkbcommon into scope manually because the patch step is missing when using cargo directly. The previous implementation of the dev shell includes the buildInputs into LD_LIBRARY_PATH, which are just the headers and not the dynamic libraries. This PR fixes that issue and makes the shell work on my machine :tm: .
The Nix flake dev shell needs to pull conditionally loaded dynamic libraries such as
libxkbcommon
into scope manually because thepatch
step is missing when usingcargo
directly. The previous implementation of the dev shell includes thebuildInputs
intoLD_LIBRARY_PATH
, which are just the headers and not the dynamic libraries. This PR fixes that issue and makes the shell work on my machine :tm: .c/o @TornaxO7 who recommended I open this PR.