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:
Nicolas Goaziou 2022-02-18 21:32:26 +01:00
parent b618569d6a
commit 587d10be06
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D

View File

@ -9027,9 +9027,10 @@ after buffer changes.")
(file-name (git-file-name name version)))) (file-name (git-file-name name version))))
(build-system emacs-build-system) (build-system emacs-build-system)
(arguments (arguments
`(#:tests? #t (list
#:tests? #t
#:phases #:phases
(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-realgud:run-process-void-error (add-after 'unpack 'fix-realgud:run-process-void-error
;; See: https://github.com/realgud/realgud/issues/269. ;; See: https://github.com/realgud/realgud/issues/269.
(lambda _ (lambda _
@ -9038,28 +9039,24 @@ after buffer changes.")
(("^\\(require 'load-relative\\).*" anchor) (("^\\(require 'load-relative\\).*" anchor)
(string-append anchor (string-append anchor
"(require-relative-list \ "(require-relative-list \
'(\"../../common/run\") \"realgud:\")\n"))) '(\"../../common/run\") \"realgud:\")\n")))))
#t))
(add-after 'expand-load-path 'fix-autogen-script (add-after 'expand-load-path 'fix-autogen-script
(lambda _ (lambda _
(substitute* "autogen.sh" (substitute* "autogen.sh"
(("./configure") "sh configure")) (("./configure") "sh configure"))))
#t))
(add-after 'fix-autogen-script 'autogen (add-after 'fix-autogen-script 'autogen
(lambda _ (lambda _
(setenv "CONFIG_SHELL" "sh") (setenv "CONFIG_SHELL" "sh")
(invoke "sh" "autogen.sh"))) (invoke "sh" "autogen.sh")))
(add-after 'fix-autogen-script 'set-home (add-after 'fix-autogen-script 'set-home
(lambda _ (lambda _
(setenv "HOME" (getenv "TMPDIR")) (setenv "HOME" (getenv "TMPDIR"))))
#t))
(add-before 'patch-el-files 'remove-realgud-pkg.el (add-before 'patch-el-files 'remove-realgud-pkg.el
(lambda _ (lambda _
;; FIXME: `patch-el-files' crashes on this file with error: ;; FIXME: `patch-el-files' crashes on this file with error:
;; unable to locate "bashdb". ;; unable to locate "bashdb".
(delete-file "./test/test-regexp-bashdb.el") (delete-file "./test/test-regexp-bashdb.el"))))
#t))) #:include #~(cons* ".*\\.el$" %default-include)))
#:include (cons* ".*\\.el$" %default-include)))
(native-inputs (native-inputs
(list autoconf automake emacs-test-simple)) (list autoconf automake emacs-test-simple))
(propagated-inputs (propagated-inputs