phpExtensions.bcmath: fix Darwin build by setting -std=gnu17

Refs: https://github.com/NixOS/nixpkgs/issues/511329
This commit is contained in:
FlameFlag
2026-04-19 20:05:47 +03:00
parent 2d82734971
commit 8622694e99
+4 -1
View File
@@ -417,7 +417,10 @@ lib.makeScope pkgs.newScope (
#
# These will be passed as arguments to mkExtension above.
extensionData = [
{ name = "bcmath"; }
{
name = "bcmath";
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
}
{
name = "bz2";
buildInputs = [ bzip2 ];