Merge pull request #311395 from Sigmanificient/geos

geos: fix build for darwin
This commit is contained in:
rewine
2024-05-14 14:07:34 +08:00
committed by GitHub
+2 -1
View File
@@ -3,7 +3,7 @@
, callPackage
, fetchurl
, testers
, ngspice
, cmake
}:
@@ -17,6 +17,7 @@ stdenv.mkDerivation (finalAttrs: {
};
nativeBuildInputs = [ cmake ];
buildInputs = lib.optionals stdenv.isDarwin [ ngspice ];
# https://github.com/libgeos/geos/issues/930
cmakeFlags = lib.optionals (stdenv.isDarwin && stdenv.isx86_64) [