mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: emacs-realgud: Improve package style.
* gnu/packages/emacs-xyz.scm (emacs-realgud)[arguments]: Use G-expressions. Remove trailing #T.
This commit is contained in:
parent
b618569d6a
commit
587d10be06
1 changed files with 30 additions and 33 deletions
|
@ -9027,9 +9027,10 @@ (define-public emacs-realgud
|
|||
(file-name (git-file-name name version))))
|
||||
(build-system emacs-build-system)
|
||||
(arguments
|
||||
`(#:tests? #t
|
||||
(list
|
||||
#:tests? #t
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-after 'unpack 'fix-realgud:run-process-void-error
|
||||
;; See: https://github.com/realgud/realgud/issues/269.
|
||||
(lambda _
|
||||
|
@ -9038,28 +9039,24 @@ (define-public emacs-realgud
|
|||
(("^\\(require 'load-relative\\).*" anchor)
|
||||
(string-append anchor
|
||||
"(require-relative-list \
|
||||
'(\"../../common/run\") \"realgud:\")\n")))
|
||||
#t))
|
||||
'(\"../../common/run\") \"realgud:\")\n")))))
|
||||
(add-after 'expand-load-path 'fix-autogen-script
|
||||
(lambda _
|
||||
(substitute* "autogen.sh"
|
||||
(("./configure") "sh configure"))
|
||||
#t))
|
||||
(("./configure") "sh configure"))))
|
||||
(add-after 'fix-autogen-script 'autogen
|
||||
(lambda _
|
||||
(setenv "CONFIG_SHELL" "sh")
|
||||
(invoke "sh" "autogen.sh")))
|
||||
(add-after 'fix-autogen-script 'set-home
|
||||
(lambda _
|
||||
(setenv "HOME" (getenv "TMPDIR"))
|
||||
#t))
|
||||
(setenv "HOME" (getenv "TMPDIR"))))
|
||||
(add-before 'patch-el-files 'remove-realgud-pkg.el
|
||||
(lambda _
|
||||
;; FIXME: `patch-el-files' crashes on this file with error:
|
||||
;; unable to locate "bashdb".
|
||||
(delete-file "./test/test-regexp-bashdb.el")
|
||||
#t)))
|
||||
#:include (cons* ".*\\.el$" %default-include)))
|
||||
(delete-file "./test/test-regexp-bashdb.el"))))
|
||||
#:include #~(cons* ".*\\.el$" %default-include)))
|
||||
(native-inputs
|
||||
(list autoconf automake emacs-test-simple))
|
||||
(propagated-inputs
|
||||
|
|
Loading…
Reference in a new issue