From 2ece1844d8c8206c492958a471ea948900657077 Mon Sep 17 00:00:00 2001 From: Sigmanificient Date: Mon, 13 May 2024 17:13:48 +0200 Subject: [PATCH] geos: fix build for darwin --- pkgs/development/libraries/geos/default.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/geos/default.nix b/pkgs/development/libraries/geos/default.nix index e24f519d1cc3..38de27740300 100644 --- a/pkgs/development/libraries/geos/default.nix +++ b/pkgs/development/libraries/geos/default.nix @@ -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) [