diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-04-25 18:43:48 +0400 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-04-25 18:43:48 +0400 |
commit | 559a56320875a50950c4f789e199203aa1b7cd76 (patch) | |
tree | d2177b0fc688c61b36334fff764a340e0e75f8e3 /pkgs/games | |
parent | 1c9234fd6cbd1cd674bed069b2e7190d52e5447f (diff) | |
parent | a51da701890fea2d41b58ec1c7142225060f6775 (diff) | |
download | nixpkgs-559a56320875a50950c4f789e199203aa1b7cd76.tar nixpkgs-559a56320875a50950c4f789e199203aa1b7cd76.tar.gz nixpkgs-559a56320875a50950c4f789e199203aa1b7cd76.tar.bz2 nixpkgs-559a56320875a50950c4f789e199203aa1b7cd76.tar.lz nixpkgs-559a56320875a50950c4f789e199203aa1b7cd76.tar.xz nixpkgs-559a56320875a50950c4f789e199203aa1b7cd76.tar.zst nixpkgs-559a56320875a50950c4f789e199203aa1b7cd76.zip |
Merge pull request #14971 from rardiol/the-powder-toy
the-powder-toy: 90.2.322 -> 91.3.328
Diffstat (limited to 'pkgs/games')
-rw-r--r-- | pkgs/games/the-powder-toy/default.nix | 4 | ||||
-rw-r--r-- | pkgs/games/the-powder-toy/fix-env.patch | 23 |
2 files changed, 11 insertions, 16 deletions
diff --git a/pkgs/games/the-powder-toy/default.nix b/pkgs/games/the-powder-toy/default.nix index f79d31c7c5c..14f05f8f1a8 100644 --- a/pkgs/games/the-powder-toy/default.nix +++ b/pkgs/games/the-powder-toy/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat }: -let version = "90.2.322"; +let version = "91.3.328"; in stdenv.mkDerivation rec { name = "the-powder-toy-${version}"; @@ -8,7 +8,7 @@ stdenv.mkDerivation rec { owner = "simtr"; repo = "The-Powder-Toy"; rev = "v${version}"; - sha256 = "1rlxnk8icymalnr3j4bgpklq1dhhs0rpsyjx97isqqcwm2ys03q3"; + sha256 = "0krg4d2m8cnfabm5qq7wr1y53h21i49xjcggzg98xjd0972zvfrk"; }; patches = [ ./fix-env.patch ]; diff --git a/pkgs/games/the-powder-toy/fix-env.patch b/pkgs/games/the-powder-toy/fix-env.patch index 79d2bb2a2e0..b09fd4dcbe9 100644 --- a/pkgs/games/the-powder-toy/fix-env.patch +++ b/pkgs/games/the-powder-toy/fix-env.patch @@ -1,16 +1,11 @@ -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: +@@ -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: |