Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

steam-run: add derivation #14413

Merged
merged 2 commits into from
Apr 4, 2016
Merged

steam-run: add derivation #14413

merged 2 commits into from
Apr 4, 2016

Conversation

abbradar
Copy link
Member

@abbradar abbradar commented Apr 3, 2016

Things done:
  • Tested using sandboxing (nix-build --option build-use-chroot true or nix.useChroot on NixOS)
  • Built on platform(s)
    • NixOS
    • OS X
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.
More

This adds a new steam-run script, which gives one ability to run something with our assembled Steam Runtime in environment. This should come very handy for all kinds of games downloaded from various places (GOG, for example). Steam Runtime is the de facto expected Linux userspace for commercial games, so this should make running them much more easy.

Example:

> steam-run ./run-game.sh

This also makes hopefully small but incompatible change to userFHSEnv, renaming importMeta argument to meta (a more standard name). userFHSEnv is mostly an internal function used by buildFHSUserEnv, so this should not be a problem.

Merging this in few days unless there are any remarks.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @hrdinka, @svanderburg and @edolstra to be potential reviewers

@jagajaga
Copy link
Member

jagajaga commented Apr 3, 2016

Can you give an example to test?

@abbradar
Copy link
Member Author

abbradar commented Apr 3, 2016

I cannot give you a game itself ~_^ -- but if you have anything downloaded from GOG, Humble Bundle and others who distribute stand-alone Linux games, running steam-run ./start-the-game (where ./start-the-game depends on the actual game) should make it Just Work.

@jagajaga
Copy link
Member

jagajaga commented Apr 3, 2016

Ok, got it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants