gnu: cmus: Use INVOKE.
* gnu/packages/music.scm (cmus)[arguments]: Use INVOKE and return #T unconditionally.
This commit is contained in:
parent
9c30cba431
commit
ec618c2005
1 changed files with 8 additions and 10 deletions
|
@ -322,16 +322,14 @@ playing your music.")
|
||||||
`(#:tests? #f ; cmus does not include tests
|
`(#:tests? #f ; cmus does not include tests
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
(replace
|
(replace 'configure
|
||||||
'configure
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(let ((out (assoc-ref outputs "out")))
|
||||||
(let ((out (assoc-ref outputs "out")))
|
;; It's an idiosyncratic configure script that doesn't
|
||||||
|
;; understand --prefix=..; it wants prefix=.. instead.
|
||||||
;; It's an idiosyncratic configure script that doesn't
|
(invoke "./configure"
|
||||||
;; understand --prefix=..; it wants prefix=.. instead.
|
(string-append "prefix=" out))
|
||||||
(zero?
|
#t))))))
|
||||||
(system* "./configure"
|
|
||||||
(string-append "prefix=" out)))))))))
|
|
||||||
;; TODO: cmus optionally supports the following formats, which haven't yet
|
;; TODO: cmus optionally supports the following formats, which haven't yet
|
||||||
;; been added to Guix:
|
;; been added to Guix:
|
||||||
;;
|
;;
|
||||||
|
|
Reference in a new issue