geos: fix build for darwin

This commit is contained in:
Sigmanificient 2024-05-13 17:13:48 +02:00
parent 96179461c8
commit 2ece1844d8

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) [