renpy: disable steam

+19 -4
+16
pkgs/by-name/re/renpy/noSteam.patch
··· 1 + diff --git a/renpy/common/00steam.rpy b/renpy/common/00steam.rpy 2 + index 9a5f9c405..68c8c26e0 100644 3 + --- a/renpy/common/00steam.rpy 4 + +++ b/renpy/common/00steam.rpy 5 + @@ -1029,11 +1029,6 @@ init -1499 python in achievement: 6 + steam = None 7 + steamapi = None 8 + 9 + - if renpy.windows or renpy.macintosh or renpy.linux: 10 + - steam_preinit() 11 + - steam_init() 12 + - 13 + - 14 + init 1500 python in achievement: 15 + 16 + # Steam position.
+3 -4
pkgs/by-name/re/renpy/package.nix
··· 16 16 zlib, 17 17 harfbuzz, 18 18 makeWrapper, 19 + withoutSteam ? true, 19 20 }: 20 21 21 22 let ··· 90 91 patches = [ 91 92 ./shutup-erofs-errors.patch 92 93 ./5687.patch 93 - ]; 94 + ] ++ lib.optional withoutSteam ./noSteam.patch; 94 95 95 96 postPatch = '' 96 97 cp tutorial/game/tutorial_director.rpy{m,} ··· 136 137 maintainers = with lib.maintainers; [ shadowrz ]; 137 138 }; 138 139 139 - passthru = { 140 - inherit base_version vc_version; 141 - }; 140 + passthru = { inherit base_version vc_version; }; 142 141 }