Commit graph

232 commits

Author SHA1 Message Date
Will Dietz d7dd12326f
steam-runtime: 0.20200604.0 -> 0.20200720.0 2020-07-28 23:53:23 -05:00
Euan Kemp 8c5c7d3aaf steam-runtime: 0.20200417.0 -> 0.20200604.0 2020-07-16 22:35:14 -07:00
Euan Kemp 727e7d8039 steam: switch to correct runtime tarball
In my previous commit (593c28b) I used the wrong upstream artifact for
the runtime. After reading the documentation in the
ValveSoftware/steam-runtime repo, I now know that the steam-runtime
tarball is what I actually wanted.

I also used 'diff' to compare the various artifacts with the old runtime
this package used before, and the steam-runtime one is certainly the
closest.

Most importantly, switching to the right steam-runtime package
reportedly fixes issues for other users (fixes #90229).

This also entirely removes the amd64/i386 split from runtime.nix because
the upstream package bundles both together, and if that's how upstream
wants to distribute this, it seems best to follow their lead.
2020-06-14 00:10:47 -07:00
Euan Kemp 870954a1da steam: add back steamArch support 2020-05-08 00:32:02 -07:00
Euan Kemp 593c28b886 steam: switch to the newer steam-runtime packaging
Valve has started releasing tarballs of the steam runtime. It seems a
lot easier to download and extract a single tarball than to download a
buncha debs, extract them, and splat em around a bit.

Let's just use the runtime they build. It's a buncha random binary
packages anyway.

Also, the download url for their debs broke, so there's that too.
2020-05-08 00:18:59 -07:00
Martin Weinelt 467a987f0b
steam: update generated runtime dependencies
The referenced zenity URL wasn't valid anymore:

trying http://repo.steampowered.com/steamrt/pool/main/z/zenity/zenity_3.4.0-0ubuntu4+steamrt2+srt6_amd64.deb
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
2020-04-29 23:38:23 +02:00
Michael Reilly 84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Andrey Petrov 877baac95b steam: Update generated runtime dependencies 2020-04-03 15:14:14 -04:00
nyanloutre 3a15a13354 steam.chrootenv: Add Prison Architect dependencies 2020-03-27 13:31:52 -07:00
nyanloutre 8bd3cf22c2 steamrt: 1.20190624 -> 1.20200128 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
volth 08f68313a4 treewide: remove redundant rec 2019-08-28 11:07:32 +00:00
Frederik Rietdijk 98640fd482 Merge master into staging-next 2019-08-27 16:36:47 +02:00
Robin Gloster 48191315aa
Merge pull request #66916 from nyanloutre/steam_update_1_0_0_61
steam: 1.0.0.59 -> 1.0.0.61
2019-08-25 18:42:11 +02:00
Vladimír Čunát 2e6bf42a22
Merge branch 'master' into staging-next
There ver very many conflicts, basically all due to
name -> pname+version.  Fortunately, almost everything was auto-resolved
by kdiff3, and for now I just fixed up a couple evaluation problems,
as verified by the tarball job.  There might be some fallback to these
conflicts, but I believe it should be minimal.

Hydra nixpkgs: ?compare=1538299
2019-08-24 08:55:37 +02:00
nyanloutre 6eec415644
steam: 1.0.0.59 -> 1.0.0.61 2019-08-19 15:11:53 +02:00
Colin Rice 965cddb7ec steam: Update dependencies for steamrt 2019-08-19 01:15:34 +03:00
volth c814d72b51 treewide: name -> pname 2019-08-17 10:54:38 +00:00
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01: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
nyanloutre 87e35a1439
steamrt: fix update script
The package.txt file doesn't exist anymore on upstream.
The new method is to install two metapackages and their dependencies.

Reference : 8849d366bf
2019-04-19 18:23:34 +02:00
Jethro Kuan f785ba1d74 steamrt 1.1 -> 1.2 2019-04-18 22:58:34 +08: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
Silvan Mosberger a7b01d29ba
steamcmd: Add needed binaries to PATH 2019-03-29 21:41:14 +01:00
Carles Pagès 83220a735c steamPackages.steam: 1.0.0.56 -> 1.0.0.59 2019-03-04 23:40:44 +01: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
christoph 6833eabe59 run update_runtimes.py 2019-02-05 12:20:17 +01:00
Andreas Rammhold 1de88c36cc
steam: ran update-runtime.py 2018-12-10 13:50:06 +01:00
Linus Heckemann 5c9b19a4a9
Merge pull request #49808 from pbogdan/steam-cc
steamPackages.steam-runtime-wrapped: don't include all of gcc
2018-11-24 13:11:06 +01: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
Piotr Bogdan ddb35fe47b steamPackages.steam-runtime-wrapped: don't include all of gcc 2018-11-05 22:46:53 +00:00
Patrick Hilhorst 714b6e3d17
steam: ran update-runtime.py 2018-10-25 10:34:00 +02:00
Patrick Hilhorst 7c2b6b0afe
steam: made update-runtime.py nicer 2018-10-25 10:33:37 +02:00
David McFarland c7fa58f6b3 steam: add libxcb to steamrt overrides
This fixes 'glXChooseVisual failed' when starting steam on mesa after
the libxcb 1.12 -> 1.13 upgrade.
2018-10-08 20:04:36 -03:00
nyanloutre 7af3a85d8d
steamPackages.steam: 1.0.0.51 -> 1.0.0.56 2018-09-29 09:38:36 +02:00
nyanloutre 30240a59fe steamPackages.steam: add udev rules 2018-09-28 09:34:37 +02:00
Tad Fisher 0b2b7b2d53 steamcmd: init at 20180104 2018-09-08 13:39:32 -07:00
Sarah Brofeldt b57350e6d8
Merge pull request #45855 from pstn/steam-python3
steam: Add python3 to runtime for steam play / proton
2018-09-01 10:51:20 +02:00
Philipp Steinpass f563a3b2a9 steam: Add python3 to runtime for steam play / proton 2018-08-31 12:43:08 +02:00
John Ericson 2c2f1e37d4 reewide: Purge all uses stdenv.system and top-level system
It is deprecated and will be removed after 18.09.
2018-08-30 17:20:32 -04:00
volth cc55a3ebcb treewide: fix build with disallowed aliases (#43872)
fixes build with disallowed aliases
2018-07-21 22:03:24 -04: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
Vladimír Čunát 565bd805e6
Merge branch 'master' 2018-03-05 14:53:27 +01:00
Jan Tojnar a31d98f312
tree-wide: autorename gnome packages to use dashes 2018-02-25 17:41:16 +01:00
Alexander V. Nikolaev 1bc1909e5b treewide: transition from mesa_glu to libGLU 2018-02-24 17:05:43 +02: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
Piotr Bogdan 16dc6bf521 steam: override nss, nspr, fixes #32781 2017-12-18 00:20:23 +00:00
Vladimír Čunát 3a110ea3f9
treewide platform checks: abort -> throw
They aren't meant to be critical (uncatchable) errors.
Tested with nix-env + checkMeta:
[ "x86_64-linux" "i686-linux" "x86_64-darwin" "aarch64-linux" ]
2017-12-12 18:08:10 -05: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
John Ericson 70d91badf5 treewide: Depend on stdenv.cc.bintools instead of binutils directly
One should do this when needed executables at build time. It is more
honest and cross-friendly than refering to binutils directly.
2017-11-05 17:10:53 -05:00
Nikolay Amiantov c9ac187c3c tbb: 4.4-u2 -> 2018_U1, merge with libtbb
Remove libtbb derivation as a duplicate.
2017-10-29 01:51:11 +03:00
David Izquierdo 7dff2c53d4 steam-runtime-wrapped: switch curl to use gnutls 2017-10-28 12:32:54 +03:00
David Izquierdo 38368c42fc steam-runtime-wrapped: add libtbb 2017-10-28 12:32:54 +03: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
David McFarland 398823da6e Revert "steam: use custom openssl"
No longer necessary. See https://github.com/NixOS/nixpkgs/pull/23034#issuecomment-291005754

This reverts commit a120bad30c.
2017-04-03 09:04:44 +02:00
Nikolay Amiantov 9748828e78 steamPackages.steam-runtime-wrapped: override vulkan-loader
This way we get /run/opengl-driver as a search path.
Fixes #24056.
2017-03-19 22:00:48 +03:00
Bjørn Forsman 3d104ab2b3 gst-plugins-base: align attrname with pkgname 2017-02-27 12:16:26 +01:00
Nikolay Amiantov cdf306909f udev182: remove 2016-12-29 00:11:40 +03:00
David McFarland a120bad30c steam: use custom openssl 2016-11-09 21:18:32 -04: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
Nikolay Amiantov 334abbc323 steam-runtime: add libXxf86vm 2016-09-28 01:28:07 +03:00
Nikolay Amiantov 9c47876b84 steam: don't write runtime tag file 2016-09-13 12:33:22 +03:00
Chris Martin cac553e8e0 steam: runtime-generated.nix md5->sha256 2016-09-13 12:33:22 +03:00
Svein Ove Aas 70e4eab55b steam: Some games use Mono 2016-09-11 16:17:57 +01:00
Nikolay Amiantov c3868a1d74 steam-packages.steam-runtime: 2016-03-03 -> 2016-08-13 2016-08-14 22:37:09 +03: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 229e544148 steamPackages.steam-runtime-wrapped: fix w. multiple outputs 2016-05-15 02:35:17 +03:00
Nikolay Amiantov c4bbfdb478 steam: add xdg_utils to chrootenv 2016-04-08 03:12:09 +03:00