me
/
guix
Archived
1
0
Fork 0

gnu: fossil: Update phase style.

* gnu/packages/version-control.scm (fossil)[arguments]: Substitute
INVOKE for SYSTEM* and end phases with #t.
master
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 #:phases (modify-phases %standard-phases
(replace 'configure (replace 'configure
(lambda* (#:key outputs (configure-flags '()) (lambda* (#:key outputs (configure-flags '())
#:allow-other-keys) #:allow-other-keys)
;; The 'configure' script is not an autoconf script and ;; The 'configure' script is not an autoconf script and
;; chokes on unrecognized options. ;; chokes on unrecognized options.
(zero? (apply system* (apply invoke
"./configure" "./configure"
(string-append "--prefix=" (string-append "--prefix="
(assoc-ref outputs "out")) (assoc-ref outputs "out"))
configure-flags)))) configure-flags)
#t))
(add-before 'check 'test-setup (add-before 'check 'test-setup
(lambda _ (lambda _
(setenv "USER" "guix") (setenv "USER" "guix")