[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/04: gnu: beets: Return #t from phases.

From: Tobias Geerinckx-Rice
Subject: 03/04: gnu: beets: Return #t from phases.
Date: Mon, 4 Jun 2018 21:30:51 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 46fce96881e90413511aa4de966f3edefbb5e310
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Jun 5 03:13:23 2018 +0200

    gnu: beets: Return #t from phases.
    * gnu/packages/music.scm (beets)[arguments]: Substitute INVOKE for
    SYSTEM* and return #t from all phases.
 gnu/packages/music.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 7ae0d9a..9977802 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.")
        (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"))))))
      `(("python-beautifulsoup4" ,python-beautifulsoup4)
        ("python-flask" ,python-flask)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]