From d77b0fc315bc11fda969a88706ed2da304948b2d Mon Sep 17 00:00:00 2001 From: marius david Date: Wed, 11 May 2022 11:33:18 +0200 Subject: [PATCH] azimuth: fix compilation --- pkgs/games/azimuth/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/games/azimuth/default.nix b/pkgs/games/azimuth/default.nix index dcc67533fac1..301fa231122d 100644 --- a/pkgs/games/azimuth/default.nix +++ b/pkgs/games/azimuth/default.nix @@ -14,8 +14,9 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ which ]; buildInputs = [ SDL ]; + NIX_CFLAGS_COMPILE = [ "-Wno-error=maybe-uninitialized" ]; + preConfigure = '' - cat Makefile substituteInPlace data/azimuth.desktop \ --replace Exec=azimuth "Exec=$out/bin/azimuth" \ --replace "Version=%AZ_VERSION_NUMBER" "Version=${version}"