Commit Graph

350 Commits

Author SHA1 Message Date
Aidan Gauland
123e140893
steam: add libunwind to FHS env 2023-10-20 15:02:56 +13:00
K900
ff44e8ab07 pipewire: simplify outputs drastically
This drops a whole bunch of patches we carry to avoid output cycles, at the cost of +1MB to closure size
on systems that don't already have Pipewire, which are becoming rarer and rarer.
2023-10-20 00:57:18 +03:00
Weijia Wang
3f6a6e33df
Merge pull request #241784 from SuperSamus/steam-openssl
steam: add openssl to fhsenv
2023-09-07 10:01:21 +02:00
Adam Joseph
cbc8aa437c treewide: use uncurried version of makeScopeWithSplicing 2023-08-14 02:51:10 +03:00
Bruno BELANYI
feac9edf6a treewide: add meta.mainProgram
Related PR: NixOS#246386
2023-08-04 10:32:10 +00:00
Silvan Mosberger
a0b8caf3bc
Revert "lib.customisation: uncurry makeScopeWithSplicing" 2023-07-28 23:04:09 +02:00
Adam Joseph
12cb207d20
Merge pull request #245824 from amjoseph-nixpkgs/pr/lib/customization/makeScopeWithSplicing
lib.customisation: uncurry makeScopeWithSplicing
2023-07-28 20:55:44 +00:00
Artturi
314c4c1b6d
Merge pull request #244879 from Atemu/steam-small-dbus-steamvr 2023-07-28 19:04:25 +03:00
Artturin
3716ef19d8 lib.makeScopeWithSplicing: provide default for keep,extra
These are often unneeded by the user.
2023-07-28 17:41:01 +03:00
Adam Joseph
cb13669b00 lib.customisation: uncurry makeScopeWithSplicing
Deeply-curried functions are pretty error-prone in untyped languages
like Nix.  This is a particularly bad case because
`top-level/splice.nix` *also* declares a makeScopeWithSplicing, but
it takes *two fewer arguments*.

Let's switch to attrset-passing form, to provide some minimal level
of sanity-checking.
2023-07-27 21:31:59 -07:00
Pol Dellaiera
4d01d2bcb1
Merge pull request #222390 from Zahrun/doc/steam
steam: add indication for the nix option
2023-07-26 15:04:57 +02:00
Atemu
21856d71a4 steam-small: add dbus
Required for SteamVR's steamwebhelper

Closure size 3723142072 -> 3724440544. Roughly +2MiB.

See https://github.com/ValveSoftware/steam-for-linux/issues/7058 for reference
2023-07-22 20:36:24 +02:00
chayleaf
191945bd1d steam-run: set multiArch to true
Patch by @K900
2023-07-11 21:50:17 +07:00
Martino Fontana
25043c264d steam: add openssl to fhsenv 2023-07-06 11:25:01 +02:00
Atemu
173962eef9 steam: declare need for multiArch explicitly 2023-07-01 13:42:49 +02:00
Azat Bahawi
8b323771bb
steam: add ncurses to game specific libraries 2023-06-15 12:58:25 +03:00
K900
d7e5c6deaa steam: add attr to fhsenv 2023-06-08 10:56:49 +03:00
K900
aee4db0fda steam: fix lib32 dependencies 2023-05-22 09:46:02 +03:00
K900
48db1ea01d steamPackages: expose steam-fhsenv-without-steam
This is not unfree and thus can be built by Hydra.
2023-05-17 10:39:34 +03:00
K900
e578231cb8 steam-fhsenv: allow building without Steam
I promise this will make sense.
2023-05-17 10:39:34 +03:00
Martin Weinelt
73ccc6e844
steam: Remove openssl_1_1 from fhsenv
OpenSSL 1.1 is going end of life in 2023/09, which is during the NixOS
23.05 release cycle.

