Commit Graph

298 Commits

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