Commit graph

86 commits

Author SHA1 Message Date
nyanloutre 3a15a13354 steam.chrootenv: Add Prison Architect dependencies 2020-03-27 13:31:52 -07:00
Jonathan Ringer 9d4aab7880 steam.chrootenv: add udev
Needed by Shadow of the Tomb Raider
2020-02-25 16:10:30 -08:00
Jonathan Ringer 9cd683ccc0 steamPackages.chrootenv: add file command
Noticed that the setup.sh for steam was trying to call the file command.
I'm not sure what the ramifications are for these missing,
but some steam features are quietly disabled when they
don't follow happy paths.
2020-02-20 15:20:43 -08:00
Jonathan Ringer 4ca08a2a73 steam-chrootenv: add lsof
This adds support for "Launch Game" through the friends menu
2020-02-15 19:35:02 +01:00
Frederik Rietdijk dce0ca29d9 Merge master into staging-next 2020-01-28 10:46:13 +01:00
Jonathan Ringer f4b4c66a08 steam: use 64-bit libva 2020-01-23 12:13:14 -08:00
Anders Kaseorg 3cd8ce3bce treewide: Fix unsafe concatenation of $LD_LIBRARY_PATH
Naive concatenation of $LD_LIBRARY_PATH can result in an empty
colon-delimited segment; this tells glibc to load libraries from the
current directory, which is definitely wrong, and may be a security
vulnerability if the current directory is untrusted.  (See #67234, for
example.)  Fix this throughout the tree.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
2020-01-15 09:47:03 +01:00
Jonathan Ringer 21958c0603 steam.chroot: add at-spi2-core
Needed by CrossCode
2019-12-30 17:13:12 +01:00
edef 0e76e6bee8 steam: refer to unaliased gtk3 and gdk-pixbuf 2019-11-23 03:53:39 +00:00
Jonathan Ringer 87c674daef steam: use 32bit version of libva 2019-11-16 12:02:54 +01:00
Andreas Baldeau 5a13b856c4 steam: Add libva to chrootenv
After the newest update Steam itself complained about missing files
and would not start:

* libva.so.2
* libva-x11.so.2
2019-11-09 12:02:51 +01:00
worldofpeace 486a728b94 steam: don't use at-spi2-atk alias 2019-10-19 19:29:37 -04:00
Martin Weinelt 648082e566 steam: add at_spi2_atk to chrootenv
This is required for the new Stellaris 2.4 series launcher
2019-10-19 10:58:09 -07:00
Herwig Hochleitner ff79e9dad2 steam: fix for screeps 2019-08-12 02:52:51 +02:00
Herwig Hochleitner 9acdab85e2 steam: add /lib32 and /lib64 to ldpath in chroot 2019-08-12 02:52:51 +02:00
davidak d568509a0f steam chrootenv: add lsb-release
Fixes issue with operating system detection
sh: lsb_release: command not found
2019-08-09 12:29:58 +03:00
worldofpeace b1bc0645ea gdk-pixbuf: rename from gdk_pixbuf 2019-07-22 18:50:57 -04:00
Frederik Rietdijk f120248daf Merge staging-next into staging 2019-06-18 11:07:56 +02:00
Matthew Bauer 263f5891b6 treewide: mesa_noglu, mesa_drivers, libGL_driver -> mesa
Just use mesa for these to be more clear. Move these to aliases.nix
2019-06-17 14:43:18 -04:00
volth f3282c8d1e treewide: remove unused variables (#63177)
* treewide: remove unused variables

* making ofborg happy
2019-06-16 19:59:05 +00:00
Nikolay Amiantov 9da82ca01f steam: add extraLibraries argument 2019-05-25 11:22:37 +03:00
David McFarland 9d8c27e4f4 steam: provide pidof and lsusb for Steam VR 2019-05-20 17:54:43 +09:00
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