mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 16:03:23 +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";
|
sha256 = "05kydd5z9iil5iv4fp7l11cicda5n5lsg5sdmsmc55xpspnsg7hr";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
configureFlags = stdenv.lib.optionals stdenv.isDarwin [
|
||||||
|
"--without-nc-config"
|
||||||
|
]; # prevent linking failure on Darwin
|
||||||
|
|
||||||
buildInputs = [ netcdf hdf5 curl ];
|
buildInputs = [ netcdf hdf5 curl ];
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user