1
Fork 0
mirror of https://https.git.savannah.gnu.org/git/guix.git/ synced 2025-07-15 03:20:43 +02:00

gnu: emacs-edbi: Use search-input-file.

* gnu/packages/emacs-xyz.scm (emacs-edbi): Improve style.
  [arguments]<phases>: Improve style of phase 'patch-path.

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

View file

@ -33466,9 +33466,9 @@ asynchronous communications, the RPC response is fairly good.")
(modify-phases %standard-phases
(add-after 'unpack 'patch-path
(lambda* (#:key inputs #:allow-other-keys)
(let ((perl (assoc-ref inputs "perl")))
(let ((perl (search-input-file inputs "bin/perl")))
(substitute* "edbi.el"
(("\"perl\"") (string-append "\"" perl "/bin/perl\""))))))
(("\"perl\"") (string-append "\"" perl "\""))))))
(add-after 'install 'wrap-edbi-bridge
(lambda* (#:key inputs outputs #:allow-other-keys)
(let* ((out (assoc-ref outputs "out"))