From ead3fdce674b6182b2e44454e465b90d8677de9a Mon Sep 17 00:00:00 2001 From: Ralph Seichter Date: Sat, 25 Apr 2026 01:31:26 +0200 Subject: [PATCH] dante: Add CFLAGS config Address #511329 (Darwin regressions from autoconf update) --- pkgs/by-name/da/dante/package.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pkgs/by-name/da/dante/package.nix b/pkgs/by-name/da/dante/package.nix index bf0d9fe10c0e..0f37ff5760b2 100644 --- a/pkgs/by-name/da/dante/package.nix +++ b/pkgs/by-name/da/dante/package.nix @@ -37,7 +37,10 @@ stdenv.mkDerivation (finalAttrs: { if !stdenv.hostPlatform.isDarwin then [ "--with-libc=libc.so.6" ] else - [ "--with-libc=libc${stdenv.hostPlatform.extensions.sharedLibrary}" ]; + [ + "--with-libc=libc${stdenv.hostPlatform.extensions.sharedLibrary}" + "CFLAGS=-std=gnu17" + ]; dontAddDisableDepTrack = stdenv.hostPlatform.isDarwin;