Heroic Games Launcher: Difference between revisions

Malix (talk | contribs)
Optional Dependencies: enhance: snippet
Malix (talk | contribs)
m Optional Dependencies: separation of pkgs
 
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: with pkgs; [
   extraPkgs = pkgs': with pkgs'; [
     gamescope
     gamescope
     gamemode
     gamemode