From fb482d73c85eef57154f74347f4a471e0f2bd525 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Sun, 9 Mar 2025 23:38:47 +0100 Subject: [PATCH] aprx: fix build with gcc 14 --- pkgs/by-name/ap/aprx/package.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/pkgs/by-name/ap/aprx/package.nix b/pkgs/by-name/ap/aprx/package.nix index 6981e074aeed..85185873b0ba 100644 --- a/pkgs/by-name/ap/aprx/package.nix +++ b/pkgs/by-name/ap/aprx/package.nix @@ -18,13 +18,11 @@ stdenv.mkDerivation { nativeBuildInputs = [ perl ]; - env.NIX_CFLAGS_COMPILE = toString ( - [ - "-fcommon" - "-O2" - ] - ++ lib.optional stdenv.cc.isClang "-Wno-error=implicit-int" - ); + env.NIX_CFLAGS_COMPILE = toString ([ + "-fcommon" + "-O2" + "-Wno-implicit-int" # clang, gcc 14 + ]); configureFlags = [ "--with-erlangstorage"