hedgewars: fix build
This commit is contained in:
parent
d764e55a1c
commit
72d164c40d
|
@ -5,7 +5,8 @@
|
|||
|
||||
let
|
||||
ghc = ghcWithPackages (pkgs: with pkgs; [
|
||||
network vector utf8-string bytestring-show random hslogger dataenc SHA entropy zlib_0_5_4_2
|
||||
network vector utf8-string bytestring-show random hslogger
|
||||
dataenc SHA entropy zlib_0_5_4_2
|
||||
]);
|
||||
in
|
||||
stdenv.mkDerivation rec {
|
||||
|
@ -21,6 +22,10 @@ stdenv.mkDerivation rec {
|
|||
qt4 ghc ffmpeg freeglut makeWrapper physfs
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace gameServer/CMakeLists.txt --replace mask evaluate
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
export NIX_LDFLAGS="$NIX_LDFLAGS -rpath ${SDL_image}/lib
|
||||
-rpath ${SDL_mixer}/lib
|
||||
|
@ -65,7 +70,7 @@ stdenv.mkDerivation rec {
|
|||
contact with explosions, to zero (the damage dealt to the attacked
|
||||
hedgehog or hedgehogs after a player's or CPU turn is shown only when
|
||||
all movement on the battlefield has ceased).'';
|
||||
maintainers = with maintainers; [ kragniz ];
|
||||
maintainers = with maintainers; [ kragniz fpletz ];
|
||||
platforms = ghc.meta.platforms;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -15669,6 +15669,7 @@ in
|
|||
|
||||
hedgewars = callPackage ../games/hedgewars {
|
||||
inherit (haskellPackages) ghcWithPackages;
|
||||
ffmpeg = ffmpeg_2;
|
||||
};
|
||||
|
||||
hexen = callPackage ../games/hexen { };
|
||||
|
|
Loading…
Reference in a new issue