mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-13 14:40:21 -05:00
gnu: bcachefs-tools: Only build with valgrind on supported systems.
* gnu/packages/file-systems.scm (bcachefs-tools)[native-inputs]: Only add valgrind on systems where valgrind is supported.
This commit is contained in:
parent
0d6d7b3efc
commit
f58ba4031f
1 changed files with 11 additions and 8 deletions
|
@ -3,7 +3,7 @@
|
|||
;;; Copyright © 2017 Gábor Boskovits <boskovits@gmail.com>
|
||||
;;; Copyright © 2017, 2018, 2021 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2018 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2019, 2020, 2021 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2019-2022 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2020 Raghav Gururajan <raghavgururajan@disroot.org>
|
||||
;;; Copyright © 2020 Morgan Smith <Morgan.J.Smith@outlook.com>
|
||||
;;; Copyright © 2021 raid5atemyhomework <raid5atemyhomework@protonmail.com>
|
||||
|
@ -447,13 +447,16 @@ (define-public bcachefs-tools
|
|||
(string-append #$util-linux "/bin"))))))))
|
||||
#:tests? #f)) ; XXX 6 valgrind tests fail
|
||||
(native-inputs
|
||||
(list pkg-config
|
||||
;; For tests.
|
||||
python-pytest
|
||||
valgrind
|
||||
;; For generating documentation with rst2man.
|
||||
python
|
||||
python-docutils))
|
||||
(append
|
||||
(list pkg-config
|
||||
;; For tests.
|
||||
python-pytest)
|
||||
(if (member (%current-system) (package-supported-systems valgrind))
|
||||
(list valgrind)
|
||||
'())
|
||||
;; For generating documentation with rst2man.
|
||||
(list python
|
||||
python-docutils)))
|
||||
(inputs
|
||||
(list eudev
|
||||
keyutils
|
||||
|
|
Loading…
Reference in a new issue