From 16c2372fe8c04ad652101b60440f7bd76e51c0f9 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 4 Jul 2022 15:08:36 +0200 Subject: [PATCH] gnu: tlpui: Honor TESTS?. * gnu/packages/linux.scm (tlpui)[arguments]<#:phases>: Honor TESTS? in CHECK phase. --- gnu/packages/linux.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index 04684b05df..5e72040927 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -7178,8 +7178,9 @@ (define-public tlpui ;; configuration from /etc/tlp.conf or /etc/default/tlp". (delete 'sanity-check) (replace 'check - (lambda _ - (invoke "python" "-m" "discover"))) + (lambda* (#:key tests? #:allow-other-keys) + (when tests? + (invoke "python" "-m" "discover")))) (add-after 'install 'wrap-gi-python (lambda* (#:key outputs #:allow-other-keys) (let ((out (assoc-ref outputs "out"))