diff --git a/pkgs/by-name/wd/wdfs/package.nix b/pkgs/by-name/wd/wdfs/package.nix index 5afcb7de209e..073acd4ac0b2 100644 --- a/pkgs/by-name/wd/wdfs/package.nix +++ b/pkgs/by-name/wd/wdfs/package.nix @@ -27,6 +27,11 @@ stdenv.mkDerivation (finalAttrs: { neon ]; + # autoconf 2.72 sets the C standard to C23 but not all compilers are ready for that + configureFlags = [ + "CFLAGS=-std=gnu17" + ]; + postPatch = lib.optionalString stdenv.hostPlatform.isDarwin '' # Fix the build on macOS with macFUSE installed. Needs autoreconfHook to # take effect.