From baf51e4600bf14237c376ed3223174d9186af5af Mon Sep 17 00:00:00 2001 From: Timo Kaufmann Date: Thu, 3 Sep 2020 15:39:38 +0200 Subject: [PATCH] hedgewars: fix build on aarch64 Possible now that fpc works on aarch64. For some reason hedgewars requires llvm when building on that platform. --- pkgs/games/hedgewars/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/games/hedgewars/default.nix b/pkgs/games/hedgewars/default.nix index adc6506c615..228c6c36410 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;