A game I’d like to play (CrossCode) doesn’t start using Steam out of the box, complaining of a missing libatspi.so.0
. I was able to fix that by:
-
nix-build -A at-spi2-core '<nixpkgs>'
(which, say, installs into$directory-for-libatspi/lib
) - Setting the game’s launch options to
LD_LIBRARY_PATH="$directory-for-libatspi/lib:$LD_LIBRARY_PATH" %command%
However, this doesn’t seem like a permanent or smart fix. How do I improve on that? Is it a fix for the Steam package in nixpkgs? I’d imagine it already includes some well-known .so files in its environment.