raphamorim / rio

A hardware-accelerated GPU terminal emulator focusing to run in desktops and browsers.
https://raphamorim.io/rio
MIT License
3.51k stars 111 forks source link

Fix `LD_LIBRARY_PATH` in Nix flake dev shell #486

Closed pbrinkmeier closed 5 months ago

pbrinkmeier commented 5 months ago

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: .

c/o @TornaxO7 who recommended I open this PR.

TornaxO7 commented 5 months ago

peepoPray