From 21c8422f7eaa5506557a49fc838399f26f5269d8 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 28 Aug 2016 00:04:09 +0300 Subject: [PATCH] pokerth: fix build --- pkgs/games/pokerth/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/games/pokerth/default.nix b/pkgs/games/pokerth/default.nix index 9daf98dcfb4f..e34f05402f77 100644 --- a/pkgs/games/pokerth/default.nix +++ b/pkgs/games/pokerth/default.nix @@ -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 '';