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

12 lines
443 B
Diff
Raw Normal View History

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