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.
This commit is contained in:
Efraim Flashner 2020-04-01 10:22:33 +03:00
parent b7417f3d54
commit fba0fea4a6
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -40,8 +40,7 @@ (define-public toot
(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"))))))