[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch master updated: gnu: emacs-deadgrep: Add missing input.
From: |
guix-commits |
Subject: |
branch master updated: gnu: emacs-deadgrep: Add missing input. |
Date: |
Thu, 08 Jul 2021 03:33:13 -0400 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch master
in repository guix.
The following commit(s) were added to refs/heads/master by this push:
new 08f03de gnu: emacs-deadgrep: Add missing input.
08f03de is described below
commit 08f03de158490799e1cbda3cf364ccb848951537
Author: Matthew James Kraai <kraai@ftbfs.org>
AuthorDate: Wed Jul 7 16:56:24 2021 -0700
gnu: emacs-deadgrep: Add missing input.
* gnu/packages/emacs-xyz.scm (emacs-deadgrep)[inputs]: Add ripgrep.
[arguments]: Add configure phase to set deadgrep-executable to absolute
path.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/emacs-xyz.scm | 14 ++++++++++++++
1 file changed, 14 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f5f989f..530eb90 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -20802,10 +20802,24 @@ accept and reject GitHub pull requests.")
(base32
"1vjhrq02l8gvdn2haygzq7277hnhjchs9xrfpcnh76gqip200gx4"))))
(build-system emacs-build-system)
+ (inputs `(("ripgrep" ,ripgrep)))
(propagated-inputs
`(("emacs-dash" ,emacs-dash)
("emacs-s" ,emacs-s)
("emacs-spinner" ,emacs-spinner)))
+ (arguments
+ `(#:phases
+ (modify-phases %standard-phases
+ (add-after 'unpack 'configure
+ (lambda* (#:key inputs #:allow-other-keys)
+ (let ((ripgrep (assoc-ref inputs "ripgrep")))
+ ;; .el is read-only in git.
+ (make-file-writable "deadgrep.el")
+ ;; Specify the absolute file names of rg so that everything
+ ;; works out-of-the-box.
+ (emacs-substitute-variables "deadgrep.el"
+ ("deadgrep-executable"
+ (string-append ripgrep "/bin/rg")))))))))
(home-page "https://github.com/Wilfred/deadgrep")
(synopsis "Frontend for @code{ripgrep}")
(description "This package provides an Emacs interface for performing
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch master updated: gnu: emacs-deadgrep: Add missing input.,
guix-commits <=