about summary refs log tree commit diff
path: root/nixpkgs/pkgs/games/the-powder-toy/fix-env.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/games/the-powder-toy/fix-env.patch')
-rw-r--r--nixpkgs/pkgs/games/the-powder-toy/fix-env.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/games/the-powder-toy/fix-env.patch b/nixpkgs/pkgs/games/the-powder-toy/fix-env.patch
new file mode 100644
index 000000000000..b09fd4dcbe9c
--- /dev/null
+++ b/nixpkgs/pkgs/games/the-powder-toy/fix-env.patch
@@ -0,0 +1,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: