me
/
guix
Archived
1
0
Fork 0

gnu: emacs-eldev: Update package style.

* gnu/packages/emacs-xyz.scm (emacs-eldev)[arguments]: Use G-expressions.
master
Nicolas Goaziou 2022-07-11 11:46:20 +02:00
parent 1cea926ff4
commit 7b151edb0d
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 28 additions and 28 deletions

View File

@ -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)