gnu: fossil: Update phase style.

* gnu/packages/version-control.scm (fossil)[arguments]: Substitute
INVOKE for SYSTEM* and end phases with #t.
This commit is contained in:
Tobias Geerinckx-Rice 2018-03-02 00:22:09 +01:00
parent f136c8f23d
commit 5c0f68e844
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 7 additions and 6 deletions

View File

@ -1643,14 +1643,15 @@ repository\" with git-annex.")
#:phases (modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs (configure-flags '())
#:allow-other-keys)
#:allow-other-keys)
;; The 'configure' script is not an autoconf script and
;; chokes on unrecognized options.
(zero? (apply system*
"./configure"
(string-append "--prefix="
(assoc-ref outputs "out"))
configure-flags))))
(apply invoke
"./configure"
(string-append "--prefix="
(assoc-ref outputs "out"))
configure-flags)
#t))
(add-before 'check 'test-setup
(lambda _
(setenv "USER" "guix")