Heroic Games Launcher: Difference between revisions

m Use term "derivation" instead of "package" when talking about overrides.
Malix (talk | contribs)
m Optional Dependencies: separation of pkgs
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
Heroic has some optional dependencies, such as [https://github.com/ValveSoftware/gamescope Gamescope] and [[GameMode|GameMode,]] that are not included in the FHS environment wrapper.  If you want to use any of these, you need to override the Heroic derivation to pass extra packages.<syntaxhighlight lang="nix">
Heroic has some optional dependencies, such as [https://github.com/ValveSoftware/gamescope Gamescope] and [[GameMode|GameMode,]] that are not included in the FHS environment wrapper.  If you want to use any of these, you need to override the Heroic derivation to pass extra packages.<syntaxhighlight lang="nix">
(heroic.override {
(heroic.override {
   extraPkgs = pkgs: [
   extraPkgs = pkgs': with pkgs'; [
     pkgs.gamescope
     gamescope
    gamemode
   ];
   ];
})
})
Line 16: Line 17:


</syntaxhighlight>See [[GameMode]] for additional setup information.
</syntaxhighlight>See [[GameMode]] for additional setup information.
[[Category:Applications]]
[[Category:Gaming]]