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
parent
6d45f24dee
commit
9c97342939
|
@ -3632,9 +3632,10 @@ for dealing with different structured file formats.")
|
||||||
(replace 'build
|
(replace 'build
|
||||||
(assoc-ref gnu:%standard-phases 'build))
|
(assoc-ref gnu:%standard-phases 'build))
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda* args
|
(lambda* (#:key tests? #:allow-other-keys #:rest args)
|
||||||
((assoc-ref gnu:%standard-phases 'check)
|
(when tests?
|
||||||
#:test-target "check")))
|
((assoc-ref gnu:%standard-phases 'check)
|
||||||
|
#:test-target "check"))))
|
||||||
(replace 'install
|
(replace 'install
|
||||||
(assoc-ref gnu:%standard-phases 'install)))))
|
(assoc-ref gnu:%standard-phases 'install)))))
|
||||||
(native-inputs (list `(,glib "bin") gobject-introspection pkg-config vala))
|
(native-inputs (list `(,glib "bin") gobject-introspection pkg-config vala))
|
||||||
|
|
Reference in New Issue