Commit Graph

173 Commits

Author SHA1 Message Date
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