diff --git a/gnu/packages/gnome.scm b/gnu/packages/gnome.scm index f8665c215c..27eb065043 100644 --- a/gnu/packages/gnome.scm +++ b/gnu/packages/gnome.scm @@ -11,7 +11,7 @@ ;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020 Ricardo Wurmus ;;; Copyright © 2015, 2016, 2017, 2018, 2021 Mark H Weaver ;;; Copyright © 2015 David Thompson -;;; Copyright © 2015, 2016, 2017, 2018, 2019, 2020, 2021 Efraim Flashner +;;; Copyright © 2015-2022 Efraim Flashner ;;; Copyright © 2016, 2017, 2018 Rene Saavedra ;;; Copyright © 2016 Jochem Raat ;;; Copyright © 2016, 2017, 2019 Kei Kebreau @@ -11937,7 +11937,10 @@ It uses pandoc as back-end for parsing Markdown.") (arguments `(#:configure-flags (list "-Dsystemd=false" - "-Dlogind-provider=elogind") + "-Dlogind-provider=elogind" + ,@(if (not (package? (this-package-native-input "valgrind"))) + `("-Dtests=false") ; Some tests still run. + `())) #:phases (modify-phases %standard-phases (add-after 'install 'wrap @@ -11957,7 +11960,11 @@ It uses pandoc as back-end for parsing Markdown.") python-wrap) #t)))))) (native-inputs - (list check pkg-config swig valgrind)) + (append + (list check pkg-config swig) + (if (member (%current-system) (package-supported-systems valgrind)) + (list valgrind) + '()))) (inputs `(("glib" ,glib) ("json-glib" ,json-glib)