git.iko.soy/typeable/nixpkgs
on master help sign in
hedgewars: fix build
commit72d164c40da88078bdf9c788bcd1dd173ab5dcff authorFranz Pletz <fpletz@fnordicwalking.de> dateSat 6 Aug 2016, 19:20 (10 years ago) parentd764e55
2 files changed+8−2
pkgs/games/hedgewars/default.nix+7−2 pkgs/top-level/all-packages.nix+1
pkgs/games/hedgewars/default.nix+7−2
@@ -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}
pkgs/top-level/all-packages.nix+1
@@ -15669,6 +15669,7 @@ in
1566915669
1567015670 hedgewars = callPackage ../games/hedgewars {
1567115671 inherit (haskellPackages) ghcWithPackages;
15672+ ffmpeg = ffmpeg_2;
1567215673 };
1567315674
1567415675 hexen = callPackage ../games/hexen { };