netcdf: fix and enable strictDeps = true (#360690)

This commit is contained in:
Aleksana 2024-12-03 20:24:53 +08:00 committed by GitHub
commit 510184797b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -36,7 +36,11 @@ in stdenv.mkDerivation rec {
--replace '#!/bin/bash' '${stdenv.shell}'
'';
nativeBuildInputs = [ m4 removeReferencesTo ];
nativeBuildInputs = [
m4
removeReferencesTo
libxml2 # xml2-config
];
buildInputs = [
curl
@ -48,6 +52,8 @@ in stdenv.mkDerivation rec {
zstd
] ++ lib.optional szipSupport szip;
strictDeps = true;
passthru = {
inherit mpiSupport mpi;
};