forked from mirrors/nixpkgs
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.
This commit is contained in:
parent
cf7f4393f3
commit
205e805d51
|
@ -3,6 +3,7 @@
|
|||
, extraPkgs ? pkgs: [ ] # extra packages to add to targetPkgs
|
||||
, extraLibraries ? pkgs: [ ] # extra packages to add to multiPkgs
|
||||
, extraProfile ? "" # string to append to profile
|
||||
, extraArgs ? "" # arguments to always pass to steam
|
||||
, runtimeOnly ? false
|
||||
, runtimeShell
|
||||
, stdenv
|
||||
|
@ -258,7 +259,7 @@ in buildFHSUserEnv rec {
|
|||
|
||||
${exportLDPath}
|
||||
${fixBootstrap}
|
||||
exec steam "$@"
|
||||
exec steam ${extraArgs} "$@"
|
||||
'';
|
||||
|
||||
inherit (steam) meta;
|
||||
|
|
Loading…
Reference in a new issue