The removal unfortunately breaks the Loop Hero game, for which it was
added.
2023-05-12 22:55:44 +02:00
lelgenio
42f56362b0 steam: fix missing dependency on gsettings-desktop-schemas 2023-05-08 18:56:51 -03:00
Atemu
5cafa3cf87
Merge pull request #226451 from Atemu/steam-deps-fixes
steam: fix some deps
2023-05-04 16:28:39 +02:00
Atemu
b4b7c759b6 steam: add xdg-user-dirs to suppress log spam 2023-04-30 19:22:14 +02:00
Atemu
e2700c1bce steam: add udev to non-game-sepcific deps for SteamVR
SteamVR is arguably part of Steam and udev should already exist on every system
anyways, so closure size increase is minimal.
2023-04-30 19:21:35 +02:00
Weijia Wang
db9eda0945 steam: fix error message on unsupported arch 2023-04-22 23:53:39 +03:00
Atemu
f63a12f296 tree-wide: buildFHSUserEnv -> buildFHSEnv 2023-04-16 10:15:13 +02:00
Atemu
1f27e0b77a steam: add extraEnv option 2023-03-26 17:19:33 +02:00
Atemu
422b0ff93b steam: use writeShellScript 2023-03-26 17:18:56 +02:00
Aroun
25e94e1cd2 steam: add indication for the nix option 2023-03-21 23:44:01 +05:30
Sandro Jäckel
a62d444697
steam-small: init
A steam variant without game specific libraries to have a smaller
footprint on systems where people don't need or want the full blown fhs.
2023-02-18 17:34:49 +01:00
Sandro Jäckel
ad815aebfb
steam: cleanup 2023-02-18 16:02:22 +01:00
Sandro Jäckel
ca2ce98720
steam-fhs: remove deprecated options 2023-02-18 15:42:39 +01:00
hw-lunemann
eaf8701406 steam: add elfutils to fhsenv
Pressure-vessel's helper *-inspect-library now depends on libelf.so.1 which is provided by elfutils.out (not libelf) on nixos.
2023-02-18 00:26:38 +01:00
Raphael Robatsch
0a22920a97 steam-run: add libxcrypt to FHS environment
Required by some games.
2023-01-19 20:18:44 +01:00
Artturin
58fa78077c treewide: use splicing convenience functions 2022-12-25 14:05:03 +02:00
Atemu
009567814b
steam-run: provide meta (#196273)
Fixes https://github.com/NixOS/nix/issues/4527
2022-10-16 16:18:10 +02:00
Zhaofeng Li
205e805d51 steam: Add extraArgs to prepend arguments to Steam
The steam launcher script in SteamOS 3 always prepends `-steamdeck`
to ensure the correct client version is used. This argument enables
us to replicate the setup in NixOS.
2022-10-10 19:34:20 -04:00
Zhaofeng Li
b84625ee73 steam: Disable udev-based joystick discovery for SDL2
Fixes #101281.
2022-09-05 23:56:03 -06:00
Artturin
4b9d0f3420 steamPackages: fix attribute 'steamPackages' missing while cross eval
there's prior art for doing this
2022-08-14 00:27:42 +03:00
QuantMint
7e2760130b steamPackages.steam-runtime: 0.20211102.0 -> 0.20220601.1 2022-08-09 22:28:48 +02:00
Solene Rapenne
0d382ad4b7 steam-fhs: add dependencies for Dead Cells 2022-08-02 22:14:05 +02:00
Luna Nova
6537fa2abb
steam/fhsenv.nix: Add libindicator-gtk2 and libdbusmenu-gtk2 (#181023)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2022-07-12 15:14:06 +02:00
Pavol Rusnak
4b7a8ae947
treewide: refactor curlWithGnuTls into all-packages.nix 2022-04-30 18:56:59 +02:00
Fabián Heredia Montiel
40a18fbf7c steam-fhs: remove unecessary symlink 2022-04-02 22:16:56 +02:00
Jonathan Ringer
96f1f99c05 steam: don't set XDG_DATA_DIR 2022-03-24 12:53:39 -07:00
Jonathan Ringer
23a6705050 steam: do not install mesa drivers
These should be found in /run/opengl-driver/lib/
on relevant system configurations.
2022-03-21 07:47:16 -07:00
Jonathan Ringer
198f6c583e steam: re-expose LD_LIBRARY_PATH
Was incorrectly altered after cherry-pick
2022-03-14 08:15:45 -07:00
Artturi
c5a78fde9c
Merge pull request #161922 from jyooru/remove/steam-fonts
steam-fonts: remove
2022-03-06 10:16:11 +02:00
Atemu
b4e2df2e10
remove networkmanager098 (#162904) 2022-03-05 22:19:36 +02:00
Jonathan Ringer
b685f44ef2 steam-run: inherit extraInstallCommands 2022-03-03 16:57:16 -08:00
Jonathan Ringer
fae860361e steam: remove nativeOnly options 2022-03-02 12:25:45 -08:00
Jonathan Ringer
27e7b4d9c7 steam: add dotnet support 2022-02-27 14:19:13 -08:00
Joel
a1ca3247f1
steam-fonts: remove
The source now returns a 404 and Steam no longer needs these fonts.
2022-02-26 14:51:55 +10:00
Jonathan Ringer
d9fe24c1f9 steam: use XDG_DATA_DIRS to specify vulkan icd paths 2022-02-24 08:59:12 -08:00
Jonathan Ringer
80833d9a2b steam-run: inherit /etc/profile fixes 2022-02-04 18:36:46 -08:00
QuantMint
b4c0cc2407 steam: Remove python2 2021-12-25 11:38:49 +01:00
lassulus
9deb6bf336 steam: 1.0.0.73 -> 1.0.0.74 2021-12-08 16:27:41 +01:00
TredwellGit
dbda557c64 steamPackages.steam-runtime: 0.20210906.1 -> 0.20211102.0 2021-11-27 01:15:42 +00:00
Dusk Banks
ab054f8fdb steamPackages: make customisable
Keep in mind the note in `lib.makeScopeWithSplicing`'s source:

    # N.B. the other stages of the package set spliced in are *not*
    # overridden.

To globally override `pkgs.steamPackages`, overlay `pkgs` like:

    final: prev: { steamPackages = steamPackages.overrideScope …; }
2021-11-16 08:40:10 -08:00
Janne Heß
0329e54453
Merge pull request #146106 from TredwellGit/steam 2021-11-15 20:58:48 +01:00
TredwellGit
e682fd7c83 steam: 1.0.0.72 -> 1.0.0.73 2021-11-15 09:20:52 +00:00
Martin Weinelt
f651d617a6 curl: use --with/without-openssl instead of --with/without-ssl
This also migrates sslSupport to opensslSupport, which affects packages
overriding the curl package in that regard.
2021-10-16 11:35:18 +01:00
Ryan Burns
41574158a0 libgpg-error: rename from libgpgerror
Matches pname and upstream project name
2021-10-06 18:23:43 -07:00
Sandro
54742594b6
Merge pull request #140711 from TredwellGit/steamPackages.steam-runtime 2021-10-06 09:41:53 +02:00
TredwellGit
5ac32013ca steam: 1.0.0.70 -> 1.0.0.72 2021-10-06 05:09:21 +00:00
TredwellGit
7e5136fcc4 steamPackages.steam-runtime: 0.20210630.0 -> 0.20210906.1 2021-10-06 04:44:44 +00:00
TredwellGit
80ab542af8 steam: fix steamwebhelper
Fixes https://github.com/NixOS/nixpkgs/issues/137279 and https://github.com/ValveSoftware/steam-runtime/issues/462.
2021-09-11 21:40:35 -07:00
TredwellGit
79a4590495 steamPackages.steam-fhsenv: fix Proton
LLVM must match version required by Mesa.

Fixes https://github.com/NixOS/nixpkgs/issues/127068
2021-07-16 15:13:31 -07:00
Herman Fries
7cae055159 steamPackages.steam-runtime: 20210527.0 -> 20210630.0 2021-07-14 16:55:53 +02:00
Felix Buehler
ce3b463c79 games: /s/name/pname&version/ 2021-06-25 01:28:10 +02:00
AndersonTorres
e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00
Jonathan Ringer
e6903f1e94 steam/fhsenv: add pipewire as hard requirement 2021-06-08 08:51:18 -07:00
Artturin
2033f37fb2 steamPackages.steam-runtime: 0.20210317.0 -> 0.20210527.0 2021-06-08 03:47:26 +03:00
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