gnu: emacs-eimp: Improve style.

* gnu/packages/emacs-xyz.scm (emacs-eimp):
  [arguments]<phases>: Improve 'configure phase style.

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

View file

@ -23357,13 +23357,11 @@ whitespace in the buffer was initially clean.")
(modify-phases %standard-phases
(add-after 'unpack 'configure
(lambda* (#:key inputs #:allow-other-keys)
(let ((imagemagick (assoc-ref inputs "imagemagick")))
;; eimp.el is read-only in git.
(chmod "eimp.el" #o644)
(emacs-substitute-variables "eimp.el"
("eimp-mogrify-program"
(string-append imagemagick "/bin/mogrify"))))
#t)))))
;; eimp.el is read-only in git.
(chmod "eimp.el" #o644)
(emacs-substitute-variables "eimp.el"
("eimp-mogrify-program"
(search-input-file inputs "bin/mogrify"))))))))
(inputs
(list imagemagick))
(home-page "https://github.com/nicferrier/eimp")