aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/ccache.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-11-08 21:26:51 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-11-08 21:26:51 +0200
commitda6486010ab1ac5f6c67764bb599385026b7fe15 (patch)
tree1f6b25ef71a24f471885cd7e4556aa8ffa5077a4 /gnu/packages/ccache.scm
parent00fd6895322d0b1fd774e79494cfcad721b50b8d (diff)
downloadguix-da6486010ab1ac5f6c67764bb599385026b7fe15.tar.gz
guix-da6486010ab1ac5f6c67764bb599385026b7fe15.zip
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
Diffstat (limited to 'gnu/packages/ccache.scm')
-rw-r--r--gnu/packages/ccache.scm8
1 files 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")