gnu: emacs-irony-mode-server: Improve style.

* gnu/packages/emacs-xyz.scm (emacs-irony-mode-server):
  [arguments]<phases>: Use gexps.

Signed-off-by: Ian Eure <ian@retrospec.tv>
This commit is contained in:
Nicolas Graves 2025-05-18 10:16:22 +02:00 committed by Liliana Marie Prikler
parent 769e7f76cd
commit 278b1d0818
No known key found for this signature in database
GPG key ID: 442A84B8C70E2F87

View file

@ -11269,14 +11269,13 @@ described on the homepage.")
(inherit emacs-irony-mode)
(name "emacs-irony-mode-server")
(arguments
`(#:phases
(modify-phases %standard-phases
(replace 'configure
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out")))
(invoke "cmake"
"server"
(string-append "-DCMAKE_INSTALL_PREFIX=" out))))))))
(list
#:phases
#~(modify-phases %standard-phases
(replace 'configure
(lambda _
(invoke "cmake" "server"
(string-append "-DCMAKE_INSTALL_PREFIX=" #$output)))))))
(inputs
(list clang))
(build-system cmake-build-system)