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.
This commit is contained in:
Arun Isaac 2018-07-04 18:13:31 +05:30
parent 948e888d3a
commit 1f3c4ba8f3
No known key found for this signature in database
GPG key ID: 2E25EE8B61802BB3

View file

@ -171,7 +171,7 @@ (define-public ledger
(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 @@ (define-public ledger
(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)