Commit Graph

226 Commits

Author SHA1 Message Date
Martin Weinelt
707234bf0d steam: add json-glib to fhsenv
Fixes the Paradox Launcher for Stellaris.

Fixes: #123447
2021-05-17 23:19:33 -07:00
Jan Tojnar
468cb5980b gnome: rename from gnome3
Since GNOME version is now 40, it no longer makes sense to use the old attribute name.
2021-05-08 09:47:42 +02:00
V
490fa1e891 steamPackages.steam-runtime: 0.20201203.1 -> 0.20210317.0 2021-04-30 14:38:58 -07:00
Jonathan Ringer
69a4de6251
steamPackages.steam: use stable archive to avoid 404s 2021-04-24 09:48:44 -07:00
Jonathan Ringer
d79d927cca
steamPackages.steam: 1.0.0.69 -> 1.0.0.70 2021-04-24 09:37:38 -07:00
Sandro
213fcedc17
Merge pull request #117287 from xfix/loop-hero-dependencies 2021-04-19 22:03:35 +02:00
Jonathan Ringer
6cd2ceb472
steam: fix paradox launcher 2021-03-31 09:30:27 -07:00
Konrad Borowski
db096d2e7e steam: Add Loop Hero dependencies 2021-03-22 22:30:21 +01:00
Lars Mühmel
826c65988b steamPackages.steam: 1.0.0.68 -> 1.0.0.69 2021-03-20 12:15:16 +01:00
github-actions[bot]
8fa4dca9b5
Merge master into staging-next 2021-03-15 00:40:27 +00:00
Samuel Gräfenstein
e49888983d
steam: xlibs -> xorg
Fixes building with `allowAliases = false;`.
2021-03-14 20:51:58 +01:00
github-actions[bot]
9690bf19d4
Merge staging-next into staging 2021-03-03 06:17:28 +00:00
Luigi Sartor Piucco
877135dad0 steam: add missing 32 bit nvidia ICD
Games still run for me and most people, but adding this fixes a warning
and may prevent problems later down the line.
2021-03-02 16:15:39 -03:00
Luigi Sartor Piucco
d3f90b2d04 steam: add missing vulkan-loader
It mostly works without it, but a pressure-vessel maintainer (@smcv)
said it's necessary, not having it may cause problems later.
2021-03-01 16:25:23 -03:00
Robert Schütz
54757b35c1 Merge branch 'staging-next' into staging 2021-02-26 10:56:17 +01:00
Luigi Sartor Piucco
28c9688714 steam: help pressure-vessel find Vulkan ICDs 2021-02-22 14:35:45 -03:00
Luigi Sartor Piucco
e358a6f4fd steam: add drivers to bwrap 2021-02-22 14:35:44 -03:00
ash lea
cd29b6ff97 steam: add mesa dependencies for pressure-vessel 2021-02-22 14:35:44 -03:00
Ben Siraphob
127733211e
treewide: unzip buildInputs to nativeBuildInputs (#112302) 2021-02-20 16:01:53 -05:00
Robert Schütz
83e82c1caf steam-run-native: use ffmpeg instead of libav 2021-02-04 15:19:23 +01:00
Ben Siraphob
a6ac3eedbd treewide: xdg_utils -> xdg-utils 2021-02-01 15:05:09 +07:00
Jonathan Ringer
c44acaaceb steam-run: inherit bwrap namespace settings 2021-01-16 16:55:30 -08:00
Jonathan Ringer
721ea006a8 steam-fhsenv: don't unshare pid
Some applications such as Natron need access to MIT-SHM or other
shared memory mechanisms. Unsharing the pid namespace
breaks the ability for application to reference shared memory.
2021-01-16 16:55:30 -08:00
Ben Siraphob
2e34288f0d pkgs/games: stdenv.lib -> lib 2021-01-15 13:36:04 +07:00
Profpatsch
4a7f99d55d treewide: with stdenv.lib; in meta -> with lib;
Part of: https://github.com/NixOS/nixpkgs/issues/108938

meta = with stdenv.lib;

is a widely used pattern. We want to slowly remove
the `stdenv.lib` indirection and encourage people
to use `lib` directly. Thus let’s start with the meta
field.

This used a rewriting script to mostly automatically
replace all occurances of this pattern, and add the
`lib` argument to the package header if it doesn’t
exist yet.

The script in its current form is available at
https://cs.tvl.fyi/depot@2f807d7f141068d2d60676a89213eaa5353ca6e0/-/blob/users/Profpatsch/nixpkgs-rewriter/default.nix
2021-01-11 10:38:22 +01:00
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