aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2018-06-05 03:13:23 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2018-06-05 03:19:26 +0200
commit46fce96881e90413511aa4de966f3edefbb5e310 (patch)
tree7b7a729319f0eba7c4bd9de00703cf46320c8685
parent123f86d8989cc787cddeb2ffd3c3640e29d56c9d (diff)
downloadpatches-46fce96881e90413511aa4de966f3edefbb5e310.tar
patches-46fce96881e90413511aa4de966f3edefbb5e310.tar.gz
gnu: beets: Return #t from phases.
* gnu/packages/music.scm (beets)[arguments]: Substitute INVOKE for SYSTEM* and return #t from all phases.
-rw-r--r--gnu/packages/music.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 7ae0d9a36f..99778024ba 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2577,9 +2577,12 @@ Songs can be searched by artist, name or even by a part of the song text.")
`(#:phases
(modify-phases %standard-phases
(add-after 'unpack 'set-HOME
- (lambda _ (setenv "HOME" (string-append (getcwd) "/tmp"))))
+ (lambda _
+ (setenv "HOME" (string-append (getcwd) "/tmp"))
+ #t))
(replace 'check
- (lambda _ (zero? (system* "nosetests" "-v")))))))
+ (lambda _
+ (invoke "nosetests" "-v"))))))
(native-inputs
`(("python-beautifulsoup4" ,python-beautifulsoup4)
("python-flask" ,python-flask)