me
/
guix
Archived
1
0
Fork 0

gnu: librsvg: Honor the #:tests flag.

* gnu/packages/gnome.scm (librsvg)[arguments]: Adjust the custom 'check
phase to honor the #:tests? flag.

Change-Id: I53c2fac1c5625d9b73adf5929e148eb4ecf18b89
Efraim Flashner 2023-11-20 09:53:35 +02:00
parent 6d45f24dee
commit 9c97342939
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 4 additions and 3 deletions

View File

@ -3632,9 +3632,10 @@ for dealing with different structured file formats.")
(replace 'build
(assoc-ref gnu:%standard-phases 'build))
(replace 'check
(lambda* args
((assoc-ref gnu:%standard-phases 'check)
#:test-target "check")))
(lambda* (#:key tests? #:allow-other-keys #:rest args)
(when tests?
((assoc-ref gnu:%standard-phases 'check)
#:test-target "check"))))
(replace 'install
(assoc-ref gnu:%standard-phases 'install)))))
(native-inputs (list `(,glib "bin") gobject-introspection pkg-config vala))