From 0b2d33af03a7bfca0b58dcd5c8d551eb6927cf6b Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Tue, 13 Jun 2023 09:09:08 +0300 Subject: gnu: qgis: Allow building on more architectures. * gnu/packages/geo.scm (qgis)[native-inputs]: Only build with shellcheck on supported platforms. --- gnu/packages/geo.scm | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) (limited to 'gnu/packages') diff --git a/gnu/packages/geo.scm b/gnu/packages/geo.scm index 6ad3c87ff1..65344bcac2 100644 --- a/gnu/packages/geo.scm +++ b/gnu/packages/geo.scm @@ -2786,17 +2786,20 @@ growing set of geoscientific methods.") sqlite (list zstd "lib"))) (native-inputs - (list bison - flex - perl - perl-yaml-tiny - pkg-config - python-mock - python-nose2 - python-pyqt-builder - qttools-5 - shellcheck - xorg-server-for-tests)) + (append + (list bison + flex + perl + perl-yaml-tiny + pkg-config + python-mock + python-nose2 + python-pyqt-builder + qttools-5) + (if (supported-package? shellcheck) + (list shellcheck) + '()) + (list xorg-server-for-tests))) (home-page "https://qgis.org") (synopsis "Geographical information system") (description "QGIS is an easy to use Geographical Information -- cgit v1.2.3