Skip to content

Commit

Permalink
xivlauncher: Fix GameMode not being detected
Browse files Browse the repository at this point in the history
  • Loading branch information
drakon64 committed Mar 30, 2024
1 parent def9bae commit c1700de
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/by-name/xi/xivlauncher/package.nix
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{ lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages, SDL2, libsecret, glib, gnutls, aria2, steam, gst_all_1
{ lib, buildDotnetModule, fetchFromGitHub, dotnetCorePackages, SDL2, libsecret, glib, gnutls, aria2, steam, gst_all_1, gamemode
, copyDesktopItems, makeDesktopItem, makeWrapper
, useSteamRun ? true }:
, useSteamRun ? true
, useGameMode ? false }:

let
rev = "1.0.8";
Expand Down Expand Up @@ -41,7 +42,7 @@ in

postFixup = lib.optionalString useSteamRun (let
steam-run = (steam.override {
extraPkgs = pkgs: [ pkgs.libunwind ];
extraPkgs = pkgs: [ pkgs.libunwind ] ++ lib.optional useGameMode gamemode;
extraProfile = ''
unset TZ
'';
Expand Down

0 comments on commit c1700de

Please sign in to comment.