From 988e5793e6abe295c70cc5bc471b29ef86194bb8 Mon Sep 17 00:00:00 2001 From: Nikolay Korotkiy Date: Sat, 17 Sep 2022 22:11:00 +0300 Subject: [PATCH] librttopo: fix cross-compilation --- pkgs/development/libraries/librttopo/default.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/librttopo/default.nix b/pkgs/development/libraries/librttopo/default.nix index d349278d5f5d..690417c3e730 100644 --- a/pkgs/development/libraries/librttopo/default.nix +++ b/pkgs/development/libraries/librttopo/default.nix @@ -2,6 +2,7 @@ , stdenv , fetchFromGitea , autoreconfHook +, validatePkgConfig , geos }: @@ -19,14 +20,21 @@ stdenv.mkDerivation rec { sha256 = "0h7lzlkn9g4xky6h81ndy0aa6dxz8wb6rnl8v3987jy1i6pr072p"; }; - nativeBuildInputs = [ autoreconfHook ]; + nativeBuildInputs = [ + autoreconfHook + validatePkgConfig + geos # for geos-config + ]; buildInputs = [ geos ]; + enableParallelBuilding = true; + meta = with lib; { description = "RT Topology Library"; homepage = "https://git.osgeo.org/gitea/rttopo/librttopo"; license = licenses.gpl2Plus; maintainers = with maintainers; [ dotlambda ]; + platforms = platforms.unix; }; }