~ruther/guix-local

3d6040c13522122df496c862c0ca2ddf8b28b71c — Efraim Flashner 4 years ago ac4c0b1
gnu: toot: Honor the #:tests? flag.

* gnu/packages/mastodon.scm (toot)[arguments]: Adjust custom 'check
phase to honor the #:tests? flag.
1 files changed, 4 insertions(+), 3 deletions(-)

M gnu/packages/mastodon.scm
M gnu/packages/mastodon.scm => gnu/packages/mastodon.scm +4 -3
@@ 52,9 52,10 @@
     '(#:phases
       (modify-phases %standard-phases
         (replace 'check
           (lambda* (#:key inputs outputs #:allow-other-keys)
             (add-installed-pythonpath inputs outputs)
             (invoke "py.test"))))))
           (lambda* (#:key tests? inputs outputs #:allow-other-keys)
             (when tests?
               (add-installed-pythonpath inputs outputs)
               (invoke "py.test")))))))
    (native-inputs
     `(("python-pytest" ,python-pytest)))
    (inputs