From dc9a868cc1444e953336af188bff8a5fe180883d Mon Sep 17 00:00:00 2001 From: Tobias Mayer Date: Thu, 6 Feb 2025 09:26:15 +0100 Subject: [PATCH] spatialite_tools: fix build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: GaƩtan Lepage <33058747+GaetanLepage@users.noreply.github.com> --- pkgs/by-name/sp/spatialite_tools/package.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/by-name/sp/spatialite_tools/package.nix b/pkgs/by-name/sp/spatialite_tools/package.nix index ab23d29b8416..03deae8f639c 100644 --- a/pkgs/by-name/sp/spatialite_tools/package.nix +++ b/pkgs/by-name/sp/spatialite_tools/package.nix @@ -43,6 +43,13 @@ stdenv.mkDerivation rec { sqlite ]; + env = { + NIX_LDFLAGS = toString [ + "-lxml2" + (lib.optionalString stdenv.hostPlatform.isDarwin "-liconv") + ]; + }; + enableParallelBuilding = true; passthru.tests.version = testers.testVersion {