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

17 lines
650 B
Diff
Raw Normal View History

2015-04-07 23:44:39 +01:00
diff --git a/SConscript b/SConscript
index fd08935..4d879b2 100644
--- a/SConscript
+++ b/SConscript
@@ -93,9 +93,9 @@ if msvc and platform != "Windows":
#Create SCons Environment
if platform == "Windows" and not GetOption('msvc'):
- env = Environment(tools = ['mingw'], ENV = {'PATH' : os.environ['PATH']})
+ env = Environment(tools = ['mingw'], ENV = os.environ)
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: