From 388bc58b7f572e6e9f94541d496764d69a037bbd Mon Sep 17 00:00:00 2001 From: polygon Date: Thu, 3 Jun 2021 16:36:26 +0200 Subject: [PATCH] liquidwar: fix build (#125480) Co-authored-by: Sandro --- pkgs/games/liquidwar/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/games/liquidwar/default.nix b/pkgs/games/liquidwar/default.nix index 09ddcb0346c8..827c7d696c77 100644 --- a/pkgs/games/liquidwar/default.nix +++ b/pkgs/games/liquidwar/default.nix @@ -3,7 +3,8 @@ , expat, gettext, perl, guile , SDL, SDL_image, SDL_mixer, SDL_ttf , curl, sqlite, libtool, readline -, libogg, libvorbis, libcaca, csound, cunit } : +, libogg, libvorbis, libcaca, csound, cunit +, pkg-config }: stdenv.mkDerivation rec { pname = "liquidwar6"; @@ -25,6 +26,8 @@ stdenv.mkDerivation rec { libtool readline ]; + nativeBuildInputs = [ pkg-config ]; + hardeningDisable = [ "format" ]; NIX_CFLAGS_COMPILE =