From 6aa648f8d6f8bc59781beacd0a84f2c640f6e005 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 20 Jul 2022 14:55:35 +0300 Subject: gnu: diffoscope: Only build with fpc on supported architectures. * gnu/packages/diffoscope.scm (diffoscope)[native-inputs]: Only add fpc on x86_64-linux or i686-linux. --- gnu/packages/diffoscope.scm | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'gnu/packages/diffoscope.scm') diff --git a/gnu/packages/diffoscope.scm b/gnu/packages/diffoscope.scm index 4b5f7a1030..2dc3cfad0f 100644 --- a/gnu/packages/diffoscope.scm +++ b/gnu/packages/diffoscope.scm @@ -5,6 +5,7 @@ ;;; Copyright © 2018 Julien Lepiller ;;; Copyright © 2018, 2019 Rutger Helling ;;; Copyright © 2019 Vagrant Cascadian +;;; Copyright © 2022 Efraim Flashner ;;; ;;; This file is part of GNU Guix. ;;; @@ -176,10 +177,15 @@ ;; XXX: Must be the same version as python-magic uses; ;; remove when 'file' is updated. - file-next + file-next) - fpc - gettext-minimal + (match (%current-system) + ;; fpc is only available on x86 currently. + ((or "x86_64-linux" "i686-linux") + (list fpc)) + (_ '())) + + (list gettext-minimal ghostscript `(,giflib "bin") gnumeric -- cgit v1.2.3