Commit graph

64 commits

Author SHA1 Message Date
Brian McKenna 098cf3b348 steam: fix steamrt trying to use a missing setup.sh (#59326)
I was getting the following error after a Steam update:

    internal error: /steamrt/setup.sh is missing, this runtime is invalid or corrupted

The script is used to put things on PATH but it doesn't seem we need to do that.
2019-04-15 22:13:05 -04:00
Jörg Thalheim dadc7eb329
treewide: use runtimeShell instead of stdenv.shell whenever possible
Whenever we create scripts that are installed to $out, we must use runtimeShell
in order to get the shell that can be executed on the machine we create the
package for. This is relevant for cross-compiling. The only use case for
stdenv.shell are scripts that are executed as part of the build system.
Usages in checkPhase are borderline however to decrease the likelyhood
of people copying the wrong examples, I decided to use runtimeShell as well.
2019-02-26 14:10:49 +00:00
Jan Malakhovski 1a69c20e60 steam: move defaults to package file 2019-02-03 15:33:30 +00:00
Matthew Harm Bekkema 2a842a1386 Workaround for issue #44254 (Steam cannot connect to friends network) (#44602)
* steam: Set TZ to detected timezone on startup

Workaround for issue #44254 (Steam cannot connect to friends network)
2018-11-10 04:17:04 +01:00
Philipp Steinpass f563a3b2a9 steam: Add python3 to runtime for steam play / proton 2018-08-31 12:43:08 +02:00
ajs124 0edad9f5c8 steam: add optional extraProfile 2018-06-03 23:49:27 +02:00
Nikolay Amiantov 9cdaddf3a0 steam: add libGL to the environment
Also remove duplicate libGLU.
2018-03-26 14:02:06 +03:00
Nikolay Amiantov 792161895f steam: add dependencies for Surviving Mars 2018-03-20 22:20:14 +03:00
Nikolay Amiantov 9c8137ca81 steam: improvements for native runtime
* Update dependencies using steam-native-runtime from Arch Linux as a
  reference.
* Remove native-only Steam Runtime, just use installed libraries
  instead.
* Mark native-only Steam as broken (due to segfault inside D-Bus). Seems it was
  already broken for a long time. Doesn't apply to steam-run.
* Some cleanups for chrootenv.
2018-03-16 02:59:07 +03:00
volth 7ec0471242 treewide: s/xlibs/xorg/g (#36889) 2018-03-13 10:16:03 +00:00
Nikolay Amiantov 8332b7aef9 steam: don't add zoneinfo manually
We already have this done for FHS environments in general.
2018-03-11 02:14:49 +03:00
wchresta f4c9cc6878 steam: Check for NixOS, improve error message 2017-12-31 13:24:45 +01:00
wchresta 2fd1b95fad steam: add wrapper testing for libGL
NixOS: Failing to set hardware.opengl.driSupport32Bit will lead to a
confusing error message about missing libGL.so.1. We include a wrapper
around the steam bin to test for working 32bit opengl with glxinfo. When
failing, we display a proper warning hinting towards the option.

Fixes: #19518
2017-12-30 21:23:51 +01:00
Nikolay Amiantov 459e4b78db steam: add /steamrt/run.sh
This is needed for Steam Beta which expects run.sh to print runtime library
paths.

Fixes #31384.
2017-11-11 15:52:33 +03:00
David Izquierdo 6c862b8553 steam-chrootenv: add iana-etc, fixes #25443 2017-11-10 13:37:15 +01:00
Nikolay Amiantov 38ffe0e1f6 steam-run-native: init
Refactor Steam so that native steam-run can be built as a free package and
expose it so that Hydra builds needed i686 packages.
2017-10-16 21:42:30 +03:00
Sarah Brofeldt 734a04800a steam: Get rid of newStdcpp option, always on 2017-09-10 10:54:06 +02:00
Itai Zukerman ad7bee4eb4 steam: Added extraPkgs option to chroot env. 2017-06-02 20:19:03 +03:00
Philipp Steinpass eec5775a4c steam: move libpciaccess as non-runtime dependencies 2017-04-11 01:51:46 +03:00
Moritz Ulrich 229bac0d09 steam: Add /etc/{localtime,zoneinfo}.
Some games (in my case Stardew Valley) require at least something in
/etc/localtime. The actual file linked there doesn't matter as long as
it's some valid timezone.
2016-11-08 18:44:28 +01:00
Nikolay Amiantov 2d18cf75e0 steam: add xkeyboardconfig 2016-11-05 14:47:31 +03:00
Svein Ove Aas 70e4eab55b steam: Some games use Mono 2016-09-11 16:17:57 +01:00
Nikolay Amiantov 6a3e2f89fb steam: fix primus with new libstdc++ and add to steam-run 2016-07-11 18:08:13 +03:00
Nikolay Amiantov ff0995707d steam-run: refactor, remove unneeded files and dependencies 2016-05-26 14:40:09 +03:00
Nikolay Amiantov c4bbfdb478 steam: add xdg_utils to chrootenv 2016-04-08 03:12:09 +03:00
Nikolay Amiantov 192e0c7141 steam-run: add derivation 2016-04-03 16:10:14 +03:00
Eelco Dolstra 13a1c7b8c1 useOldCXXAbi: Change into a setup hook
Stdenv adapters considered weird.
2016-04-01 13:36:59 +02:00
Nikolay Amiantov 0276a8b2d2 steam: use old C++ ABI for primus 2016-03-31 19:52:33 +03:00
Nikolay Amiantov 5bbf10409e steam: actually propagate flags to the runtime, now from chrootenv wrapper
Example: instead of

(steamPackages.override { newStdcpp = true; }).steam-chrootenv

(which wasn't working anyway) you now do just:

steam.override { newStdcpp = true; }
2016-01-27 00:58:23 +03:00
Nikolay Amiantov fc6a5f746b steamPackages.steam-chrootenv: install desktop file 2015-12-04 01:00:27 +03:00
Nikolay Amiantov c461162e2a steam: fix license agreement dialog 2015-11-12 16:58:02 +03:00
Nikolay Amiantov 1b69894d74 fhs-env: symlink /usr/lib to libs for the main architecture 2015-11-11 00:01:02 +03:00
Nikolay Amiantov 18ddcd2847 steam-fonts: use for chrootenv 2015-10-15 15:17:28 +03:00
Nikolay Amiantov a7177216c6 steam-chrootenv: added corefonts 2015-10-15 14:52:43 +03:00
Yochai 0edcf7802e steam-chrootenv: added libdrm 2015-10-11 18:02:34 +03:00
Nikolay Amiantov 6c9ee645ec steam: add steamPackages namespace, build our own runtime 2015-10-11 17:57:31 +03:00
Christoph Hrdinka 2f52c62684 steam: include steam-runtime within chroot 2015-10-11 17:57:31 +03:00
Nikolay Amiantov 724a82b737 steam: fix invalid symlinking for i686 2015-10-11 17:57:30 +03:00
Nikolay Amiantov 8b218b7143 steam: cut dependencies when using Runtime, migrate from config to boolean arguments 2015-10-10 14:59:06 +03:00
Nikolay Amiantov a3ef4b930e steam: use native libraries, disable steam-runtime 2015-10-10 14:59:06 +03:00
Arseniy Seroka e822dfd8f6 Revert "steam: added libcxxabi workaround"
This reverts commit 2b761358a8.
2015-10-04 15:43:46 +03:00
Yochai 2b761358a8 steam: added libcxxabi workaround 2015-09-27 16:47:14 +03:00
Vladimír Čunát 88c9f8b574 xlibs: replace occurrences by xorg
This seems to have been confusing people, using both xlibs and xorg, etc.
- Avoided renaming local (and different) xlibs binding in gcc*.
- Fixed cases where both xorg and xlibs were used.
Hopefully everything still works as before.
2015-09-15 12:54:34 +02:00
Yochai 0684ac10c8 steam: added libdrm to chrootenv. 2015-09-08 20:40:58 +03:00
Nikolay Amiantov 5336573329 steam: libstdc++/mesa incompatibility workaround
closes #9003
2015-07-28 12:33:29 +03:00
Yochai dfc53b1bac Steam: removed flashplayer 2015-07-22 23:29:41 +03:00
Tomasz Kontusz 37dcb18a5e steam: add which to the environment
Close #8788, fixes #8766.

Some games use it in their starting scripts (notably FTL does that).
2015-07-20 10:41:57 +02:00
Tanner Doshier 0da4293c2c steam: add xrandr binary to env
Games utilizing LWJGL >= 2.4 && < 3.0 need this as the framework parses
display information from the command line output of xrandr[1] on Linux.
There are a number of LWJGL games on Steam currently.

[1]: 46f602f0c6/src/java/org/lwjgl/opengl/XRandR.java (L72)
2015-06-19 20:48:26 -05:00
William A. Kennington III be5f4082fd pulseaudio: Remove default derivation 2015-05-29 14:47:33 -07:00
Nikolay Amiantov 9ae0798e73 steam: fix for new fhs-userenv 2015-04-22 17:50:41 +03:00