me
/
guix
Archived
1
0
Fork 0

gnu: tlpui: Honor TESTS?.

* gnu/packages/linux.scm (tlpui)[arguments]<#:phases>: Honor TESTS? in CHECK
phase.
master
Nicolas Goaziou 2022-07-04 15:08:36 +02:00
parent 56892af033
commit 16c2372fe8
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 3 additions and 2 deletions

View File

@ -7178,8 +7178,9 @@ every time the power supply source is changed.")
;; 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"))