nixpkgs-suyu/pkgs/games/the-powder-toy/fix-env.patch
2016-04-25 10:15:44 -03:00

11 lines
443 B
Diff

--- a/SConscript
+++ b/SConscript
@@ -99,7 +99,7 @@
elif platform == "Windows" and not GetOption('msvc'):
env = Environment(tools=['mingw'], ENV={'PATH' : os.environ['PATH']})
else:
- env = Environment(tools=['default'], ENV={'PATH' : os.environ['PATH']})
+ env = Environment(tools=['default'], ENV = os.environ)
#attempt to automatically find cross compiler
if not tool and compilePlatform == "Linux" and compilePlatform != platform: