1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 22:50:49 +00:00
Commit graph

242 commits

Author SHA1 Message Date
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
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
Brian McKenna d47e2fde69 steam: enable hardware decoding (for In-Home Streaming)
Previous to this patch I was getting software decoding when I used In-Home
Streaming. I had a look around and according to:

https://bbs.archlinux.org/viewtopic.php?id=187922

> It seems that the libva version Steam comes with, is not compatible anymore to
> the newer libva 1.4.0.

Substituting in our version of libva gives me hardware decoding!
2016-03-29 09:17:15 +11:00
Nikolay Amiantov 2f07ae9136 steamPackages.steam-runtime: 2016-02-18 -> 2016-03-03 2016-03-04 14:46:46 +03:00
Nikolay Amiantov 5b4de73b8f steamPackages.steam-original: 1.0.0.49 -> 1.0.0.51 2016-03-04 14:42:38 +03:00
Nikolay Amiantov b64192744a steamPackages.runtime: 20151020 -> 2016-02-18 2016-02-19 14:10:19 +03:00
Nikolay Amiantov e41c80e790 steamPackages: add runtime-mirror helper derivation 2016-02-19 14:10:13 +03:00
Nikolay Amiantov 9525abdeec steamPackages.runtime: use mirrors, add my mirror 2016-02-19 14:10:09 +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 f4d71737a8 steam: propagate runtime-wrapped flags for more convenient overrides 2016-01-15 15:01:55 +03:00
Nikolay Amiantov 9a07a8505e steam-runtime-wrapped: add optional override of libstdc++ 2016-01-15 15:01:55 +03:00
Nikolay Amiantov 261fe09931 steamPackages.runtime: update packages 2015-12-04 01:00:27 +03:00
Nikolay Amiantov fc6a5f746b steamPackages.steam-chrootenv: install desktop file 2015-12-04 01:00:27 +03:00
Nikolay Amiantov f4bbd5b024 steamPackages: add update-runtime-shell.nix to update runtime 2015-12-04 01:00:27 +03:00
Nikolay Amiantov 67d0b8026e steamPackages.steam: cleanup 2015-12-04 01:00:11 +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 eae00fe687 steam-runtime: build using new Runtime build system 2015-10-20 18:53:46 +03:00
Nikolay Amiantov 18ddcd2847 steam-fonts: use for chrootenv 2015-10-15 15:17:28 +03:00
Nikolay Amiantov 2286c1894d steam-fonts: init at 1 2015-10-15 15:17:13 +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
Nikolay Amiantov 8b034964d1 steam-runtime: split by architectures 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
Christoph Hrdinka 3bd78123f3 steam-runtime: init at 2014-04-15 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
Aristid Breitkreuz 3c09ff6d15 prevent accidentally installing unwrapped steam 2015-05-30 19:27:24 +02: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
Arseniy Seroka 18ab694934 steam: fix: add gst lib (needed by audiosurf 2) 2015-03-21 02:54:32 +03:00
Nikolay Amiantov c16188343a steam: add primus support 2015-03-09 23:02:47 +03:00
Nikolay Amiantov e01cd8f214 steam: fix sound issues 2015-03-09 17:29:44 +03:00
Nikolay Amiantov 95cd118d4f steam: refactor meta 2015-03-09 17:29:43 +03:00
Nikolay Amiantov aa54b77611 Merge pull request #6189 from abbradar/fhs-userenv
steamOriginal: rename to steam-original
2015-02-06 03:59:43 +03:00
Nikolay Amiantov fd99962abb steamOriginal: rename to steam-original 2015-02-06 03:48:32 +03:00
Arseniy Seroka 5ccc4839cb Merge pull request #6177 from abbradar/fhs-userenv
add non-root temporary FHS chrootenv
2015-02-05 21:57:54 +03:00
Nikolay Amiantov 627f8178b8 steam: rename, add a warning 2015-02-05 19:46:25 +03:00
Nikolay Amiantov 238fe730b9 steam-chrootenv: use UserEnv 2015-02-05 19:46:25 +03:00
Nikolay Amiantov 69d19d4283 steam: replace steamdeps 2015-02-05 18:43:58 +03:00
Arseniy Seroka 51abbf7204 steam: update 1.0.0.48 -> 1.0.0.49 2014-11-03 20:00:49 +03:00
Vladimír Čunát e4436ad841 FONTCONFIG_FILE: remove setters to /etc/fonts/fonts.conf
Any reasonably new version of fontconfig does search that path by default,
and setting this globally causes problems, as 2.10 and 2.11 need
incompatible configs.

