summary refs log tree commit diff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2019-01-26 22:22:30 +0100
committerRicardo Wurmus <rekado@elephly.net>2019-01-26 22:22:30 +0100
commite5855e6f6bcccdeb49c44b10610458a1a72b888d (patch)
tree5402e8099f5e660f9c9558c158f4dbe5b0a64bba
parentd59a8ac6296054fe22b87ae7ade14ea105f3f312 (diff)
downloadguix-e5855e6f6bcccdeb49c44b10610458a1a72b888d.tar.gz
gnu: guile-ncurses: Unconditionally return #T from build phases.
* gnu/packages/guile.scm (guile-ncurses)[arguments]: Use INVOKE.
-rw-r--r--gnu/packages/guile.scm24
1 files changed, 12 insertions, 12 deletions
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index 98221a83eb..b9580b0d7a 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -674,18 +674,18 @@ many readers as needed).")
        (modify-phases %standard-phases
          (add-before 'build 'fix-libguile-ncurses-file-name
            (lambda* (#:key outputs #:allow-other-keys)
-             (and (zero? (system* "make" "install"
-                                  "-C" "src/ncurses"
-                                  "-j" (number->string
-                                        (parallel-job-count))))
-                  (let* ((out   (assoc-ref outputs "out"))
-                         (dir   "src/ncurses")
-                         (files (find-files dir ".scm")))
-                    (substitute* files
-                      (("\"libguile-ncurses\"")
-                       (format #f "\"~a/lib/guile/2.2/libguile-ncurses\""
-                               out)))
-                    #t)))))))
+             (invoke "make" "install"
+                     "-C" "src/ncurses"
+                     "-j" (number->string
+                           (parallel-job-count)))
+             (let* ((out   (assoc-ref outputs "out"))
+                    (dir   "src/ncurses")
+                    (files (find-files dir ".scm")))
+               (substitute* files
+                 (("\"libguile-ncurses\"")
+                  (format #f "\"~a/lib/guile/2.2/libguile-ncurses\""
+                          out)))
+               #t))))))
     (home-page "https://www.gnu.org/software/guile-ncurses/")
     (synopsis "Guile bindings to ncurses")
     (description