Commit Graph

88 Commits

Author SHA1 Message Date
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Atemu
c67a030aa2 steam: passthru steam's args
This makes it possible to introspect steam-specific arguments such as extraEnv.
2024-03-16 17:59:27 +01:00
Philip Taron
a0e85781a7
steam: make the fhsenv for mesa only have elfutils 2024-02-28 21:01:31 -08:00
Jeff Huffman
25c947b3fc
steam: make privateTmp overrideable 2023-12-21 12:11:35 -05:00
Jeff Huffman
aa9d4729cb steam: unset GIO_EXTRA_MODULES to supress errors 2023-12-13 23:33:05 -08:00
Jeff Huffman
c3a429feac steam: add glibc.bin to FHS for ldconfig 2023-12-13 23:33:05 -08:00
Jeff Huffman
195248b6c1 buildFHSEnv, steam: isolate steam's /tmp from host
Works around steam's misbehavior: https://github.com/ValveSoftware/steam-for-linux/issues/9121
2023-12-13 23:33:05 -08:00
Fabián Heredia Montiel
884449105e Merge remote-tracking branch 'origin/master' into staging-next 2023-11-13 14:31:51 -06:00
Peder Bergebakken Sundt
db86bc5c4e
Merge pull request #267112 from amarshall/steam-run-mainprogram
steam-run: Set meta.mainProgram
2023-11-13 01:47:18 +02:00
Andrew Marshall
fe94af355c steam-run: Set meta.mainProgram
Otherwise it is inheriting "steam" from `steam.meta`.
2023-11-12 16:56:38 -05:00
github-actions[bot]
b23f12e076
Merge master into staging-next 2023-11-06 00:02:12 +00:00
K900
e437fe253b
Merge pull request #262184 from aidalgol/missing-game-fhsenv-libs
Add libunwind to Heroic and Steam FHS envs
2023-11-05 21:54:40 +03:00
github-actions[bot]
682b6995b4
Merge staging-next into staging 2023-10-21 12:01:45 +00:00
K900
700044610f steam: allow setting extraBwrapArgs, remove unshare* options matching defaults 2023-10-21 00:55:54 +03:00
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
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
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
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
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
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
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