[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/04: gnu: ccache: Enable building on more architectures.
From: |
guix-commits |
Subject: |
01/04: gnu: ccache: Enable building on more architectures. |
Date: |
Wed, 8 Nov 2023 15:16:14 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit da6486010ab1ac5f6c67764bb599385026b7fe15
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 8 21:26:51 2023 +0200
gnu: ccache: Enable building on more architectures.
* gnu/packages/ccache.scm (ccache)[native-inputs]: Only build with
ruby-asciidoctor on platforms which have support for it.
Change-Id: Ibb944fb6f844e3ededadd5277e20dd9ac21eb3eb
---
gnu/packages/ccache.scm | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/ccache.scm b/gnu/packages/ccache.scm
index 26a71f40ef..a1af25df2b 100644
--- a/gnu/packages/ccache.scm
+++ b/gnu/packages/ccache.scm
@@ -1,6 +1,6 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2014, 2015, 2016, 2018 Eric Bavier <bavier@member.fsf.org>
-;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2016, 2017, 2023 Efraim Flashner <efraim@flashner.co.il>
;;; Copyright © 2018–2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2021, 2022 Greg Hogan <code@greghogan.com>
;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
@@ -62,7 +62,11 @@
;; Tests require a writable HOME.
(lambda _
(setenv "HOME" (getenv "TMPDIR")))))))
- (native-inputs (list perl ruby-asciidoctor which))
+ (native-inputs
+ (append (list perl which)
+ (if (supported-package? ruby-asciidoctor)
+ (list ruby-asciidoctor)
+ '())))
(inputs (list zlib `(,zstd "lib")))
(home-page "https://ccache.dev/")
(synopsis "Compiler cache")