From a846cde45365799b1fd83eafaee57c03a92d89bc Mon Sep 17 00:00:00 2001 From: Flaviu Tamas Date: Sat, 11 Jul 2026 14:43:12 -0400 Subject: [PATCH] gdalMinimal: skip test_zarr_read_simple_sharding This test asserts that a Zarr tile-presence cache (zarr.json.gmac) is written when opening a sharded array with CACHE_TILE_PRESENCE=YES. That cache is serialized via the netCDF driver, which is disabled in the minimal build, so the file is never created and the test fails. The sibling test_zarr_cache_tile_presence is already gated on netCDF upstream; this one was missed. Fixes #540609 Assisted-by: Claude Opus 4.8 --- pkgs/by-name/gd/gdal/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/by-name/gd/gdal/package.nix b/pkgs/by-name/gd/gdal/package.nix index 7f9c9f1684d1..5e537209a2a7 100644 --- a/pkgs/by-name/gd/gdal/package.nix +++ b/pkgs/by-name/gd/gdal/package.nix @@ -309,6 +309,11 @@ stdenv.mkDerivation (finalAttrs: { ] ++ lib.optionals (!usePoppler) [ "test_pdf_jpx_compression" + ] + ++ lib.optionals (!useNetCDF) [ + # writes the Zarr tile-presence cache (.gmac) via the netCDF driver, which + # is absent in the minimal build + "test_zarr_read_simple_sharding" ]; postCheck = '' popd # autotest