nixpkgs-suyu/pkgs/games/the-powder-toy/fix-env.patch

12 lines
443 B
Diff
Raw Normal View History

2015-04-08 00:44:39 +02:00
--- a/SConscript
+++ b/SConscript
2016-04-25 15:15:44 +02:00
@@ -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: