ncview: fix build with gcc 15 (#518046)

This commit is contained in:
Peder Bergebakken Sundt
2026-05-08 17:23:02 +00:00
committed by GitHub
+3
View File
@@ -40,6 +40,9 @@ stdenv.mkDerivation (finalAttrs: {
libxt
];
# K&R-style declarations break under gcc 15's C23 default.
env.NIX_CFLAGS_COMPILE = "-std=gnu17";
meta = {
description = "Visual browser for netCDF format files";
homepage = "http://meteora.ucsd.edu/~pierce/ncview_home_page.html";