guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: diffoscope: Only build with fpc on supported


From: guix-commits
Subject: branch master updated: gnu: diffoscope: Only build with fpc on supported architectures.
Date: Wed, 20 Jul 2022 10:02:17 -0400

This is an automated email from the git hooks/post-receive script.

efraim pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 6aa648f8d6 gnu: diffoscope: Only build with fpc on supported 
architectures.
6aa648f8d6 is described below

commit 6aa648f8d6f8bc59781beacd0a84f2c640f6e005
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Jul 20 14:55:35 2022 +0300

    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(-)

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 <julien@lepiller.eu>
 ;;; Copyright © 2018, 2019 Rutger Helling <rhelling@mykolab.com>
 ;;; Copyright © 2019 Vagrant Cascadian <vagrant@reproducible-builds.org>
+;;; Copyright © 2022 Efraim Flashner <efraim@flashner.co.il>
 ;;;
 ;;; 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]