@@ -5,7 +5,8 @@
55
66let
77 ghc = ghcWithPackages (pkgs: with pkgs; [
8− network vector utf8-string bytestring-show random hslogger dataenc SHA entropy zlib_0_5_4_2
8+ network vector utf8-string bytestring-show random hslogger
9+ dataenc SHA entropy zlib_0_5_4_2
910 ]);
1011in
1112stdenv.mkDerivation rec {
@@ -21,6 +22,10 @@ stdenv.mkDerivation rec {
2122 qt4 ghc ffmpeg freeglut makeWrapper physfs
2223 ];
2324
25+ postPatch = ''
26+ substituteInPlace gameServer/CMakeLists.txt --replace mask evaluate
27+ '';
28+
2429 preBuild = ''
2530 export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${SDL_image}/lib
2631 -rpath ${SDL_mixer}/lib
@@ -65,7 +70,7 @@ stdenv.mkDerivation rec {
6570 contact with explosions, to zero (the damage dealt to the attacked
6671 hedgehog or hedgehogs after a player's or CPU turn is shown only when
6772 all movement on the battlefield has ceased).'';
68− maintainers = with maintainers; [ kragniz ];
73+ maintainers = with maintainers; [ kragniz fpletz ];
6974 platforms = ghc.meta.platforms;
7075 };
7176}