mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-19 05:57:04 +01:00
gnu: bigloo: Use 'modify-phases' syntax.
* gnu/packages/scheme.scm (bigloo)[arguments]: Use 'modify-phases' syntax.
This commit is contained in:
parent
04014de6f5
commit
fb685df8f8
1 changed files with 46 additions and 47 deletions
|
@ -205,8 +205,9 @@ (define-public bigloo
|
|||
(build-system gnu-build-system)
|
||||
(arguments
|
||||
`(#:test-target "test"
|
||||
#:phases (alist-replace
|
||||
'configure
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(replace 'configure
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
|
||||
(substitute* "configure"
|
||||
|
@ -247,16 +248,14 @@ (define-public bigloo
|
|||
(string-append "--rm=" (which "rm"))
|
||||
(string-append "--ldflags=-Wl,-rpath="
|
||||
(assoc-ref outputs "out")
|
||||
"/lib/bigloo/" ,version)))))
|
||||
(alist-cons-after
|
||||
'install 'install-emacs-modes
|
||||
"/lib/bigloo/" ,version))))))
|
||||
(add-after 'install 'install-emacs-modes
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(dir (string-append out "/share/emacs/site-lisp")))
|
||||
(zero? (system* "make" "-C" "bmacs" "all" "install"
|
||||
(string-append "EMACSBRAND=emacs24")
|
||||
(string-append "EMACSDIR=" dir)))))
|
||||
%standard-phases))))
|
||||
(string-append "EMACSDIR=" dir)))))))))
|
||||
(inputs
|
||||
`(("emacs" ,emacs) ;UDE needs the X version of Emacs
|
||||
|
||||
|
|
Loading…
Reference in a new issue