From 6123056e1840d9d56d7d8723ecd30eeb3df11675 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Mon, 27 Feb 2023 20:32:04 +0000 Subject: [PATCH] netcdf-cxx4: during tests, use netcdf's installed plugins --- pkgs/development/libraries/netcdf-cxx4/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/netcdf-cxx4/default.nix b/pkgs/development/libraries/netcdf-cxx4/default.nix index 82d0e8c132d0..3eed199a641e 100644 --- a/pkgs/development/libraries/netcdf-cxx4/default.nix +++ b/pkgs/development/libraries/netcdf-cxx4/default.nix @@ -21,6 +21,9 @@ stdenv.mkDerivation rec { # Setting Filter....Caught unexpected exception. doCheck = false; enableParallelChecking = false; + preCheck = '' + export HDF5_PLUGIN_PATH=${netcdf}/lib/hdf5-plugins + ''; meta = { description = "C++ API to manipulate netcdf files";