Archived
1
0
Fork 0

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 @@
(arguments (arguments
'(#:phases '(#:phases
(modify-phases %standard-phases (modify-phases %standard-phases
(delete 'check) (replace 'check
(add-after 'install 'check
(lambda* (#:key inputs outputs #:allow-other-keys) (lambda* (#:key inputs outputs #:allow-other-keys)
(add-installed-pythonpath inputs outputs) (add-installed-pythonpath inputs outputs)
(invoke "py.test")))))) (invoke "py.test"))))))