summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Kaufmann <timokau@zoho.com>2020-09-03 15:39:38 +0200
committerTimo Kaufmann <timokau@zoho.com>2020-09-03 18:44:40 +0200
commitbaf51e4600bf14237c376ed3223174d9186af5af (patch)
tree9c6218430ba2598b3613a936fe5a9ee976cc9fbd
parentc25a7cd8468eeeed82d7444855c10552ab3452ba (diff)
hedgewars: fix build on aarch64
Possible now that fpc works on aarch64. For some reason hedgewars requires llvm when building on that platform.
-rw-r--r--pkgs/games/hedgewars/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/games/hedgewars/default.nix b/pkgs/games/hedgewars/default.nix
index adc6506c6157..228c6c364102 100644
--- a/pkgs/games/hedgewars/default.nix
+++ b/pkgs/games/hedgewars/default.nix
@@ -2,6 +2,7 @@
, lib, fetchurl, cmake, pkgconfig, lua5_1, SDL2, SDL2_mixer
, zlib, libpng, libGL, libGLU, physfs
, qtbase, qttools
+, llvm
, withServer ? true
}:
@@ -27,6 +28,7 @@ mkDerivation rec {
buildInputs = [
SDL2_ttf SDL2_net SDL2 SDL2_mixer SDL2_image
fpc lua5_1
+ llvm # hard-requirement on aarch64, for some reason not strictly necessary on x86-64
ffmpeg_3 freeglut physfs
qtbase
] ++ lib.optional withServer ghc;