the-powder-toy: 90.2.322 -> 91.3.328
This commit is contained in:
parent
268ae334d9
commit
a51da70189
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat }:
|
{ stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat }:
|
||||||
|
|
||||||
let version = "90.2.322";
|
let version = "91.3.328";
|
||||||
in
|
in
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "the-powder-toy-${version}";
|
name = "the-powder-toy-${version}";
|
||||||
@ -8,7 +8,7 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "simtr";
|
owner = "simtr";
|
||||||
repo = "The-Powder-Toy";
|
repo = "The-Powder-Toy";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "1rlxnk8icymalnr3j4bgpklq1dhhs0rpsyjx97isqqcwm2ys03q3";
|
sha256 = "0krg4d2m8cnfabm5qq7wr1y53h21i49xjcggzg98xjd0972zvfrk";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./fix-env.patch ];
|
patches = [ ./fix-env.patch ];
|
||||||
|
@ -1,16 +1,11 @@
|
|||||||
diff --git a/SConscript b/SConscript
|
|
||||||
index fd08935..4d879b2 100644
|
|
||||||
--- a/SConscript
|
--- a/SConscript
|
||||||
+++ b/SConscript
|
+++ b/SConscript
|
||||||
@@ -93,9 +93,9 @@ if msvc and platform != "Windows":
|
@@ -99,7 +99,7 @@
|
||||||
|
elif platform == "Windows" and not GetOption('msvc'):
|
||||||
#Create SCons Environment
|
env = Environment(tools=['mingw'], ENV={'PATH' : os.environ['PATH']})
|
||||||
if platform == "Windows" and not GetOption('msvc'):
|
else:
|
||||||
- env = Environment(tools = ['mingw'], ENV = {'PATH' : os.environ['PATH']})
|
- env = Environment(tools=['default'], ENV={'PATH' : os.environ['PATH']})
|
||||||
+ env = Environment(tools = ['mingw'], ENV = os.environ)
|
+ env = Environment(tools=['default'], ENV = os.environ)
|
||||||
else:
|
|
||||||
- env = Environment(tools = ['default'], ENV = {'PATH' : os.environ['PATH']})
|
#attempt to automatically find cross compiler
|
||||||
+ env = Environment(tools = ['default'], ENV = os.environ)
|
if not tool and compilePlatform == "Linux" and compilePlatform != platform:
|
||||||
|
|
||||||
#attempt to automatically find cross compiler
|
|
||||||
if not tool and compilePlatform == "Linux" and compilePlatform != platform:
|
|
||||||
|
Loading…
Reference in New Issue
Block a user