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
1
-
{ stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat }:
1
1
+
{ stdenv, fetchFromGitHub, scons, pkgconfig, SDL, lua, fftwFloat, zlib, bzip2 }:
2
2
3
3
stdenv.mkDerivation rec {
4
4
name = "the-powder-toy-${version}";
···
13
13
14
14
patches = [ ./fix-env.patch ];
15
15
16
16
+
postPatch = ''
17
17
+
sed -i 's,lua5.1,lua,g' SConscript
18
18
+
'';
19
19
+
16
20
nativeBuildInputs = [ scons pkgconfig ];
17
21
18
18
-
buildInputs = [ SDL lua fftwFloat ];
22
22
+
buildInputs = [ SDL lua fftwFloat zlib bzip2 ];
19
23
20
24
buildPhase = "scons DESTDIR=$out/bin --tool='' -j$NIX_BUILD_CORES";
21
25