3
0
Fork 0
forked from mirrors/nixpkgs

pokerth: fix build

This commit is contained in:
Nikolay Amiantov 2016-08-28 00:04:09 +03:00
parent 9fa012dee5
commit 21c8422f7e

View file

@ -19,6 +19,8 @@ in stdenv.mkDerivation rec {
qmakeFlags = [ "pokerth.pro" ];
NIX_CFLAGS_COMPILE = [ "-I${SDL.dev}/include/SDL" ];
postPatch = ''
for f in connectivity.pro load.pro pokerth_game.pro pokerth_server.pro
do
@ -27,6 +29,8 @@ in stdenv.mkDerivation rec {
done
'';
enableParallelBuilding = true;
postInstall = ''
install -D -m755 bin/pokerth_server $server/bin/pokerth_server
'';