[Nix-dev] Extra dependencies for Steam games?

Moritz Ulrich moritz at tarn-vedra.de
Fri Dec 9 11:04:11 CET 2016


I think the easiest / most useful solution is adding the libraries to
`commonTargetPkgs` in `pkgs/games/steam/chrootenv.nix`. You can do this
locally by cloning `nixpkgs.git`, modify the file, then running `nix-env
-f . -iA steam` inside the `nixpkgs` directory to install steam in your
user-env (which takes priority over `environment.systemPackages`).

Feel free to open a Pull Request (or an issue describing the missing
libraries) for changes like this. Right now a "fat" steam chrootenv
seems like the most useful solution to me.

Mike Cooper <mythmon at elem.us> writes:

> The Steam game SHENZHEN I/O fials to start with errors about missing
> libraries. One solution is to symlink the missing libraries into the
> directory of the game, but that doesn't seem like a very good idea.
>
> I tried to add an override for steam to add extra dependencies, but I was
> able to make any headway on this. Does anyone have a good way of getting
> Steam games that need extra libraries to work?
>
> -Mythmon
> _______________________________________________
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
> http://lists.science.uu.nl/mailman/listinfo/nix-dev

-- 


More information about the nix-dev mailing list