[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/08: gnu: dtc: Don't depend unconditionally on valgrind.
From: |
guix-commits |
Subject: |
08/08: gnu: dtc: Don't depend unconditionally on valgrind. |
Date: |
Mon, 28 Feb 2022 07:12:38 -0500 (EST) |
efraim pushed a commit to branch master
in repository guix.
commit 0dc99fd1492d0ed0101011ffb8c287289e2d7e0d
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Mon Feb 28 12:44:44 2022 +0200
gnu: dtc: Don't depend unconditionally on valgrind.
* gnu/packages/bootloaders.scm (dtc)[native-inputs]: Only include
valgrind when building on a system which supports valgrind.
---
gnu/packages/bootloaders.scm | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/bootloaders.scm b/gnu/packages/bootloaders.scm
index 54e47059ee..3cd45b3806 100644
--- a/gnu/packages/bootloaders.scm
+++ b/gnu/packages/bootloaders.scm
@@ -6,7 +6,7 @@
;;; Copyright © 2016, 2017, 2018, 2021 Marius Bakke <marius@gnu.org>
;;; Copyright © 2016, 2017 Danny Milosavljevic <dannym@scratchpost.org>
;;; Copyright © 2016, 2017 David Craven <david@craven.ch>
-;;; Copyright © 2017, 2018, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2017, 2018, 2020, 2021, 2022 Efraim Flashner
<efraim@flashner.co.il>
;;; Copyright © 2018, 2019, 2020, 2021 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 nee <nee@cock.li>
;;; Copyright © 2019 Mathieu Othacehe <m.othacehe@gmail.com>
@@ -454,12 +454,15 @@ menu to select one of the installed operating systems.")
"0wrl43rvd8nnm1v1wyfdr17vk8q7ymib62vli6da8n9ni4lwbkk5"))))
(build-system gnu-build-system)
(native-inputs
- (list bison
- flex
- libyaml
- pkg-config
- swig
- valgrind))
+ (append
+ (list bison
+ flex
+ libyaml
+ pkg-config
+ swig)
+ (if (member (%current-system) (package-supported-systems valgrind))
+ (list valgrind)
+ '())))
(inputs
(list python))
(arguments
- branch master updated (da0b05d79a -> 0dc99fd149), guix-commits, 2022/02/28
- 01/08: gnu: Add rust-smallbitvec-2., guix-commits, 2022/02/28
- 02/08: gnu: Add rust-html-escape., guix-commits, 2022/02/28
- 03/08: gnu: Add rust-spin-0.7., guix-commits, 2022/02/28
- 06/08: gnu: rust-emacs-macros: Update to 0.17., guix-commits, 2022/02/28
- 07/08: gnu: rust-emacs: Update to 0.18., guix-commits, 2022/02/28
- 04/08: gnu: rust-spin-0.9: Don't skip build., guix-commits, 2022/02/28
- 05/08: gnu: rust-emacs-module: Update to 0.18., guix-commits, 2022/02/28
- 08/08: gnu: dtc: Don't depend unconditionally on valgrind.,
guix-commits <=