mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
netcdfcxx4: fix linking on Darwin
This commit is contained in:
parent
56858c2b92
commit
dfe5071b82
@ -8,6 +8,10 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "05kydd5z9iil5iv4fp7l11cicda5n5lsg5sdmsmc55xpspnsg7hr";
|
||||
};
|
||||
|
||||
configureFlags = stdenv.lib.optionals stdenv.isDarwin [
|
||||
"--without-nc-config"
|
||||
]; # prevent linking failure on Darwin
|
||||
|
||||
buildInputs = [ netcdf hdf5 curl ];
|
||||
doCheck = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user