mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-26 23:54:01 +00:00
15 lines
584 B
Diff
15 lines
584 B
Diff
|
# The launcher game starts projects in a separate python process
|
||
|
# with the -E flag, which prevents the nix set PYTHONPATH envvar
|
||
|
# from taking effect, preventing the loading of pygame_sdl2
|
||
|
--- a/launcher/game/project.rpy
|
||
|
+++ b/launcher/game/project.rpy
|
||
|
@@ -239,7 +239,7 @@
|
||
|
raise Exception("Python interpreter not found: %r", executables)
|
||
|
|
||
|
# Put together the basic command line.
|
||
|
- cmd = [ executable, "-EO", sys.argv[0] ]
|
||
|
+ cmd = [ executable, "-O", sys.argv[0] ]
|
||
|
|
||
|
cmd.append(self.path)
|
||
|
cmd.extend(args)
|