forked from mirrors/nixpkgs
pokerth: fix build
This commit is contained in:
parent
9fa012dee5
commit
21c8422f7e
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue