From a729c88f6702478ab2405bc719cb74b14d13f387 Mon Sep 17 00:00:00 2001 From: Luca Cirrottola Date: Fri, 4 Apr 2025 18:39:26 +0200 Subject: [PATCH] gnu: netcdf-cxx4, netcdf-cxx4-parallel-openmpi: Propagate netcdf. * gnu/packages/maths.scm (netcdf-cxx4)[inputs]: Move netcdf from here... [propagated-inputs]: ...to here. (netcdf-cxx4-parallel-openmpi)[propagated-inputs]: New field. Change-Id: I6d92e89f75e4e5cbf8d46be6b1ca331999606673 Signed-off-by: Andreas Enge --- gnu/packages/maths.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 6910b32dae2..11a86216aa1 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -2432,7 +2432,8 @@ sharing of scientific data.") (search-input-file %build-inputs "/lib/libhdf5.so"))))) - (inputs (list netcdf hdf5)) + (inputs (list hdf5)) + (propagated-inputs (list netcdf)) ;include/netcdf includes netcdf.h (home-page "https://github.com/Unidata/netcdf-cxx4") (synopsis "NetCDF C++ interface") (description @@ -2447,7 +2448,8 @@ scientific data storage.") (synopsis "NetCDF C++ interface (with MPI support)") (inputs (modify-inputs (package-inputs netcdf-cxx4) (prepend openmpi) - (replace "hdf5" hdf5-parallel-openmpi) + (replace "hdf5" hdf5-parallel-openmpi))) + (propagated-inputs (modify-inputs (package-propagated-inputs netcdf-cxx4) (replace "netcdf" netcdf-parallel-openmpi))))) (define-public n2p2