Commit graph

201 commits

Author SHA1 Message Date
Jonathan Ringer
9721604610 steamPackages.steam: add udev rules 2020-12-23 22:46:56 -08:00
Jonathan Ringer
373cb5d41d steam: fix readonly boostrap.tar.xz
steam writes it with 444 permissions, which makes
simple deletions fails, and steam will crash
2020-12-20 22:38:18 -08:00
Jonathan Ringer
ab91cd998f steam: fix desktop link 2020-12-20 22:38:18 -08:00
Jonathan Ringer
473ec944a1 steamPackages.steam: 1.0.0.61 -> 1.0.0.68 2020-12-20 22:38:18 -08:00
Jonathan Ringer
0179b5f173 steam-fhsenv: normalize ldPath 2020-12-20 22:38:18 -08:00
Jonathan Baldwin
0127c29713 steam/fhsenv: Add LD_LIBRARY_PATH (and hence OpenGL driver library path) to output of --print-steam-runtime-library-paths 2020-12-16 14:04:44 -08:00
Jonathan Ringer
2831a66be6
steam: share ipc, fix some gui launchers 2020-12-08 18:42:56 -08:00
Jonathan Ringer
f162839a1e
steam: fix electron launchers 2020-12-08 18:04:49 -08:00
Jonathan Ringer
f3103fe2d1 steamPackages.steam-runtime: 0.20200720.0 → 0.20201203.1 2020-12-08 16:07:51 -08:00
Jonathan Ringer
e6bf832880 steamPackages.steam-runtime: add update script, fix pname 2020-12-08 16:07:51 -08:00
Max Wilson
e82c3b68e1 steam: http -> https 2020-11-23 06:58:18 -08:00
Klemens Nanni
db236e588d steam: Do $PATH lookup in steam.desktop instead of hardcoding derivation
The desktop application and the absoloute path work fine.
But consider desktop environments such as KDE where, in the application
menu, one can right click entries and pin them to widgets/panels, add
them to the desktop, etc.

Doing so effectively means copying
/run/current-system/sw/share/applications/steam.desktop to
~/.local/share/plasma_icons/ or ~/Desktop/, i.e. managed stated gets
duplicated outside the nix scope.

The problem here is that steam.desktop hardcodes

	Exec=/nix/store/<derivation hash>-steam/bin/steam %U

this means such copies will point at wrong/outdated derivations once
the steam package changes, i.e. widgets/panels/desktop icons will no
longer work and must be recreated.

Therefore replace the absoloute path with a $PATH lookup to allow "safe"
copying;  this isn't optimal but other applications such Firefox and
Thunderbrid currently behave the same way ($PATH lookup in their
.desktop file).
2020-10-27 16:21:43 +01:00
Gabriel Ebner
6784e7ec75 steam: use jdk8 2020-09-19 15:29:19 +02:00
Daniel Fullmer
b3de09bc52
steam: fix typo in LD_LIBRARY_PATH (#97818) 2020-09-11 23:19:31 -04:00
Jan Tojnar
5a1a7d3dcc
steam-run: remove ancient gstreamer dependency
It is insecure and broken.

Follow https://github.com/NixOS/nixpkgs/pull/93398
2020-09-02 02:23:54 +02:00
Jörg Thalheim
bd0e645f02
Merge pull request #94442 from Atemu/buildFHSUserEnvBw 2020-08-19 17:28:02 +01:00
Sarah Brofeldt
c5815280e9
Merge pull request #94134 from dtzWill/update/steamrt-0.20200720.0
steam-runtime: 0.20200604.0 -> 0.20200720.0
2020-08-18 07:03:37 +02:00
Atemu
b7c09b50ff steam: use buildFHSUserEnvBubblewrap
Fixes #92798
2020-08-17 08:49:39 +02:00
Jonathan Ringer
7a18043f65 steam: chroot: export STEAM_LD_LIBRARY_PATH 2020-08-08 13:27:55 -07:00
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