From 6f451c54ff8930b4b3c91b4fb6adab3bb0aac170 Mon Sep 17 00:00:00 2001 From: Weijia Wang <9713184+wegank@users.noreply.github.com> Date: Thu, 26 Dec 2024 14:33:40 +0100 Subject: [PATCH] nas: fix build with gcc14 --- pkgs/by-name/na/nas/package.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/by-name/na/nas/package.nix b/pkgs/by-name/na/nas/package.nix index 30e359960faee..ff2ce23c8bc04 100644 --- a/pkgs/by-name/na/nas/package.nix +++ b/pkgs/by-name/na/nas/package.nix @@ -45,6 +45,12 @@ stdenv.mkDerivation (finalAttrs: { "World" ]; + env.NIX_CFLAGS_COMPILE = toString [ + "-Wno-error=implicit-function-declaration" + "-Wno-error=implicit-int" + "-Wno-error=incompatible-pointer-types" + ]; + installFlags = [ "LDLIBS=-lfl" "DESTDIR=${placeholder "out"}"