geos: fix build for darwin
This commit is contained in:
parent
96179461c8
commit
2ece1844d8
@ -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) [
|
||||
|
Loading…
Reference in New Issue
Block a user