about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/the-powder-toy/fix-env.patch
blob: b09fd4dcbe9c77453fc705cebcd2ddcec1a9e645 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- 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: