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

12 lines
443 B
Diff
Raw Normal View History

2015-04-07 22:44:39 +00:00
--- a/SConscript
+++ b/SConscript
2016-04-25 13:15:44 +00: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: