Commit Graph

324 Commits

Author SHA1 Message Date
Alexis Hildebrandt
f8c4a98e8e treewide: Remove the definite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-06-09 23:08:46 +02:00
Alexis Hildebrandt
755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00
diniamo
eb042ccd8d
steamPackages.steamcmd: add mainProgram, fix fetch url to use an archive (#312753)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2024-06-05 01:35:39 +02:00
K900
c75cffb303 steam: fix comment, add gamescope/xwayland dependencies 2024-05-22 17:42:18 +03:00
John Titor
cfe7930b94
steamPackages.steam-runtime: move to finalAttrs
explicitly use lib where needed
2024-04-27 18:51:17 +05:30
Guanran Wang
231bb74f99
steamPackages.steam-fhsenv: fix IME issues 2024-04-12 17:36:35 +08:00
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
R. Ryantm
b581ad2cf1 steamPackages.steam-runtime: 0.20220601.1 -> 0.20231127.68515 2024-01-12 14:29:09 +00: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
Adam Joseph
db04185bc9 steam.runtime-wrapped: use throw, not abort 2023-11-29 09:44:43 +01:00
Artturi
839563108f
Merge pull request #267957 from pbsds/nix-update-main-program 2023-11-17 00:36:48 +02:00
Peder Bergebakken Sundt
dc2ce0af94 nix-update: set meta.mainProgram 2023-11-16 21:42:13 +01: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
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