tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
the-powder-toy: fix build
Nikolay Amiantov
9 years ago
afdce0e3
5041e0ee
+6
-2
1 changed file
expand all
collapse all
unified
split
pkgs
games
the-powder-toy
default.nix
+6
-2
pkgs/games/the-powder-toy/default.nix
···
1
-
{ stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat }:
2
3
stdenv.mkDerivation rec {
4
name = "the-powder-toy-${version}";
···
13
14
patches = [ ./fix-env.patch ];
15
0
0
0
0
16
nativeBuildInputs = [ scons pkgconfig ];
17
18
-
buildInputs = [ SDL lua fftwFloat ];
19
20
buildPhase = "scons DESTDIR=$out/bin --tool='' -j$NIX_BUILD_CORES";
21
···
1
+
{ stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat, zlib, bzip2 }:
2
3
stdenv.mkDerivation rec {
4
name = "the-powder-toy-${version}";
···
13
14
patches = [ ./fix-env.patch ];
15
16
+
postPatch = ''
17
+
sed -i 's,lua5.1,lua,g' SConscript
18
+
'';
19
+
20
nativeBuildInputs = [ scons pkgconfig ];
21
22
+
buildInputs = [ SDL lua fftwFloat zlib bzip2 ];
23
24
buildPhase = "scons DESTDIR=$out/bin --tool='' -j$NIX_BUILD_CORES";
25