Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / interpreters / renpy / launcherenv.patch
blob85a6c6439b9c003afc716712b8e1830a8706a959
1 # The launcher game starts projects in a separate python process
2 # with the -E flag, which prevents the nix set PYTHONPATH envvar
3 # from taking effect, preventing the loading of pygame_sdl2
4 --- a/launcher/game/project.rpy
5 +++ b/launcher/game/project.rpy
6 @@ -239,7 +239,7 @@
7 raise Exception("Python interpreter not found: %r", executables)
9 # Put together the basic command line.
10 - cmd = [ executable, "-EO", sys.argv[0] ]
11 + cmd = [ executable, "-O", sys.argv[0] ]
13 cmd.append(self.path)
14 cmd.extend(args)