Heroic Games Launcher: Difference between revisions
→Optional Dependencies: enhance: snippet |
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 | ||