From fa5f8ef65760c0d6186ccdbb29e65e5df9659e73 Mon Sep 17 00:00:00 2001 From: FliegendeWurst Date: Mon, 13 Jan 2025 12:38:31 +0100 Subject: [PATCH] gtkradiant: fix GCC 14 build --- pkgs/by-name/gt/gtkradiant/package.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/by-name/gt/gtkradiant/package.nix b/pkgs/by-name/gt/gtkradiant/package.nix index 009c9c416e934..9a7c543b11671 100644 --- a/pkgs/by-name/gt/gtkradiant/package.nix +++ b/pkgs/by-name/gt/gtkradiant/package.nix @@ -234,6 +234,9 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; + # GCC 14 makes these errors by default + env.NIX_CFLAGS_COMPILE = "-Wno-error=incompatible-pointer-types -Wno-error=implicit-function-declaration -Wno-error=int-conversion"; + desktopItems = [ (makeDesktopItem { name = "gtkradiant";