gnu: cowsay: Run tests after install.

* gnu/packages/games.scm (cowsay)[arguments]: Delete 'check phase, add
custom 'check phase after install.
master
Efraim Flashner 2017-10-23 11:44:04 +03:00
parent 3bf94bc8bc
commit 1ee3079d78
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351
1 changed files with 2 additions and 1 deletions

View File

@ -267,7 +267,8 @@ the others like yourself, that want what you have.")
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* "sh" "install.sh"
(assoc-ref outputs "out")))))
(replace 'check
(delete 'check)
(add-after 'install 'check
(lambda* (#:key outputs #:allow-other-keys)
(zero? (system* (string-append (assoc-ref outputs "out")
"/bin/cowsay")