Commit graph

191 commits

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