From 7f2713dcb9518cd93b2892aee9aa84e7552e6029 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Thu, 2 Jan 2025 15:32:12 +0100 Subject: [PATCH] fairymax: fix build with GCC 14 --- pkgs/by-name/fa/fairymax/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/fa/fairymax/package.nix b/pkgs/by-name/fa/fairymax/package.nix index 5950e0b3591f1..572d5505c20d9 100644 --- a/pkgs/by-name/fa/fairymax/package.nix +++ b/pkgs/by-name/fa/fairymax/package.nix @@ -29,6 +29,9 @@ stdenv.mkDerivation rec { -DINI_FILE='"'"$out/share/fairymax/fmax.ini"'"' ''; + # errors by default in GCC 14 + NIX_CFLAGS_COMPILE = "-Wno-error=return-mismatch -Wno-error=implicit-int"; + installPhase = '' mkdir -p "$out"/{bin,share/fairymax} cp fairymax "$out/bin"