diff options
author | Nikolay Amiantov <ab@fmap.me> | 2016-08-28 00:04:09 +0300 |
---|---|---|
committer | Nikolay Amiantov <ab@fmap.me> | 2016-08-28 01:04:18 +0300 |
commit | 21c8422f7eaa5506557a49fc838399f26f5269d8 (patch) | |
tree | 075e18b30d6b277e705973ae39ecdf1aa0cf98e1 /pkgs/games/pokerth/default.nix | |
parent | 9fa012dee598ce78834f575de13d624d794f396e (diff) | |
download | nixpkgs-21c8422f7eaa5506557a49fc838399f26f5269d8.tar nixpkgs-21c8422f7eaa5506557a49fc838399f26f5269d8.tar.gz nixpkgs-21c8422f7eaa5506557a49fc838399f26f5269d8.tar.bz2 nixpkgs-21c8422f7eaa5506557a49fc838399f26f5269d8.tar.lz nixpkgs-21c8422f7eaa5506557a49fc838399f26f5269d8.tar.xz nixpkgs-21c8422f7eaa5506557a49fc838399f26f5269d8.tar.zst nixpkgs-21c8422f7eaa5506557a49fc838399f26f5269d8.zip |
pokerth: fix build
Diffstat (limited to 'pkgs/games/pokerth/default.nix')
-rw-r--r-- | pkgs/games/pokerth/default.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/games/pokerth/default.nix b/pkgs/games/pokerth/default.nix index 9daf98dcfb4..e34f05402f7 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 ''; |