taisei: fix gamemode support

Gliczy c07dda56 aadacfb3

+7
+7
pkgs/by-name/ta/taisei/package.nix
··· 12 openssl, 13 gamemode, 14 shaderc, 15 # Runtime depends 16 glfw, 17 sdl3, ··· 47 python3Packages.python 48 python3Packages.zstandard 49 shaderc 50 ]; 51 52 buildInputs = [ ··· 79 80 preConfigure = '' 81 patchShebangs . 82 ''; 83 84 strictDeps = true;
··· 12 openssl, 13 gamemode, 14 shaderc, 15 + makeWrapper, 16 # Runtime depends 17 glfw, 18 sdl3, ··· 48 python3Packages.python 49 python3Packages.zstandard 50 shaderc 51 + makeWrapper 52 ]; 53 54 buildInputs = [ ··· 81 82 preConfigure = '' 83 patchShebangs . 84 + ''; 85 + 86 + postInstall = lib.optionalString gamemodeSupport '' 87 + wrapProgram $out/bin/taisei \ 88 + --set LD_LIBRARY_PATH ${lib.makeLibraryPath [ gamemode ]} 89 ''; 90 91 strictDeps = true;