gnu: toot: Adjust custom phases.
authorEfraim Flashner <efraim@flashner.co.il>
Wed, 1 Apr 2020 07:22:33 +0000 (10:22 +0300)
committerEfraim Flashner <efraim@flashner.co.il>
Wed, 1 Apr 2020 07:22:33 +0000 (10:22 +0300)
* gnu/packages/mastodon.scm (toot)[arguments]: 'check is already run
after 'install so replace 'check rather than re-inserting it.

gnu/packages/mastodon.scm

index 1814330..9f86ee5 100644 (file)
@@ -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"))))))