summary refs log tree commit diff
path: root/gnu/packages/finance.scm
diff options
context:
space:
mode:
authorArun Isaac <arunisaac@systemreboot.net>2018-07-04 18:13:31 +0530
committerArun Isaac <arunisaac@systemreboot.net>2018-07-04 18:13:31 +0530
commit1f3c4ba8f3465cc0f27ba6e0a32cc438a7232b43 (patch)
tree0e6c73dcb8822f162d5f9445dc7929322940a783 /gnu/packages/finance.scm
parent948e888d3a35d88fe7a972a21f47f60ec5e4279b (diff)
downloadguix-1f3c4ba8f3465cc0f27ba6e0a32cc438a7232b43.tar.gz
gnu: ledger: Use invoke and fix #t return.
* gnu/packages/finance.scm (ledger)[arguments]: Replace system* with invoke in
build-doc phase. Remove #t return from relocate-elisp phase since
emacs-generate-autoloads already returns #t.
Diffstat (limited to 'gnu/packages/finance.scm')
-rw-r--r--gnu/packages/finance.scm5
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 3eab2fa14d..a4a9d1b24c 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -171,7 +171,7 @@ line client and a client based on Qt.")
                (install-file "test/input/demo.ledger" examples))
              #t))
          (add-after 'build 'build-doc
-           (lambda _ (zero? (system* "make" "doc"))))
+           (lambda _ (invoke "make" "doc")))
          (add-before 'check 'check-setup
            ;; One test fails if it can't set the timezone.
            (lambda* (#:key inputs #:allow-other-keys)
@@ -189,8 +189,7 @@ line client and a client based on Qt.")
                     (dest-dir (string-append guix-dir "/ledger-mode")))
                (mkdir-p guix-dir)
                (rename-file orig-dir dest-dir)
-               (emacs-generate-autoloads ,name dest-dir))
-             #t)))))
+               (emacs-generate-autoloads ,name dest-dir)))))))
     (inputs
      `(("boost" ,boost)
        ("gmp" ,gmp)