Tested: slim+xfce desktop, chrootenv-ed steam.
I have no idea why we were setting the global variable;
e.g., neither Fedora nor Ubuntu does that.
2014-10-05 17:05:27 +02:00
Sander van der Burg 23d5fd2e2f Fix steam package 2014-09-06 00:30:10 +02:00
Christoph Hrdinka 3894e68721 steam-chrootenv: fix indentation 2014-09-06 00:27:21 +02:00
Christoph Hrdinka 5a74e1a606 steam-chrootenv: remove fontconfig from installed modules 2014-09-06 00:25:49 +02:00
Christoph Hrdinka a383e0f1b8 steam: add optional java support 2014-09-06 00:25:49 +02:00
Christoph Hrdinka c5f51039f4 steam: fix steam on x86_64 2014-09-06 00:25:48 +02:00
Georges Dubus 5df24fadaa steam: updated to 1.0.0.48 2014-08-08 17:28:57 +02:00
Mateusz Kowalczyk 7a45996233 Turn some license strings into lib.licenses values 2014-07-28 11:31:14 +02:00
third3ye e5bf7af90a The folder $url/steam/archive seems to be empty...
Changed the URLs to the packages over to the steam folder inside <code>pool/steam/s/steam</code>. If the archive folder has been repopulated the next 24hrs ignore this.
2014-06-20 01:54:16 +00:00
Sander van der Burg 104c841c85 Move su to the base packages of chrootenv builder 2014-04-18 13:30:24 +02:00
Arseniy Seroka 3b0ed7bb14 fix missing su in chrootenv 2014-04-18 15:03:33 +04:00
Sander van der Burg 28d8e93871 My attempt to get Steam working in NixOS. It uses a function called buildFHSChrootEnv {} that composed chroot environments. In such a chroot environment, I could run Steam without much problem 2013-09-13 23:58:59 +02:00
Evgeny Egorochkin 37996253e6 Steam: fix and update to 1.0.0.39 2013-08-10 06:08:19 +03:00
Carles Pagès 5885cf1286 steam: add flashplayer plugin support.
The videos work, but there is a problem with sound:
ALSA lib dlmisc.c:236:(snd1_dlobj_cache_get) Cannot open shared library
/nix/store/9z51hr9l19vdhgmqd60jwwrg6ny5md2d-alsa-plugins-1.0.26/lib/alsa-lib/libasound_module_pcm_pulse.so

It tries to open a 64bit plugin, which obviously fails. I think this depends on
/etc/asound.conf, but I'm not sure how to fix it.

Regardless of the problem, in one computer I tried the sound works but other
apps cannot output sound. In another, the sound doesn't work and other apps
continue working as normal.
2013-08-10 06:08:18 +03:00
Carles Pagès 4d853ae94f steam: revert adding amd64 version.
It turns out that the .deb only contains the changelog and some other docs.
Revert back to using the i686 version, but keep the double url for the future.
2013-08-10 06:08:18 +03:00
Carles Pagès 97ea8d61e6 steam: add amd64 version and point url to fix version (as suggested by aristid).
Valve has a repository with fixed version packages, so use that instead of the
steam.deb I was using. They also have amd64 packages there.
2013-08-10 06:08:18 +03:00
Carles Pagès 3f4557b0eb steam: update to 1.0.0.28 2013-08-10 06:08:18 +03:00
Carles Pagès bd44348baf steam: create some missing symlinks in the script.
In the original script it says they are temporary, but without those simlinks
Osmos and others fail to start with SteamAPI_Init() failed.
2013-08-10 06:08:18 +03:00
Carles Pagès 87c5a418ec steam: create proper symlinks in $HOME/.steam 2013-08-10 06:08:17 +03:00
Carles Pagès a249fa67d9 steam: add libXdmcp to dependencies.
I must have been blind. libXdmcp is in nixpkgs, contrary to what I said.
2013-08-10 06:08:17 +03:00
Carles Pagès dc10fabb2f steam: update to 1.0.0.27
It needed some more sed'ing and more deps. It's still not working as I seem to
need libXdmcp which is not in nixpkgs.
2013-08-10 06:08:17 +03:00
Carles Pagès f42cece8f5 steam: update to 1.0.0.21.
I also updated the patches for the bootsrapper script and fixed a typo, but
didn't test anything.
2013-08-10 06:08:17 +03:00
Carles Pagès 094c0662e8 steam: add mesa to library path.
Mesa is needed for Superbrothers: S&S EP, which links to libGLU.
2013-08-10 06:08:17 +03:00
Carles Pagès 10f722dc04 steam: workaround segfault at startup.
I don't know why, if I call ld-linux.so.2 to launch the game, it segfaults, so
I renamed it to ld.so.
2013-08-10 06:08:16 +03:00
Carles Pagès c75cccc469 steam: update to 1.0.0.18.
I forgot in the previous commit to update the version as I had changed the
tarball hash.

I also modified a bit the launcher script, since xz should only be needed by
the installer.
2013-08-10 06:08:16 +03:00
Carles Pagès b07300f2ef steam: bypass valve's bootstrapper.
Since there is no way to modify either steam.sh or the steam binary as they are
hash checked, I took the approach of bypassing steam.sh and create a script
that does its job.

For now it segfaults, but when I try to run under strace, it works perfectly.
Need to check this.
2013-08-10 06:08:16 +03:00
Carles Pagès dad0ed4eaa steam: add all the missing dependancies.
Calling their steam script still segfaults, but I managed to run it from the
shell with all these deps in the lib path.
2013-08-10 06:08:16 +03:00
Carles Pagès ee6129350e steam: add glibc215 to the wrapper. 2013-08-10 06:08:16 +03:00
Carles Pagès 12a0d83855 Steam: add patch for user stuff and lib paths to wrapProgram.
The binaries that get copied to $HOME need patchelf to run, and after that I
need all the runtime libs in the library path. Still not working as I need
glibc2.15.
2013-08-10 06:08:15 +03:00
Carles Pagès 3cd37b550b Steam: first attempt at adding the beta client.
The script installed with this expression only copies a boostrapper and another
script to the user's home folder. Those also need to be patched to get on with
the installation.
2013-08-10 06:08:15 +03:00