mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-25 04:12:44 +03:00
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 New Issue
Block a user