efraim pushed a commit to branch master
in repository guix.

commit fba0fea4a68ae5905a0fdb10f0ec8134fb65d58f
Author: Efraim Flashner <[email protected]>
AuthorDate: Wed Apr 1 10:22:33 2020 +0300

    gnu: toot: Adjust custom phases.
    
    * gnu/packages/mastodon.scm (toot)[arguments]: 'check is already run
    after 'install so replace 'check rather than re-inserting it.
---
 gnu/packages/mastodon.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/gnu/packages/mastodon.scm b/gnu/packages/mastodon.scm
index 1814330..9f86ee5 100644
--- a/gnu/packages/mastodon.scm
+++ b/gnu/packages/mastodon.scm
@@ -40,8 +40,7 @@
     (arguments
      '(#:phases
        (modify-phases %standard-phases
-         (delete 'check)
-         (add-after 'install 'check
+         (replace 'check
            (lambda* (#:key inputs outputs #:allow-other-keys)
              (add-installed-pythonpath inputs outputs)
              (invoke "py.test"))))))

Reply via email to