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