gnu: emacs-eldev: Update package style.
* gnu/packages/emacs-xyz.scm (emacs-eldev)[arguments]: Use G-expressions.master
parent
1cea926ff4
commit
7b151edb0d
|
@ -18645,10 +18645,11 @@ according to a parsing expression grammar.")
|
|||
(base32 "1dgbwaar8l8nl79mlzf5g1n49f1j9yj4772yfmim9vv8ppxnzbqk"))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:tests? #t
|
||||
#:test-command '("./bin/eldev" "-p" "-dtTC" "test")
|
||||
(list
|
||||
#:tests? #t
|
||||
#:test-command #~(list "./bin/eldev" "-p" "-dtTC" "test")
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'prepare-for-tests
|
||||
(lambda _
|
||||
(setenv "ELDEV_LOCAL" (getcwd))
|
||||
|
@ -18660,10 +18661,9 @@ according to a parsing expression grammar.")
|
|||
(add-after 'install 'install-eldev-executable
|
||||
;; This constructs the eldev executable from templates and
|
||||
;; installs it in the specified directory.
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(bin (string-append out "/bin"))
|
||||
(site-lisp (elpa-directory out)))
|
||||
(lambda _
|
||||
(let ((bin (string-append #$output "/bin"))
|
||||
(site-lisp (elpa-directory #$output)))
|
||||
(mkdir-p bin)
|
||||
(setenv "HOME" (getcwd))
|
||||
(invoke "./install.sh" bin)
|
||||
|
|
Reference in New Issue