guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: jq: Only build with valgrind on supported systems.


From: guix-commits
Subject: 02/02: gnu: jq: Only build with valgrind on supported systems.
Date: Sun, 10 Apr 2022 13:51:38 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 72abf9b9b82d2f5f34b7d22b7aae6f2398336a93
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Sun Apr 10 20:48:10 2022 +0300

    gnu: jq: Only build with valgrind on supported systems.
    
    * gnu/packages/web.scm (jq)[native-inputs]: Only include valgrind on
    systems which it supports.
---
 gnu/packages/web.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 134cac1c9a..1587734ee6 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4886,10 +4886,14 @@ It uses the uwsgi protocol for all the 
networking/interprocess communications.")
     (inputs
      (list oniguruma))
     (native-inputs
-     (list ;; TODO fix gems to generate documentation
-           ;;("ruby" ,ruby)
-           ;;("bundler" ,bundler)
-           valgrind))
+     (append
+       ;; TODO: fix gems to generate documentation
+       ;(list ruby bundler)
+       '()
+       (if (member (%current-system)
+                   (package-supported-systems valgrind))
+         (list valgrind)
+         '())))
     (build-system gnu-build-system)
     (home-page "https://stedolan.github.io/jq/";)
     (synopsis "Command-line JSON processor")



reply via email to

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